[MPlayer-users] how to convert wmv to mpeg2

Guillaume POIRIER poirierg at gmail.com
Sun Aug 14 02:06:34 CEST 2005


Hi,

On 8/14/05, The Wanderer <inverseparadox at comcast.net> wrote:
> Hugo Coolens wrote:
> 
> > How can I convert a wmv file which plays correctly with mplayer to a
> >  mpeg2-file?
> 
> Assuming that you also want an MPEG container, as well as an MPEG-2
> codec (and that I haven't forgotten something important):
> 
> mencoder input.wmv -oac <any valid audio codec> -ovc lavc -lavcopts
> vcodec=mpeg2video -of mpeg -o output.mpg
> 
> That's a very basic example, and won't produce very good output, but the
> rest is simply a matter of refining from there - you can quite possibly
> do a better job of it yourself, by experimenting with various options,
> than I would be able to do without a copy of the same source WMV file.

So I strongly advise Hugo to read the docs
http://www4.mplayerhq.hu/DOCS/HTML/en/, especially
http://www4.mplayerhq.hu/DOCS/HTML/en/mencoder.html ,
http://www4.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html ,
http://www4.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-libavcodec.html#menc-feat-dvd-mpeg4-lavc-encoding-options

Cheers,
Guillaume

-- 
A legend is an old man with a cane known for
what he used to do. I'm still doing it.
  -- Miles Davis




More information about the MPlayer-users mailing list