VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Hey,

    I am working on creating a video for an arm based embedded device which uses a Hantro hardware decoding chip.

    I am having issues with the video stuttering whilst playing due to the slow hardware in the device.

    I am using the following command with FFMPEG:

    ffmpeg -i wildlife.mp4 -c:v libx264 -profile:v baseline -level 3.0 -b:v 1000k -movflags +faststart -pix_fmt yuv420p -vf scale=720x480 -r 24 -codec:a libmp3lame -q:a 6 -ar 22050 -ac 2 output.avi

    Is there anything I can add/ change with this to create an easier to decode file?
    Quote Quote  
  2. Originally Posted by przewalski View Post
    Hey,

    I am working on creating a video for an arm based embedded device which uses a Hantro hardware decoding chip.

    I am having issues with the video stuttering whilst playing due to the slow hardware in the device.

    I am using the following command with FFMPEG:

    ffmpeg -i wildlife.mp4 -c:v libx264 -profile:v baseline -level 3.0 -b:v 1000k -movflags +faststart -pix_fmt yuv420p -vf scale=720x480 -r 24 -codec:a libmp3lame -q:a 6 -ar 22050 -ac 2 output.avi

    Is there anything I can add/ change with this to create an easier to decode file?


    use -tune fastdecode and set vbv options for max rate and buffer. You should always specify maxrate and bufsize for all device targets. I'm not famiilar with the device/chip but you should use values appropriate for the chip. If your goal is 1000kbps, try -x264opts vbv-bufsize=2000:vbv-maxrate=1000

    Your output file is "output.avi", which doesn't make sense to use "AVI" container if you're using -movflags, I'm going to assume it's a typo
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!