[MPlayer-users] how to convert wmv to mpeg2

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Aug 14 10:10:14 CEST 2005

On Sun, Aug 14, 2005 at 09:56:22AM +0000, Krzysiek wrote:
> Hugo Coolens napisa?(a):
> >How can I convert a wmv file which plays correctly with mplayer to a 
> >mpeg2-file?
> >
> mencoder file.wmv -o file.mpg -of mpeg -ovc lavc -oac lavc -lavcopts 
> vcodec=mpeg2video:acodec=ac3:keyint=25:vbitrate=7500 -mpegopts format=mpeg2

You will definitly need to set a framerate with -ofps, since wmv is
variable framerate which MPlayer treats a 1000fps - certainly not what
you want.
Also you will quite often need one of -mc 0, -mc 0.1 or -mc 10

Reimar Döffinger

More information about the MPlayer-users mailing list