Re: Handbrake suite?
Re: Handbrake suite?
- Subject: Re: Handbrake suite?
- From: LuKreme <email@hidden>
- Date: Mon, 28 Jun 2010 02:02:06 -0600
On 27-Jun-2010, at 23:12, Yuma Antoine Decaux wrote:
> HI list,
>
> I have just thought out a whole automation process for the tv station i work with which includes a folder action, ftp transfer and e-mail dispatching for article generation, and as i was starting to lay it out on text file, i found out that handbrake doesn't have its suite for applescript.
Handbrake includes HandBrakeCLI. Everything is possible from there.
I just ran
find . -type f -name "*mkv" -exec HandBrakeCLI -S 350 -i {} -o {}.m4v \;
earlier tonight over a folder of HD files to cram them down.
> I can see shell script examples in some googling but i have NO idea of that, still totally arcane though reminiscent of my dos days.
You can easily do all a lot in AppleScript if you want and then simply build the right shell script line to execute.
HandBrakeCLI -Z "High Profile" -i filename -o newfilename
or
HandBrakeCLI -Z Normal -i filename -o newfilename
Is most of what anyone is ever likely to need.
HandBrakeCLI -z (note case) will list the profiles and show the options that are set. For example, High Profile uses:
-e x264 -q 20.0 -a 1,1 -E faac,ac3 -B 160,160 -6 dpl2,auto -R 48,Auto -D 0.0,0.0 -f mp4 --detelecine --decomb --loose-anamorphic -m -x b-adapt=2:rc-lookahead=50
while Normal uses
-e x264 -q 20.0 -a 1 -E faac -B 160 -6 dpl2 -R 48 -D 0.0 -f mp4 --strict-anamorphic -m -x ref=2:bframes=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
So, you have presets for 99% of the work and then you can tweak individual settings if you really need to.
--
Lisa Bonet ate no Basil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden