Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: script to convert multiple *vdr to cd-sized *avi



> hello Richard,
> 
> i can imagine, you only need to know the number of frames the movie
has to
> calculate bitrates.
> the advantage is to reduce lines of code significantly and not have to
> patch mecoder.
> perhaps you try something like:
> 
> BITRATE=$(( ${CDSIZE} * ${CDCOUNT} * 204800 / ${FRAMES} ))
> MOVIE_BITRATE=$(( ${BITRATE} - ${AUDIO_BITRATE} ))

I haven't read either scripts and I don't know whether you are encoding
using a variable bitrate codec but if you are then the above formula
would be invalid and you would need multiple encoding passes to produce
accurate file sizes.  

Simon 




Home | Main Index | Thread Index