[MEncoder-users] mencoder concatenation warps audio out of sync

mencoder at perlmeister.com mencoder at perlmeister.com
Fri Nov 6 22:51:30 CET 2009


On Fri, 6 Nov 2009, Reimar Döffinger wrote:

> Well, it's rather simple, if you play the title.avi with -novideo you
> will realize that the audio is 2.4 seconds long, the video is only 1.7
> seconds, making a difference of 0.7 seconds.  The right fix is to make
> the audio of title.avi the right length

Nice find, thanks! What's the easiest way to create silent audio for the
length of this video? Or, better yet, is there a way with mencoder to
produce a video made out of JPEGs in

     mencoder 'mf://dir/*.jpg' -mf fps=30 -o title.avi \
         -ovc lavc -lavcopts vcodec=mjpeg:vbitrate=1000

that has silent audio of a given encoding (like mp3)?

-- Mike

Mike Schilli


More information about the MEncoder-users mailing list