On Fri, 31 Dec 2004, Adam Gautier wrote:

> I am getting an underun error and warning that exists when mplex(ing) 1
> set of audio and video files that was rendered from cinelerra.  The info
> on the render setting is:
> 
> Video:
>  Type: MPEG-1
>  Bitrate: 1000000 (fixed)
        
        Ok, "generic MPEG-1" at a 1Mb/s rate.  That does seem a bit low
        for 800x600.

> $ mplex -o 3mintest.mpeg final.m1v final.mp3
>    INFO: [mplex] Frame width     : 800
>    INFO: [mplex] Frame height    : 600

>   INFO: [mplex] Audio version  : 1.0
>   INFO: [mplex] Layer          :        3
>   INFO: [mplex] CRC checksums  :       no
>   INFO: [mplex] Bit rate       :    16384 bytes/sec (128 kbit/sec) INFO:

        Ah, so the video is for "computer playback" only.  That's not a
        framesize that is suitable for VCD/DVD use (and MP3 audio couldn't be
        used for (S)VCD or DVD)

>    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 e0: data will arrive too late sent(SCR)=26798
> required(DTS)=26798

> The man page suggests that I reduce the input bitrate or increase the
> output bitrate.  But, I am new to video/audio editing and I am a little
> out of my league. What do I need to do the get these files to mplex
> together?

        mplex -f 0 -r 1200 -o 3mintest.mpg final.m1v final.mp3

        should work better.  What is needed is the "-r" option that is the
        sum of the audio and video bitrates plus a little extra to account
        for overhead and peaks.  If you still get an underrun error or two
        try bumping up the value used with -r to 1300.

        Cheers,
        Steven Schultz



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to