[MPlayer-users] mencoder DEMUXER: Too many (4096 in 8264253 bytes) video packets

Steven M. Schultz sms at 2BSD.COM
Sun Dec 1 20:37:02 CET 2002


Hello,

	Encode a decrypted .vob file causes mencoder to fail just before the
	end of the file with the error:

	DEMUXER: Too many (4096 in 8261582 bytes) video packets in the buffer!
	Maybe you are playing a non-interleaved stream/file or the codec failed?
	For .AVI files, try to force non-interleaved mode with the -ni option.
	ds_fill_buffer: EOF reached (stream: audio)

	Before that error I do see quite a few lines of the form:

		{ERROR5,c=17}

	but I do not know what that signifies.

	This is during the first (audio only) pass using the command:

mencoder -v -vop scale=848:480 -sws 2 -aid 128 \
	-oac mp3lame -lameopts vbr=3:br=224:q=4 -ovc frameno \
	-o frameno.avi  vts_01_7.vob

	The DVD is is My Fair Lady which appears to have multiple audio streams
	(which is why "-aid 128" was used).  One of the vob files (vts_01_7.vob)
	was copied/decoded with DecVOB.   MPlayer plays the .vob file perfectly.

	What am I doing wrong?  Or have I discovered a bug in mencoder?

	I've edited out the repeated 60000+ lines of identical information and
	hit ^C soon after the DEMUXER errors started printing out.

	Hints or advice welcome.

	Thanks.

	Steven Schultz
	sms at 2bsd.com

--------------------------
Script started on Sun Dec  1 10:05:00 2002
moe.1-> rm -f frameno.avi
moe.2-> mencoder -v -vop scale=848:480 -sws 2 -aid 128 -oac mp3lame -lameopts vbr=3:br=224:q=4 -ovc frameno -o frameno.avi  vts_01_7.vob

MEncoder CVS-021129-21:18-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Reading /users/sms/.mplayer/codecs.conf: can't open '/users/sms/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 47 audio & 114 video codecs
File not found: 'frameno.avi'
get_path('font/font.desc') -> '/users/sms/.mplayer/font/font.desc'
font: can't open file: /users/sms/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Not an URL!
File size is 1073739776 bytes
success: format: 0  data: 0x0 - 0x3FFFF800
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82d5000  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82d5000  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82d5000  
Checking for MOV
DEMUXER: freeing demuxer at 0x82d5000  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82d5000  
Checking for REAL
DEMUXER: freeing demuxer at 0x82d5000  
DEMUXER: freeing demuxer at 0x82d5000  
DEMUXER: freeing demuxer at 0x82d5000  
DEMUXER: freeing demuxer at 0x82d5000  
DEMUXER: freeing demuxer at 0x82d5000  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x82d5000  
DEMUXER: freeing demuxer at 0x82d6000  
Checking for PVA
DEMUXER: freeing demuxer at 0x82d6000  
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... ==> Found audio stream: 130
==> Found audio stream: 129
  {ERROR5,c=17}  
OK!
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  9375.0 kbps (1171.9 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334

==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
No accelerated IMDCT transform found
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
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)
==========================================================================

MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Writing AVI header...
LAME version 3.92 MMX  (http://www.mp3dev.org/)
CPU features: i387, MMX (ASM used), SIMD
Using polyphase lowpass  filter, transition band: 19548 Hz - 20129 Hz

misc:
        scaling: 0.000000
        ch0 (left) scaling: 0.000000
        ch1 (right) scaling: 0.000000
        filter type: 0
        quantization: ISO
        huffman search: normal
        experimental X=0 Y=0 Z=0
        ...

stream format:
        MPEG-1 Layer 3
        2 channel - stereo
        padding: auto
        variable bitrate - ABR 
        ...

psychoacoustic:
        tonality estimation limit: 8871.700195 Hz
        using short blocks: allowed
        adjust masking: 0.000000 dB
        psymodel: 1
        noise shaping: 1
         ^ amplification: 0
         ^ stopping: 0
        ATH: using
         ^ type: 2
         ^ adjust type: 0
         ^ adapt threshold type: 2
        using temporal masking effect: yes
        interchannel masking ratio: 0.000000
        ...


Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 7/0 D/B/S 0/0/0 
Pos:   0.1s      2f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.003 [0:0] A/Vms 7/0 D/B/S 0/0/0 
Pos:   0.1s      3f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.007 [0:0] A/Vms 7/0 D/B/S 0/0/0 
Pos:   0.1s      4f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.010 [0:0] A/Vms 6/0 D/B/S 0/0/0 
Pos:   0.2s      5f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.013 [0:0] A/Vms 6/0 D/B/S 0/0/0 
Pos:   0.2s      6f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.017 [0:0] A/Vms 6/0 D/B/S 0/0/0 
  {ERROR5,c=17}  
Pos:   0.3s      7f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.020 [0:0] A/Vms 6/0 D/B/S 1/0/0 
Pos:   0.3s      8f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.023 [0:0] A/Vms 6/0 D/B/S 1/0/0 
Pos:   0.4s      9f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.027 [0:0] A/Vms 6/0 D/B/S 2/0/0 
Pos:   0.4s     10f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.030 [0:0] A/Vms 6/0 D/B/S 2/0/0 
Pos:   0.4s     11f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.033 [0:0] A/Vms 6/0 D/B/S 2/0/0 
Pos:   0.5s     12f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.037 [0:0] A/Vms 6/0 D/B/S 2/0/0 
Pos:   0.5s     13f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.040 [0:0] A/Vms 6/0 D/B/S 2/0/0 
Pos:   0.6s     14f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.043 [0:212] A/Vms 6/0 D/B/S 3/0/0 
Pos:   0.6s     15f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.047 [0:212] A/Vms 5/0 D/B/S 3/0/0 
Pos:   0.6s     16f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.050 [0:212] A/Vms 5/0 D/B/S 3/0/0 
Pos:   0.7s     17f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.053 [0:212] A/Vms 5/0 D/B/S 3/0/0 
Pos:   0.7s     18f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.057 [0:212] A/Vms 5/0 D/B/S 3/0/0 
  {ERROR5,c=17}  
Pos:   0.8s     19f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.060 [0:212] A/Vms 5/0 D/B/S 4/0/0 
Pos:   0.8s     20f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.063 [0:213] A/Vms 5/0 D/B/S 4/0/0 
Pos:   0.9s     21f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.067 [0:212] A/Vms 5/0 D/B/S 5/0/0 
Pos:   0.9s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.070 [0:212] A/Vms 5/0 D/B/S 5/0/0 
Pos:   1.0s     23f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.040 [0:213] A/Vms 5/0 D/B/S 6/0/0 
Pos:   1.0s     24f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.043 [0:212] A/Vms 5/0 D/B/S 6/0/0 
Pos:   1.0s     25f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.047 [0:212] A/Vms 5/0 D/B/S 6/0/0 
Pos:   1.1s     26f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.050 [0:213] A/Vms 5/0 D/B/S 7/0/0 
Pos:   1.1s     27f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.053 [0:213] A/Vms 5/0 D/B/S 7/0/0 
Pos:   1.2s     28f ( 0%)   0fps Trem:   6min  44mb  A-V:-0.057 [0:212] A/Vms 5/0 D/B/S 7/0/0 
Pos:   1.2s     29f ( 0%)   0fps Trem:   6min  44mb  A-V:-0.060 [0:212] A/Vms 5/0 D/B/S 7/0/0 
Pos:   1.2s     30f ( 0%)   0fps Trem:   6min  44mb  A-V:-0.063 [0:212] A/Vms 5/0 D/B/S 7/0/0 
Pos:   1.3s     31f ( 0%)   0fps Trem:   6min  45mb  A-V:-0.067 [0:212] A/Vms 5/0 D/B/S 8/0/0 
  {ERROR5,c=17}  
  {ERROR5,c=0}  

	...

Pos: 932.3s  22395f (55%) 109fps Trem:   2min  43mb  A-V:-0.007 [0:212] A/Vms 4/0 D/B/S 5545/0/0 
Pos: 932.3s  22396f (55%) 109fps Trem:   2min  43mb  A-V:-0.008 [0:212] A/Vms 4/0 D/B/S 5545/0/0 
Pos: 932.3s  22397f (55%) 109fps Trem:   2min  43mb  A-V:-0.009 [0:212] A/Vms 4/0 D/B/S 5545/0/0 
Pos: 932.4s  22398f (55%) 109fps Trem:   2min  43mb  A-V:-0.010 [0:212] A/Vms 4/0 D/B/S 5545/0/0 
Pos: 932.4s  22399f (55%) 109fps Trem:   2min  43mb  A-V:-0.010 [0:212] A/Vms 4/0 D/B/S 5545/0/0 
Pos: 932.5s  22400f (55%) 109fps Trem:   2min  43mb  A-V:-0.010 [0:212] A/Vms 4/0 D/B/S 5546/0/0 
Pos: 932.5s  22401f (55%) 109fps Trem:   2min  43mb  A-V:-0.010 [0:212] A/Vms 4/0 D/B/S 5546/0/0 
Pos: 932.6s  22402f (55%) 109fps Trem:   2min  43mb  A-V:-0.009 [0:212] A/Vms 4/0 D/B/S 5547/0/0 
Pos: 932.6s  22403f (55%) 109fps Trem:   2min  43mb  A-V:-0.010 [0:212] A/Vms 4/0 D/B/S 5547/0/0 
Pos: 932.6s  22404f (55%) 109fps Trem:   2min  43mb  A-V:-0.009 [0:212] A/Vms 4/0 D/B/S 5547/0/0 
Pos: 932.7s  22405f (55%) 109fps Trem:   2min  43mb  A-V:-0.010 [0:212] A/Vms 4/0 D/B/S 5547/0/0 
Pos: 932.7s  22406f (55%) 109fps Trem:   2min  43mb  A-V:-0.010 [0:212] A/Vms 4/0 D/B/S 5547/0/0 
Pos: 932.8s  22407f (55%) 109fps Trem:   2min  43mb  A-V:-0.007 [0:212] A/Vms 4/0 D/B/S 5548/0/0 
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  
  {ERROR5,c=0}  

DEMUXER: Too many (4096 in 8261572 bytes) video packets in the buffer!
Maybe you are playing a non-interleaved stream/file or the codec failed?
For .AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)  
Pos: 932.8s  22408f (56%) 108fps Trem:   2min  43mb  A-V:-0.008 [0:212] A/Vms 4/0 D/B/S 5548/0/0 

DEMUXER: Too many (4096 in 8261582 bytes) video packets in the buffer!
Maybe you are playing a non-interleaved stream/file or the codec failed?
For .AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)  
Pos: 932.8s  22409f (56%) 108fps Trem:   2min  43mb  A-V:-0.012 [0:212] A/Vms 4/0 D/B/S 5548/0/0 

DEMUXER: Too many (4096 in 8261582 bytes) video packets in the buffer!
Maybe you are playing a non-interleaved stream/file or the codec failed?
For .AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)  
Pos: 932.9s  22410f (56%) 108fps Trem:   2min  43mb  A-V:-0.015 [0:212] A/Vms 4/0 D/B/S 5548/0/0 


	...

DEMUXER: Too many (4096 in 8264253 bytes) video packets in the buffer!
Maybe you are playing a non-interleaved stream/file or the codec failed?
For .AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)  
Pos:1030.1s  25110f (62%) 116fps Trem:   2min  43mb  A-V:-0.039 [0:216] A/Vms 4/0 D/B/S 5794/0/31 


	^C

Script done on Sun Dec  1 10:09:09 2002




More information about the MPlayer-users mailing list