creating Chrome compatible .mp4 with ffmpeg from commandline creating Chrome compatible .mp4 with ffmpeg from commandline google-chrome google-chrome

creating Chrome compatible .mp4 with ffmpeg from commandline


The solution is to use the parameter "-pix_fmt yuv420p":

ps>ffmpeg.exe -i $input\$file -y -strict experimental -acodec aac -ac 2 -ab 160k -vcodec libx264 -s 640x480 -pix_fmt yuv420p -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 $output\$file.iphone.mp4

ffmpeg version N-46936-g8b6aeb1

Hopes this can help you with getting chrome compatible videos