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

Tomi Ollila Tomi.Ollila at iki.fi
Mon Nov 12 10:58:30 CET 2001


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mencode2size.sh.gz
Type: application/octet-stream
Size: 725 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20011112/a33521bc/attachment.obj>


More information about the MPlayer-users mailing list