On Thursday 28 December 2006 17:39, Arturo 'Buanzo' Busleiman wrote: > 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).
Thanks for that I will give it a go :) Dave -- gentoo-user@gentoo.org mailing list