[MPlayer-users] Contribution: memcode2size.sh (version 0.0000001)

Tomi Ollila Tomi.Ollila at sonera.com
Mon Nov 12 11:11:11 CET 2001


And, Of course, I forgot to outcomment the test line:

Please add `#' at the beginning of line:  T="-frames 3000" (line 10)

(otherwise you are not eligible to send any replies/followups
 to these posts :)

Tomi


Monday Nov 12 11:58:30 +0200 2001 Tomi Ollila <Tomi.Ollila at iki.fi> wrote:
> Hi
> 
> I've written a short script that I think is useful.
> 
> memcode2size tries to encode given source file to
> a new one (test.avi) that fits to the size given on 
> command line.
> 
> Example: sh memcode2size 222 myhomevideo.avi
> 
> encodes myhomevideo.avi to a new file (test.avi)
> that should fill 1/3 of 74 min cd.
> 
> The script run mencoder 3 times. First estimating
> result audio size and then running mencoder in 2 pass 
> mode with calculated video bitrate.
> 
> let's see what you others think.
> 
> Tomi
> 



More information about the MPlayer-users mailing list