[FFmpeg-user] ideal settings for mp3 + jpeg to video output?

Lou lou at lrcd.com
Wed Oct 23 05:47:56 CEST 2013


On Tue, Oct 22, 2013, at 05:03 PM, Sarah wrote:
> I want to take mp3's and jpg's and output them to a video file, with the
> intention they'll be uploaded to youtube. I'm wondering what the ideal
> settings would be. One stipulation, however, is that I want the mp3
> stream
> to be used without it being reencoded.

Good, since YouTube will re-encode whatever you feed it anyway.

> Thanks for any help :)

ffmpeg -loop 1 -r 2 -i image.jpg -i audio.mp3 -c:v libx264 -crf 18 \
-c:a copy output.mkv

Also see:
http://trac.ffmpeg.org/wiki/EncodeforYouTube
(might be a little outdated but it will give a few more examples)


More information about the ffmpeg-user mailing list