[FFmpeg-user] Mixing audio and video files of different length?

Mike Scheutzow mike.scheutzow at alcatel-lucent.com
Thu Jun 28 14:51:24 CEST 2012

stpn wrote:
> I am mixing audio and video files with this command..
> ffmpeg  -i sound.ogg  -i nosound.mov  -map 1:0 -map 0:0   -vcodec copy
> -acodec libmp3lame -ar 44100 -ab 44100 fullsound.mov
> but what if sound.ogg is 20 seconds shorter then nosound.mov and I want the
> fullsound.mov to be the length of sound.ogg?

Command line documentation is here: http://www.ffmpeg.org/ffmpeg.html

Search for the word "shortest"

Mike Scheutzow

More information about the ffmpeg-user mailing list