hi, i had a problem when trying to make a VCD from a rip of The Animatrix.
when i multiplex the audio and video i have buffer underflows
Can anyone help me to avoid it?


this are the original file info and the procedures i had used.

mplayer -ao pcm -vo -yuv4mpeg The\ Animatrix.avi
cat stream.yuv \
        | yuvscaler -v 0 -n n -M WIDE2VCD -O VCD \
        | mpeg2enc -v 0 -n n -f 1 -F 1 -a 2 -o The\ Animatrix.m1v
cat audiodump.wav \
        | mp2enc -V -o The\ Animatrix.mp2
mplex -f 1 -s 2324 -p 1 -h -o The\ Animatrix.mpg The\ Animatrix.m1v The
\ Animatrix.mp2

The Animatrix.avi
AVI file format detected.
VIDEO:  [XVID]  592x256  24bpp  23,98 fps  826,8 kbps (100,9 kbyte/s)
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128,0 kbit)

The Animatrix.m1v
  Mpeg 1 Video File
  Estimated Duration: 01:36:51.36s
  Size [352 x 240]     23.98 fps    1.15 Mbps

The Animatrix.mp2
  Audio : Mpeg 1 layer 2
  Estimated Duration: 01:41:05.79s
  224 kbps  44100 Hz
  Frame size: 731 bytes
  Stereo,  No emphasis,  copy

The Animatrix.mpg
  Mpeg 1 System File [Video/Audio]
  Muxrate : 1.41 Mbps
  Estimated Duration: 01:41:06.06s
  Size [352 x 240]     23.98 fps    1.15 Mbps
  Audio : Mpeg 1 layer 2
  224 kbps  44100 Hz
  Stereo,  No emphasis


This is the dump of mplex


[EMAIL PROTECTED]:~/Videos/VCD$ /usr/bin/mplex -f 1 -s 2324 -p 1 -h -o The\ Animatrix.mpg The\ Animatrix.m1v The\ Animatrix.mp2
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/02/04 19:06:14 $)
INFO: [mplex] File The Animatrix.m1v looks like an MPEG Video stream.
INFO: [mplex] File The Animatrix.mp2 looks like an MPEG Audio stream.
INFO: [mplex] Found 1 video streams 1 MPEG audio streams and 0 AC3 streams
INFO: [mplex] Selecting VCD output profile
INFO: [mplex] Scanning for header info: Video stream e0 (The Animatrix.m1v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 352
INFO: [mplex] Frame height : 240
INFO: [mplex] Aspect ratio : 1:1.1250 (4:3 NTSC for 720x480/352x240 images)
INFO: [mplex] Picture rate : 23.976 frames/sec
INFO: [mplex] Bit rate : 1152000 bits/sec
INFO: [mplex] Vbv buffer size : 40960 bytes
INFO: [mplex] CSPF : 1
INFO: [mplex] Scanning for header info: Audio stream c0 (The Animatrix.mp2)
INFO: [mplex] AUDIO STREAM:
INFO: [mplex] Audio version : 1.0
INFO: [mplex] Layer : 3
INFO: [mplex] CRC checksums : no
INFO: [mplex] Bit rate : 28672 bytes/sec (224 kbit/sec)
INFO: [mplex] Frequency : 44100 Hz
INFO: [mplex] Mode : 0 stereo
INFO: [mplex] Mode extension : 0
INFO: [mplex] Copyright bit : 0 no copyright
INFO: [mplex] Original/Copy : 0 copy
INFO: [mplex] Emphasis : 0 none
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 1412000
INFO: [mplex] target data-rate specified : 1411200
++ WARN: [mplex] Target data rate lower than computed requirement!
++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate
++ WARN: [mplex] streams is common and harmless provided no time-outs will occur
INFO: [mplex] Sectors = 18 Video delay = 21600 Audio delay = 21600
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 47104 frame=000000 sector=00000000
INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000
INFO: [mplex] Padding : sector=00000000
++ WARN: [mplex] Stream c0: data will arrive too late sent(SCR)
=204970800 required(DTS)=204970236
++ WARN: [mplex] Video e0: buf= 12456 frame=054591 sector=00137300
++ WARN: [mplex] Audio c0: buf= 1201 frame=087161 sector=00027974
++ WARN: [mplex] Padding : sector=00005503
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)
=206828400 required(DTS)=206827811
++ WARN: [mplex] Video e0: buf= 22634 frame=055083 sector=00138591
++ WARN: [mplex] Audio c0: buf= 2443 frame=087950 sector=00028227
++ WARN: [mplex] Padding : sector=00005507
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)
=210916800 required(DTS)=210915644
++ WARN: [mplex] Video e0: buf= 12008 frame=056175 sector=00141427
++ WARN: [mplex] Audio c0: buf= 2715 frame=089688 sector=00028785
++ WARN: [mplex] Padding : sector=00005520
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)
=268652400 required(DTS)=268652073
++ WARN: [mplex] Video e0: buf= 20317 frame=071555 sector=00180608
++ WARN: [mplex] Audio c0: buf= 2060 frame=114247 sector=00036667
++ WARN: [mplex] Padding : sector=00006570
INFO: [mplex] Scanned to end AU 145447
INFO: [mplex] STREAM e0 completed @ 145447.
INFO: [mplex] STREAM c0 completed @ 232205.
INFO: [mplex] Multiplex completion at SCR=545968800.
INFO: [mplex] Video e0: buf= 28895 frame=145447 sector=00363407
INFO: [mplex] Audio c0: buf= 439 frame=232205 sector=00074525
INFO: [mplex] Padding : sector=00017010
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 104604409 bytes
INFO: [mplex] Sequence headers: 8632
INFO: [mplex] Sequence ends : 1
INFO: [mplex] No. Pictures : 145448
INFO: [mplex] No. Groups : 8632
INFO: [mplex] No. I Frames : 8632 avg. size 12609 bytes
INFO: [mplex] No. P Frames : 39852 avg. size 7161 bytes
INFO: [mplex] No. B Frames : 96964 avg. size 4564 bytes
INFO: [mplex] No. D Frames : 0 avg. size 0 bytes
INFO: [mplex] Average bit-rate : 1103600 bits/sec
INFO: [mplex] Peak bit-rate : 1267600 bits/sec
INFO: [mplex] BUFFERING min 13 Buf max 44803
INFO: [mplex] AUDIO_STATISTICS: c0
INFO: [mplex] Audio stream length 169842103 bytes.
INFO: [mplex] Syncwords : 232206
INFO: [mplex] Frames : 132689 padded
INFO: [mplex] Frames : 99517 unpadded
INFO: [mplex] BUFFERING min 15 Buf max 1706
**ERROR: [mplex]
**ERROR: [mplex] MUX STATUS: Frame data under-runs detected!





------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to