[MEncoder-users] "Too many video packets in the buffer" trying to transcode a .VOB

Boyandin Konstantin lists at boyandin.name
Wed Nov 24 16:07:57 CET 2010


Hello,

I am trying to transcode a .VOB (made by vobcopy), and mencoder sends the infamous "Too many video packets in the buffer" error endlessly. The command sample and its output:

$ mencoder  track.vob -oac copy -ovc xvid -xvidencopts bitrate=1200 -o track.avi -ffourcc xvid -forceidx
MEncoder SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
success: format: 0  data: 0x0 - 0x6363f800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
xvid: using library version 1.2.1 (build xvid-1.2.1)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Forcing output FourCC to 64697678 [xvid].
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=48000 sample-1)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: XviD (720x576 fourcc=64697678 [xvid])
xvid: par=0/0 (vga11), displayed=1024x576, sampled=720x576
xvid: CBR Rate Control -- bitrate=1200kbit/s
Writing header...1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
ODML: vprp aspect is 16:9.
Setting audio delay to 0.042s.
Writing header...
ODML: vprp aspect is 16:9.
Setting audio delay to 0.042s.
Pos:   0.8s     22f ( 0%)  0.00fps Trem:   0min  52mb  A-V:0.084 [0:384]
Skipping frame!
Pos:   1.2s     33f ( 0%)  0.00fps Trem:   0min  66mb  A-V:0.086 [44:384]
Skipping frame!
Pos:   1.8s     48f ( 0%)  0.00fps Trem:   1min  80mb  A-V:0.078 [34:384]
Skipping frame!
Pos:   2.0s     54f ( 0%)  0.00fps Trem:   1min  80mb  A-V:0.083 [32:384]
Too many video packets in the buffer: (4096 in 8278238 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:   2.0s     55f ( 0%)  0.00fps Trem:   1min  91mb  A-V:0.086 [31:384]
Skipping frame!
Pos:   2.5s     67f ( 0%)  0.00fps Trem:   1min  92mb  A-V:0.060 [29:384]
Too many video packets in the buffer: (4096 in 8278359 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:   2.5s     68f ( 0%)  0.00fps Trem:   1min  91mb  A-V:0.060 [28:384]
Too many video packets in the buffer: (4096 in 8278359 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:   2.6s     69f ( 0%)  0.00fps Trem:   1min  91mb  A-V:0.061 [28:384]
Too many video packets in the buffer: (4096 in 8278359 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:   2.6s     70f ( 0%)  0.00fps Trem:   1min  91mb  A-V:0.061 [28:384]
Too many video packets in the buffer: (4096 in 8278480 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, it goes on and on. Could someone provide any hints on how to handle this?

The .VOB is a valid file, I can play it with, say, VLC without any problem. If it is important, it contains 5 audio tracks.

I would appreciate assistance very much.
Sincerely,
Konstantin


More information about the MEncoder-users mailing list