LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [May be OT, May not] Video recoding/transcoding

[ILUG] [May be OT, May not] Video recoding/transcoding

Kae Verens kae at verens.com
Thu Mar 9 13:46:55 GMT 2006


Justin Mason wrote:
> Your best bet may be to ditch that MSware and get down and dirty with free
> software and a command line ;)
> 
> e.g.:
> 
>   mencoder -oac mp3lame -lameopts cbr:br=64:vol=2 -srate 22050 \
>       -ovc xvid -sws 1 -xvidencopts bitrate=150:max_key_interval=120:vhq=3 \
>       -ofps 15 -vop scale=500:372 big.avi -o small.avi
> 
> that's a command line I used recently to transcode a large AVI file down to a
> lower bitrate and size; mencoder is your best bet.


here's mine - just pop it into a file and run it with the video file name as a 
parameter

clear
rm -f divx2pass.log
ls -l "$1"
df -h
nice mencoder "$1" -oac mp3lame -lameopts \
mode=3:vbr=3 -vf hqdn3d=2:1:2 -vf \
scale -zoom -xy 320 -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=250:v4mv:mbd=2:trell:cmp=3:subcmp=3:\
mbcmp=3:autoaspect:vpass=1 -o tmp.avi \
&& \
nice mencoder "$1" -oac mp3lame -lameopts mode=3:vbr=3 -vf hqdn3d=2:1:2 -vf
scale -zoom -xy 320 -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=250:v4mv:mbd=2:trell:cmp=3:subcmp=3:\
mbcmp=3:autoaspect:vpass=2 -o tmp.avi \
&& \
ls -l "$1" && mv tmp.avi "250/$1" && ls -l "250/$1"

I name this "/bin/reencode"



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell