[MPlayer-users] Too many video packets in the buffer

Ulrich Schweitzer us- at gmx.de
Sun Nov 21 19:52:14 CET 2004


Hi!

I'm trying to encode from .vob to .avi with the command line

mencoder $VPATH/*.vob -of avi -noodml -noskip -aid $AUDIOID -oac copy 
-audio-density 25 -ovc lavc -lavcopts 
vcodec=mpeg4:mbd=2:trell:qpel:v4mv:cmp=3:subcmp=3:vpass=1:vbitrate=$BITRATE 
-vf  crop=$CROP,scale=$SCALE,harddup -sws 2 -o /dev/null

(all the variables are set to sane values). This works for exactly 18.5 
(movie)seconds, then I get several error messages per second. Playing the 
.vob with mplayer works fine. The beginning of the mencoder output is:

Can't open '/home/ulrich/.mplayer/codecs.conf': No such file or directory
Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using SSE optimized IMDCT transform
Using MMX optimized resampler
The selected video_out device is incompatible with this codec.
MEncoder dev-CVS-041121-08:45-3.3.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, 
Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

File not found: 'frameno.avi'
Failed to open frameno.avi
font: can't open file: /home/ulrich/.mplayer/font/font.desc
font: can't open file: /opt/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0xa922000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  6700.0 kbps (837.5 
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.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 filter: [harddup]
Opening video filter: [scale w=592 h=336 interlaced=0 chr-drop=0 param=90]
Opening video filter: [crop w=688 h=560 x=16 y=8]
Crop: 688 x 560, 16 ; 8
==========================================================================
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.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=24000 
sample-1)
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp 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.
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 8 -> 7
SwScaler: reducing / aligning filtersize 8 -> 7

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (592x336 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
Pos:   1.3s     32f ( 0%)   9fps Trem:   0min   0mb  A-V:0.082 [4572:192]
Skipping frame!
Pos:  18.5s    464f ( 0%)   7fps Trem: 224min 1444mb  A-V:0.047 [2916:192]
Too many video packets in the buffer: (4096 in 8275806 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.
Pos:  18.6s    467f ( 0%)   7fps Trem: 225min 1451mb  A-V:0.045 [2923:192]
Too many video packets in the buffer: (4096 in 8275806 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 video packets in the buffer: (4096 in 8275806 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.
Pos:  18.7s    468f ( 0%)   7fps Trem: 224min 1446mb  A-V:0.044 [2917:192]
Too many video packets in the buffer: (4096 in 8276322 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.
Pos:  18.7s    469f ( 0%)   7fps Trem: 225min 1451mb  A-V:0.043 [2921:192]
Too many video packets in the buffer: (4096 in 8274462 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 video packets in the buffer: (4096 in 8274462 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.
Pos:  18.8s    470f ( 0%)   7fps Trem: 225min 1447mb  A-V:0.044 [2915:192]
Too many video packets in the buffer: (4096 in 8274462 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.
Pos:  18.8s    471f ( 0%)   7fps Trem: 225min 1451mb  A-V:0.044 [2922:192]
Too many video packets in the buffer: (4096 in 8274462 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.
Pos:  18.8s    472f ( 0%)   7fps Trem: 225min 1449mb  A-V:0.045 [2915:192]
Too many video packets in the buffer: (4096 in 8274462 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.
Pos:  18.9s    473f ( 0%)   7fps Trem: 225min 1456mb  A-V:0.045 [2927:192]
Too many video packets in the buffer: (4096 in 8274462 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.

...and so on.
The same happens when I try to encode to mpeg1 with completely different 
options. Both command lines are testet dozens of times and never failed 
before.
The errors occur both on pre5 and todays CVS.
Does anybody know what's going on?

Ulrich
-- 
PGP key ID: 0xDF6FC4FA

"A mouse is a device used to select the xterm you want to type in."
Author unknown




More information about the MPlayer-users mailing list