On Sun, 22 Aug 2004, Anne Wilson wrote:
> But after a few lines it exits with 'too many frame drops'.
>
> > > mplex -V -r 4750 coda.m2v coda_sound.mp2 -o coda.mpg
> > > INFO: [mplex] Frame width : 720
> > > INFO: [mplex] Frame height : 576
> > > INFO: [mplex] Aspect ratio : 1:0.6735
> > > INFO: [mplex] Picture rate : 25.000 frames/sec
> > > INFO: [mplex] Bit rate : 4500000 bits/sec
> > > INFO: [mplex] Vbv buffer size : 229376 bytes
> The m2v was made with
>
> lav2yuv coda.eli | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 9 -b 4500 -q 7
> - -4 1 -2 1 -o coda.m2v
Ah, ok - you overrode the default bitrate (which for -f 8 and -f 9
is 7500). So, when you do that you need to specify to 'mplex' the
sum of the video and audio bitrates + a small amount for the multi-
plexing overhead. I use 2% as a general guidline.
Thus in your case that would be (4500 + 224) * 1.02 or 4818. It is
quite safe to specify a slightly higher value to mplex, in this case
I'd use 4900:
mplex -f 9 -r 4900 -o output m2v mp2
In general if you get mplex errors like 'too many frame drops' just
incrase the -r value a little bit at a time until the errors go away.
It's not until you get into the HDTV arena that other limits/problems
begin to creep in - not something you'll have to worry about at this
time though ;)
Cheers,
Steven Schultz
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users