[MPlayer-users] Corrupted last frame when using -endpos
Robert Nichols
rnicholsNOSPAM at comcast.net
Sun Jan 13 02:38:04 CET 2008
When I use mencoder with the -endpos option, I find that the output
includes a corrupted frame at the end. FWIW, I get the same result
if I use -frame to end the encoding. My mencoder version is
1.0rc1-4.1.2.
For example, if I encode with:
mencoder -oac lavc -ovc lavc -of mpeg -vf scale=720:480,harddup \
-endpos 10 -o test.mpeg 4-06.avi
then I get the following when playing the resulting file with mplayer:
$ mplayer test.mpeg
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing test.mpeg.
MPEG-PS file format detected.
FPS seems to be: 23.976000
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x480 Planar YV12
A: 9.2 V: 9.2 A-V: 0.001 ct: 0.248 221/221 7% 0% 0.7% 0 0
Broken frame at 0x3F000
A: 9.5 V: 9.9 A-V: -0.361 ct: 0.220 237/237 7% 0% 0.7% 0 0
Exiting... (End of file)
The real problem comes when I make a DVD by splicing together segments
from various AVI files. The stream has a corrupted frame at the end
of each segment, and my DVD player doesn't like that.
Am I missing something basic here, or is this a bug?
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
More information about the MPlayer-users
mailing list