Hallo

> > SVCD is a VBR (Varaible Bitrate) you cannot tell how much will fit on a
> > single disk. With the mpeg2enc -S -B options you can mark the stream, in
> > a way, that mplex can split it int parts.
> Sorry I did not make a good job of explaning my needs.  Yes I'm familiar with
> splitting over multiple discs.  What I sometimes have is say 96 minutes of
> video I want on two discs or say 23 minutes on one or whatever.  So I adjust
> the bit rate to produce the maximum file that will just fit.  Seems silly to
> encode at a rate that throws away quality and uses only half the cdr or uses
> two and a bit.
Ok. But currently there is no way to contol the size of the output file.
On a SVCD with SVCD settings fit usually about 40-60 Minutes. 

My personal workaround is spliting the video with editlists into some
parts, and try to fit them as base a possible on the disk. So I may only
have to recencode one or two part, so the they fit nice on the disk(s). 

> > There is no formula, expet that the maximal allowed bitrate is 2788800
> > Bit/sec. Where you can decide how much Bits you want to spend for Audio
> > and Video.
> I understand that with a vbr stream it's not possible to predict the exact
> length of the mpegII without doing it.
Right.

> However some programs seem to estimate it sufficiently well.  e.g. dvd::rip
> can be told the target size, media size, number of disks and estimate a
> bitrate accordingly.
Usually those encoders need to check the material first to know about
the material, and trimm the qualit to the desired size. mpeg2enc is a
single pass encoder. 

One comment to your command:
  system("smil2yuv -i raw \"$smilfile\" | yuvdenoise -F -f   | yuvscaler
-v O  
-O SVCD -n p | mpeg2enc -v 0 -a 2 -f 5 -b 1750 -q 3 -4 2 -2 1 -S 785 -N
-V 
230  -o \"$videofile\"");

You should set a much lower quality factor, than you might get a better
VBR stream. 
When you take the look at the howto, look at the sections: Creating
MPEG2 Videos, subsection: Which values should be used for VBR Encoding.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to