видео кодек
-vcodec libx264
аудио кодек
-acodec aac
битрейт видео
-b:v 5M
битрейт аудио
-b:a 320K
опции кодирования
Re: опции кодирования
I used this answer successfully to create a video out of a GoPro time lapse at 60fps, in hopes that others find it useful:
Код: Выделить всё
ffmpeg -i 'G%*.JPG' -r 60 -vf "scale=1920:ih*1920/iw, crop=1920:1080, yadif=1" -c:v libx264 -preset slow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p output.mkv