[MEncoder-users] Problem with "Too many video packets in the buffer"
sire.cp at gmail.com
Sun May 16 20:48:39 CEST 2010
I have recently started to dump all my dvd's to my hard drive as .vobs
with vobsub subtitles in order to be able to have a backup of my movie
/ series collection, without wasting my precious disk space on storing
those unnecessary advertizements and extra audio tracks (who wants to
watch a movie in badly dubbed Spanish, Italian or German when it is
I wrote up a nice script that does all the hard work for me - and so
far, I have backed up a reasonable amount of dvds.
But today I ran into a problem, I have searched, read, searched some
more, and could not come to a solution myself. Hence I subscribed to
your list, perhaps somebody here knows 'the answer'?
Anyways. The problem:
- I am trying to dump an European PAL DVD, Star Trek TNG Season 1 Disc
2 to be precise.
- This DVD contains interlaced video at a resolution of 720x576, at 25fps
- It dumps the first track all nicely, but when it dumps the second
track, things start to go bad.
- I have dumped more interlaced material, but this problem never
occurded to me before. I have already dumped Disc 1 of that series,
which went without any problems at all.
I get a lot of these "Too many video packets in the buffer: (4096 in
8260213 bytes)." errors.
The dumped video also seems to play back at half its speed. I have
tried adjusting the framerate, to no avail. I also noticed that,
instead of the regular ~1.5GB per file, this file is ~820MB.
I use the following command to dump the video/audio:
mencoder dvd://"$TITLES_COUNT" -dvd-device "$MOUNT_DIR" -ovc copy -oac
copy -alang en -of mpeg -mpegopts format=dvd:tsaf -vf
pp=softskip:harddup -mc 0 -noskip -o "$DUMP_DIR""$DUMP_FILE".vob;
I think the variable names speak for themselves, those are not
important for this case anyway.
This is my full mencoder output, well, without the millions of "Too
many packets..." errors:
MEncoder SVN-r29796-4.3.4 (C) 2000-2009 MPlayer Team
There are 4 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: de aid: 128.
audio stream: 1 format: ac3 (5.1) language: en aid: 129.
audio stream: 2 format: ac3 (stereo) language: es aid: 130.
audio stream: 3 format: ac3 (stereo) language: fr aid: 131.
audio stream: 4 format: ac3 (stereo) language: it aid: 132.
number of audio channels on disk: 5.
subtitle ( sid ): 0 language: da
subtitle ( sid ): 1 language: de
subtitle ( sid ): 2 language: en
subtitle ( sid ): 3 language: es
subtitle ( sid ): 4 language: fr
subtitle ( sid ): 5 language: it
subtitle ( sid ): 6 language: nl
subtitle ( sid ): 7 language: no
subtitle ( sid ): 8 language: sv
subtitle ( sid ): 9 language: en
number of subtitles on disk: 10
success: format: 2 data: 0x0 - 0x6e9ec800
Selected DVD audio channel: 129 language: en
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400
Opening audio decoder: [liba52] AC3 decoding with liba52
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
PACKET SIZE: 2048 bytes, deltascr: 43885
videocodec: framecopy (720x576 24bpp fourcc=10000002)
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16
INITV: 0.200, 0.160, fps: 25.000
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Pos: 31.9s 797f ( 1%) 0.00fps Trem: 1min 747mb A-V:0.000 [1774:448]
Too many video packets in the buffer: (4096 in 8260412 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.
I hope anyone around here can help me with this strange nasty issue,
your help would be very much appreciated.
More information about the MEncoder-users