-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave S wrote: > Hi all, > > I have a bunch of .avi video files that I use in a openoffice presentation, > they are nice and clear but really large files (1 - 2 GB each !). > > I know nothing of video files, is it possible for me to re-encode them to a > more efficient format without loosing quality ?
I use something like this. Adapt for your usage. It takes some parameters, but it's mainly used for dvd ripping: #!/bin/sh rm frameno.avi echo "DVD TITLE: $1" echo "OUTPUTFILE: $2" echo "SID: $3" echo "AID: $4" echo "Is that what you want? Press enter for OK, CTRL+C to cancel." read k mencoder dvd://$1 -sid $3 -aid $4 -ovc frameno -o frameno.avi -oac mp3lame -lameopts mode=1:vbr=2:q=6 -af volnorm -af-adv force=0 mencoder -oac copy -ovc xvid -xvidencopts bitrate=-1400000:me_quality=6:chroma_opt:vhq=0:pass=1 dvd://$1 -sid $3 -aid $4 -o /dev/null mencoder -oac copy -ovc xvid -xvidencopts bitrate=-1400000:me_quality=6:chroma_opt:vhq=0:pass=2 dvd://$1 -sid $3 -aid $4 -o $2 Check out the bitrate= parameter in the last two commands. The negative number tells mencoder to create a 1.4gb file (that's 1400000kilobytes, rounded up, not exact 1.4gb). - -- Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica ¿No sabés a dónde ir a comer o tomar algo? Visitá www.vivamoslavida.com.ar LISTA DE CASAMIENTO: Cualquier Fravega a nombre de Busleiman (37520). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFlAFoAlpOsGhXcE0RAvgPAJ4t4fDkcj1GPiWOEiKDfqdFu46wFQCfX8XT FrXJgaKdE35E5dcOOgN1XJY= =x/vp -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list