[Mplayer-advusers] [BUG] mencoder (DVD) libvo reinit bug

Gabucino gabucino at mplayerhq.hu
Fri Mar 5 00:56:13 CET 2004


So there's my DVD. I can't mencode it bcs it reinits VO parameters during
encoding, and there's a broken keyframe then:


MEncoder dev-CVS-040302-19:14-2.95.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1832 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /home/gabucino/.mplayer/codecs.conf: parse error at line 30
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such
 file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/gabucino/.mplayer/mencoder: No such file or directory
font: can't open file: /home/gabucino/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Reading disc structure, please wait...
There are 7 titles on this DVD.
There are 23 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0  data: 0x0 - 0xB56EA000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  4000.0 kbps (500.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=48000 sample=1)              
Writing AVI header...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Pos:   0.8s     22f ( 0%)  18fps Trem:   0min   0mb  A-V:0.084 [0:384]
Skipping frame!
Pos:   1.2s     32f ( 0%)  18fps Trem:   0min   0mb  A-V:0.083 [1285:384]
Skipping frame!
Pos:   2.2s     59f ( 0%)  20fps Trem:   0min   0mb  A-V:0.080 [1737:384]
Skipping frame!
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)1239:384]
                                                                ^^^^^^^^
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Could not open codec.
FATAL: Cannot initialize video driver.
Pos:  53.6s   1345f ( 1%)  21fps Trem:  74min 753mb  A-V:0.002 [1312:384]]
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)1268:384]]
                                                                ^^^^^^^^
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Could not open codec.
FATAL: Cannot initialize video driver.
Pos:  94.4s   2367f ( 2%)  15fps Trem:  96min 709mb  A-V:0.003 [1268:384]
1 duplicate frame(s)!
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)1269:384]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Could not open codec.
FATAL: Cannot initialize video driver.
Pos:  94.9s   2379f ( 2%)  15fps Trem:  96min 710mb  A-V:0.003 [1269:384]
1 duplicate frame(s)!
Pos: 109.7s   2747f ( 3%)  16fps Trem:  92min 707mb  A-V:0.012 [1278:384]]

...repeats more times


MPlayer dvd://1 says:

Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12  [fs]
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found! 1/  1   0%  0%  0.0% 0 6 76%
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12) 3 6 46%
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12  [fs]
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!18/218  25% 28%  3.3% 1 6 41%
A:  67.3 V:  67.3 A-V:  0.010 ct:  0.118  701/701  25% 27%  2.8% 1 6 48%
  =====  PAUSE  =====

WTF?

-- 
Gabucino
MPlayer Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20040305/6726d69f/attachment.pgp>


More information about the MPlayer-advusers mailing list