[MPlayer-users] problems using mov and mpg muxers
Matt LaPlante
cyberdog3k at gmail.com
Wed Feb 20 18:08:12 CET 2008
MPlayer dev-SVN-r26032-4.1.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (Family: 15, Model: 4, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
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:
/usr/local/bin/ffmpeg -r 29.97 -s 1440x1080 -i test_dec.yuv -i
bits0001.mpa -s vga ffmpeg.mpg
/usr/local/bin/ffmpeg -r 29.97 -s 1440x1080 -i test_dec.yuv -i
bits0001.mpa -s vga ffmpeg.mov
The ffmpeg versions work properly in both media players. Using the
G-spot tool, I was able to get the output video to match in all
reported aspects, but still only the ffmpeg output was playable. I'm
looking for direction on where to go from here in chasing down the
source of these issues and hopefully getting them fixed.
Thanks,
Matt
More information about the MPlayer-users
mailing list