[MPlayer-users] mencoder problems

Michael Hunold m.hunold at gmx.de
Wed Nov 14 09:34:50 CET 2001


Hello,

I'm having problems with encoding encrypted DVDs
to Div4Linux with "mencoder" from today mornings
CVS (2001/11/14). Here is the story:

First of all: the DVD is played just fine using
> mplayer -dvd 1

But when I try "mencoder" with the command line
> mencoder -dvd 1 -o dms.avi 

I get the following error messages after approx.
15 seconds of encoded video:

---------------schnipp---------------------------
Internal buffer inconsistency. flushbits <> ResvSizebit reservoir error:
.036   
l3_side->main_data_begin: 632 
Resvoir size:             720 
resv drain (post)         7 
resv drain (pre)          0 
header and sideinfo:      288 
data bits:                3126 
total bits:               3421 (remainder: 5) 
bitsperframe:             3840 
Internal buffer inconsistency. flushbits <> ResvSizebit reservoir error:
.035   
l3_side->main_data_begin: 152 
Resvoir size:             296 
resv drain (post)         3 
resv drain (pre)          0 
header and sideinfo:      288 
data bits:                3261 
total bits:               3552 (remainder: 0) 
bitsperframe:             3072 
head_check failed
head_check failed A-V:  0.426 oAV:  0.448 diff:  0.013 ct: -0.034 vpc:
-0.034   
head_check failed A-V:  0.386 oAV:  0.408 diff:  0.012 ct: -0.033 vpc:
-0.033   
---------------schnipp---------------------------

>From that on, I get these "head_check" errors for every frame.
In the resultion avi file, the video is just fine, but the
audio is broken after 15 seconds; it simply stops.

This phenomenon is reproducible with the following DVDs:

- "The Magic Sword" -- bombs after 15 seconds
- "The Prince of Egypt" -- bombs immediately
- "Tarzan" -- bombs immediately

A detailed "mencoder" log (using -v -v -v) for "Tarzan"
is attached to this mail. (2860 bytes)

CU
Michael.
-------------- next part --------------
Reading /root/.mplayer/codecs.conf: 16 audio & 36 video codecs
Reading disc structure, please wait...
There are 11 titles on this DVD.
There are 37 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
DVD start cell: 0  pack: 0x0-0x18421  
success: format: 0  data: 0x0 - 0x0
s->pos=0  newpos=0  new_bufpos=0  buflen=0  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x18421  
Found NAVI packet! lba=0x0  len=162  
Angle-seek synced! skip=0  new_lba=0x0  
ASF_check: not ASF guid!
Checking for MOV
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  10875.0 kbps (1359.4 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using 3DNOW for motion compensation
Detected audio codec: [ac3] drv:3 (AC3)
Initializing audio codec...
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
!! libac3 (core v0.6.2) : using 3dNow-dsp! optimization
5.0 Mode 48.0 KHz 384 kbps Complete Main Audio Service
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 48000->192000
Writing AVI header...
==> Found audio stream: 129
==> Found audio stream: 130
head_check failed
A:   0.4 V:   0.3 A-V:  0.130 oAV:  0.032 diff:  0.098 ct:  0.000 vpc:  0.000
head_check failed
A:   0.4 V:   0.4 A-V:  0.090 oAV: -0.008 diff:  0.098 ct:  0.004 vpc:  0.004
head_check failed
A:   0.4 V:   0.4 A-V:  0.050 oAV: -0.048 diff:  0.094 ct:  0.008 vpc:  0.008
head_check failed
A:   0.4 V:   0.4 A-V:  0.010 oAV: -0.088 diff:  0.090 ct:  0.012 vpc:  0.012
head_check failed
A:   0.4 V:   0.5 A-V: -0.030 oAV: -0.128 diff:  0.086 ct:  0.016 vpc:  0.016
head_check failed
A:   0.4 V:   0.5 A-V: -0.070 oAV: -0.168 diff:  0.082 ct:  0.020 vpc:  0.020
head_check failed
A:   0.4 V:   0.6 A-V: -0.110 oAV: -0.208 diff:  0.078 ct:  0.024 vpc:  0.024
head_check failed
A:   0.4 V:   0.6 A-V: -0.150 oAV: -0.248 diff:  0.074 ct:  0.028 vpc:  0.028
head_check failed
A:   0.4 V:   0.6 A-V: -0.190 oAV: -0.288 diff:  0.070 ct:  0.032 vpc:  0.032
head_check failed
A:   0.4 V:   0.7 A-V: -0.230 oAV: -0.328 diff:  0.066 ct:  0.036 vpc:  0.036
head_check failed
A:   0.4 V:   0.7 A-V: -0.270 oAV: -0.368 diff:  0.062 ct:  0.040 vpc:  0.040
head_check failed
A:   0.4 V:   0.8 A-V: -0.310 oAV: -0.408 diff:  0.058 ct:  0.044 vpc:  0.044
head_check failed
Navi  new pos=0xA3  
Found NAVI packet! lba=0xA3  len=163  
A:   0.4 V:   0.9 A-V: -0.470 oAV: -0.448 diff: -0.066 ct:  0.040 vpc:  0.040
head_check failed
A:   0.4 V:   1.0 A-V: -0.510 oAV: -0.488 diff: -0.062 ct:  0.036 vpc:  0.036
head_check failed
[...]


More information about the MPlayer-users mailing list