PDA

View Full Version : How can these under-runs be possible???


acidphiend
9th September 2006, 11:58
Hi,
I've converted some captured DV (about 57 mins) to elementary mpeg stream using quenc: 2-pass, max bitrate=8500, av bitrate=6500, 25fps, interlaced, no audio. The audio was ripped from the avi using vdub and converted to 192kb AC3 with besweet.

I usually use GUI for DVDAuthor to mux and make DVD files - no menus, no subs.

For some reason I've been having frame data under-runs? As I understand it, these are when the video and audio data rate exceeds the DVD compliant amount (9800 or something), correct? What I want to know is why this is happening??? This is my second attemp at muxing - the first attemp I had encoded the video with max=9000, av=7000, with other settings the same... Theoretically I thought this shouldn't pose a problem either because the video+audio data rate shouldn't exceed 9800, but, after consulting these forums on the issue I decided that a re-encode with lower max bit rate should solve the problem. Alas...

One thing I did notice during the quenc encode this time, but not sure if it occurred last encode or not, was it reported "1 possible underflow". I couldn't find a log file and I'm not familiar with this for quenc, could this be the source of the problem, and if so, how do I stop it from happening???

Here is the log from GUI for DVDAuthor:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\DVD Temp\Temp>Time: 9/9/2006 6:20:34 PM

(shrink and) mux video and audio files
INFO: [???] mplex version 2.0.0 (2.2.3 $Date: 2004/01/13 20:45:26 $)
INFO: [???] File C:\DVD Temp\falls.m2v looks like an MPEG Video stream.
INFO: [???] File C:\DVD Temp\falls.ac3 looks like an AC3 Audio stream.
INFO: [???] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [???] Found 1 audio streams and 1 video streams
INFO: [???] Selecting dvdauthor DVD output profile
INFO: [???] Multiplexing video program stream!
INFO: [???] Scanning for header info: Video stream e0 (C:\DVD Temp\falls.m2v)
INFO: [???] VIDEO STREAM: e0
INFO: [???] Frame width : 720
INFO: [???] Frame height : 576
INFO: [???] Aspect ratio : 16:9 display
INFO: [???] Picture rate : 25.000 frames/sec
INFO: [???] Bit rate : 8500000 bits/sec
INFO: [???] Vbv buffer size : 229376 bytes
INFO: [???] CSPF : 0
INFO: [???] Scanning for header info: AC3 Audio stream 00 (C:\DVD Temp\falls.ac3)
INFO: [???] AC3 frame size = 768

INFO: [???] AC3 AUDIO STREAM:
INFO: [???] Bit rate : 24576 bytes/sec (192 kbit/sec)
INFO: [???] Frequency : 48000 Hz
INFO: [???] SYSTEMS/PROGRAM stream:
INFO: [???] rough-guess multiplexed stream data rate : 8876096
INFO: [???] target data-rate specified : 10080000
INFO: [???] Setting specified specified data rate: 10080000
INFO: [???] Run-in Sectors = 89 Video delay = 13019 Audio delay = 0
INFO: [???] New sequence commences...
INFO: [???] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [???] Audio bd: buf= 16384 frame=000000 sector=00000000
++ WARN: [???] Stream e0: data will arrive too late sent(SCR)=195539821 required(DTS)=0
++ WARN: [???] Video e0: buf= 167363 frame=054313 sector=00831846
++ WARN: [???] Audio bd: buf= 1987 frame=067908 sector=00025870
INFO: [???] STREAM bd completed @ frame 107405.
INFO: [???] STREAM e0 completed @ frame 85923.
INFO: [???] Multiplex completion at SCR=309308708.
INFO: [???] Video e0: buf= 1518 frame=085923 sector=01381302
INFO: [???] Audio bd: buf= 7168 frame=107405 sector=00040917
INFO: [???] VIDEO_STATISTICS: e0
INFO: [???] Video Stream length: 2789782400 bytes
INFO: [???] Sequence headers: 7161
INFO: [???] Sequence ends : 0
INFO: [???] No. Pictures : 85924
INFO: [???] No. Groups : 7161
INFO: [???] No. I Frames : 7161 avg. size 56377 bytes
INFO: [???] No. P Frames : 21482 avg. size 44593 bytes
INFO: [???] No. B Frames : 57282 avg. size 24930 bytes
INFO: [???] Average bit-rate : 6493200 bits/sec
INFO: [???] Peak bit-rate : 11884000 bits/sec
INFO: [???] BUFFERING min 15 Buf max 235543
INFO: [???] AUDIO_STATISTICS: bd
INFO: [???] Audio stream length 82487808 bytes.
INFO: [???] Frames : 3208875929
INFO: [???] BUFFERING min 67 Buf max 12739
**ERROR: [???] MUX STATUS: Frame data under-runs detected!

C:\DVD Temp\Temp>Time: 9/9/2006 6:33:17 PM

Please can someone explain to me what the buggery is going on, and possibly some solution!
Cheers

Zeul
12th September 2006, 19:40
DVDAuthor uses mplex as its' multiplexing engine - which is NOT very compliant. In the first instance try creating your DVD with either DVDPlanner or Muxman which are both very compliant.
If this fails then it is probably Quenc that is not honouring the max bitrate specified - use Hcenc instead.