[MPlayer-users] problems using mov and mpg muxers

Nico Sabbi Nicola.Sabbi at poste.it
Wed Feb 20 18:13:21 CET 2008

On Wednesday 20 February 2008 18:08:12 Matt LaPlante wrote:

> I'm using mencoder to transcode avchd video into several
> alternative formats.  While I've been generally successful, I've
> failed to get mpeg1 and mov video that works natively in WMP and
> Quicktime respectively.  While I realize these muxers may be
> considered beta, I figured this might be a good opportunity to
> provide debugging information.  First, here are the command lines
> I've run.
> mpeg1:
> mencoder -demuxer rawvideo -audiofile bits0001.mpa -rawvideo
> fps=29.97:w=1440:h=1080 -ofps 30000/1001 -o mencoder.mpg -of mpeg
> -mpegopts format=mpeg1 -oac lavc -ovc lavc -lavcopts
> vcodec=mpeg1video:acodec=mp2:abitrate=64:threads=2:keyint=12
> test_dec.yuv
> mov:
> mencoder -vf spp,scale=720:480 -demuxer rawvideo -audiofile
> bits0001.mpa -rawvideo fps=29.97:w=1440:h=1080 -ofps 30000/1001
> -oac faac -faacopts br=192:mpeg=4:object=2 -channels 2 -srate 22050
> -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=300 -of lavf -o
> mencoder.mov test_dec.yuv
> The mpeg1, which should play natively in WMP, instead results in an
> error that it cannot play the file (not cannot find the codec; it
> literally won't even open the file).  The mov opens in Quicktime,
> but displays no video or audio.  I've also produced mpeg1 and mov
> video using ffmpeg with the same input files:

I spent a lot of time trying to understand what the hell wimp wants
to find in an mpeg stream, but failed.
Since I ferociously hate wimp and don't consider it worth my time
I won't waste one more millisecond trying to make  muxer_mpeg work
with it, but you are lucky: -of lavf -o x.mpg 
produces files playable by wimp

More information about the MPlayer-users mailing list