[MEncoder-users] [Too many video packets in the buffer - Too many audio packets in the buffer]

rageice rageice at rastamail.com
Sat Apr 5 23:07:51 CEST 2008


Hello everybody,

First of all, sorry for my bad english...
I'm actually trying to encode a vob file to an avi one.
To do this, I use the following command:*
 mencoder -sws 2 -oac copy -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=23109:autoaspect:vhq:vpass=1 -ffourcc XVID -o
/dev/null GDB.vob
*
But mencoder outputs messages like:
*Too many video packets in the buffer
Too many audio packets in the buffer*

When I searched how to solve this, I seen things about telecine and
progressive movies.
I am not absolutely sure, but I think it's not the problem:
I have never seen "*demux_mpg: 24000/1001 fps progressive NTSC content
detected, switching framerate*" while playing the DVD or the vob file.
And for telecine, I haven't all understood, but when the movie is started
and that I type on the point key, I never see things like "PPPII".


This is a part of the trace:*
___________________________________________________________________________________________
MEncoder 2:1.0~rc1-0ubuntu13.2+medibuntu1 (C) 2000-2006 MPlayer Team
CPU: AMD Sempron(tm) Processor 2600+ (Family: 15, Model: 44, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0xc1a49000
MPEG-PS file format detected.

Too many video packets in the buffer: (4096 in 8230233 bytes).
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.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: 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.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Forcing output FourCC to 44495658 [XVID].
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=44495658 [XVID])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...1f (16%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.

1 duplicate frame(s)!
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.

1 duplicate frame(s)!
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.

1 duplicate frame(s)!
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
...
...
...
Pos: 288.9s   7218f (20%) 24.14fps Trem:  19min 2003mb  A-V:0.000 [11758:0]
1 duplicate frame(s)!
Pos: 289.4s   7230f (20%) 24.14fps Trem:  19min 2008mb  A-V:0.000 [11769:0]
1 duplicate frame(s)!
Pos: 289.9s   7242f (20%) 24.14fps Trem:  19min 2013mb  A-V:0.000 [11780:0]
1 duplicate frame(s)!
Pos: 290.3s   7252f (20%) 24.14fps Trem:  19min 2017mb  A-V:0.000 [11789:0]
Too many audio packets in the buffer: (4096 in 8257532 bytes).
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.

Too many audio packets in the buffer: (4096 in 8257532 bytes).
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.

Flushing video frames
Writing index...
Writing header...
ODML: vprp aspect is 4:3.

Video stream: 11789.846 kbit/s  (1473730 B/s)  size: 427853516 bytes
290.320 secs  7252 frames*
_______________________________________________________________________________________________________

Have you got an idea about what the problem is?

Thanks by advance.*
*



More information about the MEncoder-users mailing list