So has this been updated to encode .avi files yet. I can't figure out how to modify the script to allow for avi encoding.
So has this been updated to encode .avi files yet. I can't figure out how to modify the script to allow for avi encoding.
* AVI: AVI is a rough beast. It is obsolete. It does not support modern container features like chapters, muxed-in subtitles, variable framerate video, or out of order frame display. Furthermore, HandBrake's AVI muxer is vanilla AVI 1.0 that doesn't even support large files. The code has not been actively maintained since 2005. Keeping it in the library while implementing new features means a very convoluted data pipeline, full of conditionals that make the code more difficult to read/maintain, and make output harder to predict. As such, it is now gone. It is not coming back, and good riddance.
cmd="$toolPath -Z\"High Profile\" -i $tmpNoSpacePath -t $aTrack -o \"$outputFilePath\" > /tmp/${dvdNameALNUM}Results.txt 2>&1"
It looks like this script fails if you try to use an alternate profile with a space in, even if you quote it. I checked the Handbrake_CLI output when trying to rip using -Z"High Profile", and it says "Using preset:High" (dropping the Profile). The script fails silently and the encodes are done using the standard features.
My scripting fu isn't strong enough to correct this beyond manually adding the profile in the call:
Code:cmd="$toolPath -Z\"High Profile\" -i $tmpNoSpacePath -t $aTrack -o \"$outputFilePath\" > /tmp/${dvdNameALNUM}Results.txt 2>&1"
StickyC!
Sorry, this workflow isn't being supported anymore. The new workflow is listed above your post.
Thanks!
mac.jedi
The new workflow looks to be an excellent end-to-end solution. I've got a folder of dozens of existing VIDEO_TS folders already painstakingly tagged with metadata, so this single-step piece works much better for me.
Right on, but I'm not sure I understand how you "tag" a VIDEO_TS folder?
If your looking to automate handbrake encoding, download the Automator actions in the tutorial and just use the Batch Encode service. It's basically a more advanced version of this script wrapped in an Automator action but it only works with Mac OS X 10.6.