[MEncoder-users] wmv to avi

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Mar 11 08:49:09 CET 2011


On 10 Mar 2011, at 13:38, Adrian Dusa <dusa.adrian at gmail.com> wrote:
> Dear MEncoder users,
> 
> I am trying to convert a .wmv file to .avi using mencoder. It works as
> expected, but the output file has a time length 10 times shorter than
> the input file.
> 
> To be short, it is about a chess game with various pauses between two
> consecutive moves. The output video file, however, simply shows the
> moves without any pause, skipping the pauses. From a 10 minutes input
> file, the output has only 1 minute.
> 
> I tried a 2 pass encoding, under a Kubuntu Maverick distribution:
> 
> mencoder blah.wmv -ovc xvid -xvidencopts pass=1 -oac copy -noskip -of
> avi -o /dev/null
> mencoder blah.wmv -ovc xvid -xvidencopts pass=2:bitrate=1000 -fps 25
> -of avi -noskip -o blah.avi

Using -fps only on the second pass is going to break badly.
In addition mencoder probably behaves correctly, you just give it the wrong instructions with -fps 25. I would guess you meant to use -ofps 25 instead.


More information about the MEncoder-users mailing list