[FFmpeg-user] Creating video with single JPG + MP3 file?

Gilles codecomplete at free.fr
Tue Jun 12 23:31:49 CEST 2012


On Tue, 12 Jun 2012 10:02:12 -0800, Lou <lou at lrcd.com> wrote:
>bat guano <batguano999 at hotmail.com> wrote:
>> No, you can do better than that.
>> Example:-
>> ffmpeg -loop 1 -i image.jpg -i audio.mp3 -shortest -c:v libx264 -c:a copy result.mkv
>
>Also of interest when using libx264 for something like this is "-tune stillimage".

Thanks for the infos. I don't necessarily want to use h264, it's just
one of the examples I found through Google. If there's a more
efficient format, I'm interested.



More information about the ffmpeg-user mailing list