Hello,

I modified the mpeg2enc command line I use to encode my Cinelerra
videos. Now, it's:

/usr/bin/yuvcorrect -v 0 -T INTERLACED_BOTTOM_FIRST | /usr/bin/yuvscaler
-v 0 -I ACTIVE_702x560+8+8 -M BICUBIC | /usr/bin/mpeg2enc -v 0 -r 32 -4
1 -2 1 -D 10 -g 6 -G 15 -q 4 -b 9600 -f 8 -o $1

The audio stream is now encoded at 224 kbps.

I use mplex:
mplex -f 8 -V 02.ac3 02.m2v -o 02_r.mpeg

And unfortunately, I now get a frame data under-runs, which I did not
have before. The problem occurs only if I use the -q option in the
mpeg2enc 

I tried the following mplex commands, with no more luck:
mplex -f 8 02.ac3 02.m2v -o 02_r.mpeg
mplex -f 8 -V -r 10404 02.ac3 02.m2v -o 02_r.mpeg

The error message is:

INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $)
INFO: [mplex] File 02.ac3 looks like an AC3 Audio stream.
INFO: [mplex] File 02.m2v looks like an MPEG Video stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard 
options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: AC3 Audio stream 00 (02.ac3)
INFO: [mplex] AC3 frame size = 896
INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate       :    28672 bytes/sec (224 kbit/sec)
INFO: [mplex] Frequency      :     48000 Hz
INFO: [mplex] Scanning for header info: Video stream e0 (02.m2v) 
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width     : 720
INFO: [mplex] Frame height    : 576
INFO: [mplex] Aspect ratio    : 4:3 display
INFO: [mplex] Picture rate    : 25.000 frames/sec
INFO: [mplex] Bit rate        : 9600000 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF            : 0
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate    : 10032096
INFO: [mplex] target data-rate specified               : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16619
INFO: [mplex] New sequence commences...
INFO: [mplex] Audio bd: buf=      0 frame=000000 sector=00000000
INFO: [mplex] Video e0: buf=      0 frame=000000 sector=00000000
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=477476 
required(DTS)=477419
++ WARN: [mplex] Audio bd: buf=  11869 frame=000173 sector=00000077
++ WARN: [mplex] Video e0: buf=  79782 frame=000129 sector=00000447
INFO: [mplex] STREAM bd completed @ frame 17656.
INFO: [mplex] Scanned to end AU 14125
INFO: [mplex] STREAM e0 completed @ frame 14125.
INFO: [mplex] Multiplex completion at SCR=50848768.
INFO: [mplex] Audio bd: buf=   5376 frame=017656 sector=00007848
INFO: [mplex] Video e0: buf= 191896 frame=014125 sector=00322340
INFO: [mplex] AUDIO_STATISTICS: bd
INFO: [mplex] Audio stream length 15820672 bytes.
INFO: [mplex] Frames         :    17657
INFO: [mplex] BUFFERING min 35 Buf max 10339
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length:   651793159 bytes
INFO: [mplex] Sequence headers:      942
INFO: [mplex] Sequence ends   :        1
INFO: [mplex] No. Pictures    :    14126
INFO: [mplex] No. Groups      :      942
INFO: [mplex] No. I Frames    :      942 avg. size 68465 bytes
INFO: [mplex] No. P Frames    :    13184 avg. size 44546 bytes
INFO: [mplex] No. B Frames    :        0 avg. size     0 bytes
INFO: [mplex] Average bit-rate :  9228000 bits/sec
INFO: [mplex] Peak bit-rate    :  9768800  bits/sec
INFO: [mplex] BUFFERING min 17 Buf max 235543
**ERROR: [mplex] MUX STATUS: Frame data under-runs detected!

Any clue?

Thank you.
Nicolas.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to