[FFmpeg-user] Creating video with single JPG + MP3 file?
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jun 12 17:00:38 CEST 2012
Gilles <codecomplete <at> free.fr> writes:
> Is this still the best way to get the most compact file with a single
> JPG?
>
> ffmpeg -loop_input -i imagine.jpg -i audio.mp3 -y -r 30 -b 2500k
> -acodec ac3 -ab 384k -vcodec mpeg4 result.mp4
Note that current ffmpeg also allows
ffmpeg -i imagine.jpg -i audio.mp3 -vcodec copy -acodec copy out.mp3
I consider this behaviour nearly a bug (try ffmpeg -i video out.mp3)
but atm this should work fine.
Carl Eugen
More information about the ffmpeg-user
mailing list