Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
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.

Sorry, but AVI will not be added. The workflow was designed for DVD sources and mp4 output formats. The next update will include support for DVD, Blu-Ray, m2ts and mkv input sources. The output formats will be mkv or m4v.

Also, you should be aware that AVI will no longer supported by HandBrake in upcoming releases:

* 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.

More information here: http://forum.handbrake.fr/viewtopic.php?f=5&t=12464
 
Issue with alternate profiles

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"
 
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
 
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.
 
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.
 
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.

I was using a Windows app (Ember, IIR) that downloads/generates the thumbnail/poster images and creates .nfo files.

I've got the script working happily for now, but will try the Automator package when I rip the next batch (it's about time I started learning about Automator anyway). I also ran across an OS-X app called Vidler that seems to be fairly decent, but that's for another thread :)

Thanks!
 
You will find out what he has laid out works like a charm. Put in the DVD and most of it, if you install Hazel is automated.

Doen about 500 now, with about 700 or so more to go. And that's not counting the TV Shows. His scripts have been a lifesaver.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.