PDA

View Full Version : How-To: Automating DVD & Blu-Ray (Backup, Encoding & Tagging) for Mac OS X




Pages : 1 2 3 [4] 5

Chimaera
Sep 23, 2011, 06:35 AM
This looks awesome - am truely impressed you went to the time to put this all together!

One question though - is there any way to add an option to have the subtitles embedded in the video but *not* burned in? As I understand it recent versions of handbrake support the functionality.



mac.jedi
Sep 23, 2011, 07:42 AM
This looks awesome - am truely impressed you went to the time to put this all together!

One question though - is there any way to add an option to have the subtitles embedded in the video but *not* burned in? As I understand it recent versions of handbrake support the functionality.

Hi Chimaera!

You can override Batch Encode's preset encode settings by using the Custom Encode Setting options in the workflow.

Batch Encode's preset encode settings will burn in forced subtitles in your native language (small segments of dialog in another language); or all subtitles if the main audio language is not the native language set in the action.

For example, in Batch Encode, if your Native Language is set to English and the "Use default audio" option is turned on; when you run Batch Encode it will burn-in only the subtitles for the "terrorist" dialog in Iron Man, and all the subtitles for the Japanese dialog in Kurosawa's Seven Samurai.

Like I said before, you can override this functionality by using your own custom setting. To burn a subtitle track, you use the "--subtitle-burn" argument. To embed a subtitle you omit this argument. You can use the arguments below as a starting point.

However, A WORD OF WARNING. Embedding subtitles may not be very user-friendly. I haven't tried it in a while, but in the past you'd have to manually turn the subtitle track on during playback. This was the case for the Apple TV, Front Row, iTunes, Plex, pretty much everything. This might be fine for the occasional foreign film, but if you have to do it before every movie that may or may not include forced-subtitles, then it's not very functional. This is why Batch Encode's presets include the "--subtitle-burn" option by default.

EXAMPLE (using ATV2 preset):
-e x264 -q 20.0 -r 29.97 --pfr -a \$audioTrack,\$audioTrack -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 --width 1280 --maxHeight 720 -m --subtitle scan --subtitle-forced scan --native-language \$nativeLanguage


I hope this helps.

Thanks!

mac.jedi

Chimaera
Sep 23, 2011, 08:57 AM
I hope this helps.

Thanks!

mac.jedi

It does indeed - thanks :)

You're quite right about the relative user-friendlyness of such a setup but I've always preferred doing it that way anyway - some nebulous idea of portability if I ever wanted to replace or change the embedded subs.

Thanks again!

D

HackerJL
Sep 24, 2011, 11:18 AM
I looked into this further and there seems to be an issue with the tvdb's data for Parenthood (2010) Season 3, either damaged, not updated or incomplete. The other seasons work fine.

Thanks for the lookup. How can I fix or help with this scenario. I also ran into this with Fringe S04E01. How can I track whats causing the issue in thetvdb end, so I can fix it for me, and others. Log files that show what fails?

HackerJL
Sep 24, 2011, 01:12 PM
mac.jedi.

Can we have it so it doesnt add the -1 on the end of files that come out of the Batch Rip TV folder? Or how can we?

edit: I used hazel's custom tokens...

HackerJL
Sep 25, 2011, 01:53 PM
Interesting. I have noticed since I am converting a ton of my dvd tv shows, that some just plain refuse to tag. Here is one in perticular:
http://thetvdb.com/?tab=episode&seriesid=82283&seasonid=33133&id=371474&lid=7

Is it due to the name of the episode being: Plaisir D'Amour -??

mac.jedi
Sep 26, 2011, 09:28 PM
Interesting. I have noticed since I am converting a ton of my dvd tv shows, that some just plain refuse to tag. Here is one in perticular:
http://thetvdb.com/?tab=episode&seriesid=82283&seasonid=33133&id=371474&lid=7

Is it due to the name of the episode being: Plaisir D'Amour -??

The episode name is fine. It's failing because of the latin character in the actor's name "Alexander Skarsgård"

In the Add TV Tag action's main.command file there is a subroutine called "function substituteISO88591 ()". Typically, the data returned would have the "å" equivalent, but in this case it looks like it's returning the actual character.

You'll need to add the following string to the sed command.
-e 's|å|a|g'

Thanks for letting me know.

mac.jedi

mac.jedi
Sep 26, 2011, 09:48 PM
Thanks for the lookup. How can I fix or help with this scenario. I also ran into this with Fringe S04E01. How can I track whats causing the issue in thetvdb end, so I can fix it for me, and others. Log files that show what fails?

I just tested this one and it tags fine for me. Have you tried it recently?

Update: I also just tried Parenthood (2010) Season 3 and they are all working now. thetvdb.com must have been having some issues or going through some changes.

Note: These work without the fix I suggested for True Blood.

gcoghill
Sep 27, 2011, 09:25 AM
I have some shows that just won't get tagged, and typically these are shows I don't keep around anyways so it's not a big deal, but I would like to be able to mark them as a TV show even if tagging fails.

I've scoured the internet for a way to do this with my limited AppleScripting skills. Can anyone help me out?

mac.jedi
Sep 27, 2011, 02:43 PM
I have some shows that just won't get tagged, and typically these are shows I don't keep around anyways so it's not a big deal, but I would like to be able to mark them as a TV show even if tagging fails.

I've scoured the internet for a way to do this with my limited AppleScripting skills. Can anyone help me out?

Are you trying to set the file's "Media Type" so it will show up in iTunes "TV Shows" section?

If so, you can create a simple Automator Service using mp4tags; a command-line utility that's installed along with the Batch Rip Actions.

Here's a quick rundown on how to set up your new Service workflow:


Open Automator.
Choose File > New.
Select the Services template, and then click Choose.
Choose "Movie File" in the “Service receives selected” pop-up menu.
Choose "Finder" from the “in” pop-up menu.
Locate the "Run Shell Script" action in the "Utilities" section of the Actions library list on the left side of the window and drag it into the workflow area on the right.
Choose "as arguments" in the “Pass input” pop-up menu.
Copy and paste the code below into the panel's text area; replacing any existing text.

for f in "$@"
do
/usr/local/bin/mp4tags -i 10 "$f"
done
Choose File > Save; rename the service and click Save.

Note: If you'd like to create one to set the media type to movie, you'd use 9 instead of 10 in the code above.



I hope this helps!

mac.jedi

HackerJL
Sep 27, 2011, 05:07 PM
I'd rather figure out a way for Hazel to do it rather than adding something to the action. A down and dirty way to do it would be to have Hazel match all movie files then add a "Run Shell Script" on the matched file to see if it's got a genre added:


mp4infoPath="/usr/local/bin/mp4info"
getGenre=`"$mp4infoPath" "$1" | grep "Genre"`
fileNameNoExtension=`basename "$1" .m4v`
fileDir=`dirname "$1"`
untaggedFileName="${fileNameNoExtension}-untagged.m4v"
taggedFileName="${fileNameNoExtension}-tagged.m4v"
if [ -z "$getGenre" ]; then
# Rename File if no genre is found
mv "$1" "${fileDir}/${untaggedFileName}"
else
# Rename File if genre is found
mv "$1" "${fileDir}/${taggedFileName}"
fi


I hope this helps a bit :)

I have been using this perfectly. However I notice some things are not pulling down genre's (not your problem). instead of the Genre, can we check for artist or year or something. If so, whats that variable?

Here is todays example: http://www.themoviedb.org/movie/52449# It has a genre, but the tag and rename movie will not insert it. Import it into itunes shows no genre. Am I missing something?


On a second question, what is the requirements for a artwork integrity check.
For example: http://thetvdb.com/?tab=season&seriesid=164501&seasonid=474577&lid=7 fails the integrity check. My first thought was due to the fact that it was missing, but it is there, and matches thetvdb.org's requirements. And I guess is there a way to just allow it? If these communities have their own policing/etc maybe we could remove that requirement. Just asking/inquiring.

mac.jedi
Sep 27, 2011, 07:06 PM
I have been using this perfectly. However I notice some things are not pulling down genre's (not your problem). instead of the Genre, can we check for artist or year or something. If so, whats that variable?

In Terminal, type: /usr/local/bin/mp4info /path/to/file.mp4
This will list all the tags that exist in the file. Take a look at what's listed and choose a keyword that you'd like Hazel to search for. In Hazel, replace "Genre" in the grep command with your new keyword. Hazel will now act on any file that's tagged with that keyword.

Here is todays example: http://www.themoviedb.org/movie/52449# It has a genre, but the tag and rename movie will not insert it. Import it into itunes shows no genre. Am I missing something?

It should tag it as a comedy. I'll have to do some testing to see what the action comes back with.

On a second question, what is the requirements for a artwork integrity check.
For example: http://thetvdb.com/?tab=season&seriesid=164501&seasonid=474577&lid=7 fails the integrity check. My first thought was due to the fact that it was missing, but it is there, and matches thetvdb.org's requirements. And I guess is there a way to just allow it? If these communities have their own policing/etc maybe we could remove that requirement. Just asking/inquiring.

From what I remember, it downloads the first artwork file from the database then tests to make sure the file size is not 0. Sometimes the format or download fails or the file is corrupt. I've thought about making it loop through the list, but never got around to it. For now, you can try using the Add poster service to select a poster and add it to the file.

mac.jedi
Sep 27, 2011, 08:41 PM
On a second question, what is the requirements for a artwork integrity check.
For example: http://thetvdb.com/?tab=season&seriesid=164501&seasonid=474577&lid=7 fails the integrity check. My first thought was due to the fact that it was missing, but it is there, and matches thetvdb.org's requirements. And I guess is there a way to just allow it? If these communities have their own policing/etc maybe we could remove that requirement. Just asking/inquiring.

I forgot to explain why we need to test the image in the first place.

Let's say the action downloaded a bad cover art file. Without the test we have no way of knowing the file is bad, so we just pass the image's file path along to AtomicParsley, along with all the other tags. AtomicParsley will not only fail to add any of the tags, but in some cases corrupt the movie file as well.

In my experience, it doesn't happen that often … but when it does, it's better to have missing cover art than an unplayable file. I hope this helps clarify why we need to test the image after we've tried to download it.

Thanks!

mac.jedi

mac.jedi
Sep 27, 2011, 09:47 PM
Here is todays example: http://www.themoviedb.org/movie/52449# It has a genre, but the tag and rename movie will not insert it. Import it into itunes shows no genre. Am I missing something?

I ran the service on a file and it renamed and tagged correctly for me. There could be a problem with your file. Try another file and just rename it to this one, and see if it tags correctly.

Here's the output from tag inspector so you can see how it tagged on my end … unfortunately whoever updated this movie didn't add the description in english :(



--------------------------------------------------------------------------------------------------------------
TAG INFORMATION FROM MP4INFO:
--------------------------------------------------------------------------------------------------------------

Track Type Info
1 video H264 Baseline@3, 1440.439 secs, 1884 kbps, 704x480 @ 24.308561 fps
2 audio MPEG-4 AAC LC, 1440.448 secs, 164 kbps, 48000 Hz
3 audio ac-3, 1440.448 secs, 448 kbps, 48000 Hz
23 text
Name: Bad Teacher (2011)
Artist: Jason Segel, Cameron Diaz, Justin Timberlake, Lucy Punch
Release Date: 2011-06-24
Cover Art pieces: 1
Short Description: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Long Description: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Purchase Date: 2011-09-27 19:37:09

--------------------------------------------------------------------------------------------------------------
TAG INFORMATION FROM ATOMICPARSLEY64:
--------------------------------------------------------------------------------------------------------------

Atom "©nam" contains: Bad Teacher (2011)
Atom "©ART" contains: Jason Segel, Cameron Diaz, Justin Timberlake, Lucy Punch
Atom "©day" contains: 2011-06-24
Atom "purd" contains: 2011-09-27 19:37:09
Atom "com.apple.iTunes;iTunEXTC" contains: mpaa|R|400|
Atom "gnre" contains: Comedy
Atom "desc" contains: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Atom "ldes" contains: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Atom "com.apple.iTunes;iTunMOVI" contains: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>cast</key>
<array>
<dict>
<key>name</key>
<string>Jason Segel</string>
</dict>
<dict>
<key>name</key>
<string>Cameron Diaz</string>
</dict>
<dict>
<key>name</key>
<string>Justin Timberlake</string>
</dict>
<dict>
<key>name</key>
<string>Lucy Punch</string>
</dict>
</array>
<key>directors</key>
<array>
<dict>
<key>name</key>
<string>Jake Kasdan</string>
</dict>
</array>
<key>screenwriters</key>
<array/>
<key>producers</key>
<array/>
</dict>
</plist>
Atom "covr" contains: 1 piece of artwork

HackerJL
Sep 27, 2011, 11:51 PM
I ran the service on a file and it renamed and tagged correctly for me. There could be a problem with your file. Try another file and just rename it to this one, and see if it tags correctly.

Here's the output from tag inspector so you can see how it tagged on my end … unfortunately whoever updated this movie didn't add the description in english :(



--------------------------------------------------------------------------------------------------------------
TAG INFORMATION FROM MP4INFO:
--------------------------------------------------------------------------------------------------------------

Track Type Info
1 video H264 Baseline@3, 1440.439 secs, 1884 kbps, 704x480 @ 24.308561 fps
2 audio MPEG-4 AAC LC, 1440.448 secs, 164 kbps, 48000 Hz
3 audio ac-3, 1440.448 secs, 448 kbps, 48000 Hz
23 text
Name: Bad Teacher (2011)
Artist: Jason Segel, Cameron Diaz, Justin Timberlake, Lucy Punch
Release Date: 2011-06-24
Cover Art pieces: 1
Short Description: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Long Description: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Purchase Date: 2011-09-27 19:37:09

--------------------------------------------------------------------------------------------------------------
TAG INFORMATION FROM ATOMICPARSLEY64:
--------------------------------------------------------------------------------------------------------------

Atom "©nam" contains: Bad Teacher (2011)
Atom "©ART" contains: Jason Segel, Cameron Diaz, Justin Timberlake, Lucy Punch
Atom "©day" contains: 2011-06-24
Atom "purd" contains: 2011-09-27 19:37:09
Atom "com.apple.iTunes;iTunEXTC" contains: mpaa|R|400|
Atom "gnre" contains: Comedy
Atom "desc" contains: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Atom "ldes" contains: Sommige docenten doen maar wat. Elizabeth (Cameron Diaz), bijvoorbeeld. Ze is meedogenloos, onaangepast en vloekt er op los. Ze drinkt, wordt regelmatig high en wil niets liever dan een rijke man aan de haak slaan, zodat ze kan stoppen met haar flutbaan. Als ze gedumpt wordt door haar verloofde, zet ze alles op alles om een rijke, knappe vervanger (Justin Timberlake) voor zich te winnen. Elizabeth gaat de strijd aan met haar overenthousiaste collega Amy (Lucy Punch) en gaat niet in op de avances van een sarcastische, onfatsoenlijke gymleraar (Jason Segel).
Atom "com.apple.iTunes;iTunMOVI" contains: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>cast</key>
<array>
<dict>
<key>name</key>
<string>Jason Segel</string>
</dict>
<dict>
<key>name</key>
<string>Cameron Diaz</string>
</dict>
<dict>
<key>name</key>
<string>Justin Timberlake</string>
</dict>
<dict>
<key>name</key>
<string>Lucy Punch</string>
</dict>
</array>
<key>directors</key>
<array>
<dict>
<key>name</key>
<string>Jake Kasdan</string>
</dict>
</array>
<key>screenwriters</key>
<array/>
<key>producers</key>
<array/>
</dict>
</plist>
Atom "covr" contains: 1 piece of artwork


Interesting. Here is what I get:

/usr/local/bin/AtomicParsley64 /Users/james/Movies/Batch\ Encode/Bad\ Teacher\ \(2011\).m4v -t
Atom "com.apple.iTunes;iTunEXTC" contains: mpaa|R|400|
Atom "com.apple.iTunes;iTunMOVI" contains: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>cast</key>
<array>
<dict>
<key>name</key>
<string>Jason Segel</string>
</dict>
<dict>
<key>name</key>
<string>Cameron Diaz</string>
</dict>
<dict>
<key>name</key>
<string>Justin Timberlake</string>
</dict>
<dict>
<key>name</key>
<string>Lucy Punch</string>
</dict>
</array>
<key>directors</key>
<array>
<dict>
<key>name</key>
<string>Jake Kasdan</string>
</dict>
</array>
<key>screenwriters</key>
<array/>
<key>producers</key>
<array/>
</dict>
</plist>
Atom "©nam" contains: Bad Teacher (2011)
Atom "©ART" contains: Jason Segel, Cameron Diaz, Justin Timberlake, Lucy Punch
Atom "gnre" contains:
Atom "©day" contains: 2011-06-24
Atom "desc" contains: A comedy centered around a foul-mouthed, junior high teacher who, after being dumped by her sugar daddy, begins to woo a colleague -- a move that pits her against a well-loved teacher.
Atom "ldes" contains: A comedy centered around a foul-mouthed, junior high teacher who, after being dumped by her sugar daddy, begins to woo a colleague -- a move that pits her against a well-loved teacher.
Atom "©too" contains: HandBrake 0.9.5 2011010300
Atom "purd" contains: 2011-09-27 22:42:52
Atom "hdvd" contains:
Atom "cnID" contains:
~?#
Atom "covr" contains: 1 piece of artwork


This is using the 'tag and rename movie items'. I have told it to remove the tags, replace the file, etc. Still wont post a genre. Also, mine is in english, but thats maybe cause I edited the online version earlier today.

Odd. Very odd. Ideas?

Edit. Also tried it on a newly converted 200mb file that had nothing to do with the movie. Still the same result.

gcoghill
Sep 28, 2011, 10:24 PM
Are you trying to set the file's "Media Type" so it will show up in iTunes "TV Shows" section?

If so, you can create a simple Automator Service using mp4tags; a command-line utility that's installed along with the Batch Rip Actions.

Here's a quick rundown on how to set up your new Service workflow:


Open Automator.
Choose File > New.
Select the Services template, and then click Choose.
Choose "Movie File" in the “Service receives selected” pop-up menu.
Choose "Finder" from the “in” pop-up menu.
Locate the "Run Shell Script" action in the "Utilities" section of the Actions library list on the left side of the window and drag it into the workflow area on the right.
Choose "as arguments" in the “Pass input” pop-up menu.
Copy and paste the code below into the panel's text area; replacing any existing text.

for f in "$@"
do
/usr/local/bin/mp4tags -i 10 "$f"
done
Choose File > Save; rename the service and click Save.

Note: If you'd like to create one to set the media type to movie, you'd use 9 instead of 10 in the code above.



I hope this helps!

mac.jedi

This is exactly what I was trying to accomplish, had no idea it was built in to your stuff! The command line is over my head, but thanks for this info —*I can do this!

mac.Jedi rules! :)

One question: how would I set this up as a Workflow to use with Hazel?

mac.jedi
Sep 29, 2011, 08:08 AM
One question: how would I set this up as a Workflow to use with Hazel?

Hi gcoghill!

You can use the same script I suggested before in Hazel … just change the "variable" from "$f" to "$1" (see below).


In Hazel, set up a new rule and set some conditions like "Kind" is "Movie"
Next, set "Do the following" to "Run Shell Script" > "Embedded Script"
Copy and paste the script below into Hazel's "Edit Script" text area

# HAZEL (RUN SHELL SCRIPT): SET MEDIA TYPE TO TV SHOW
/usr/local/bin/mp4tags -i 10 "$1"

Click OK; Hazel will now set the media type to TV Show for any movie files that match the conditions you've set in the rule.



I hope this helps!

Thanks!

mac.jedi

gcoghill
Sep 29, 2011, 11:23 AM
Hi gcoghill!

You can use the same script I suggested before in Hazel … just change the "variable" from "$f" to "$1" (see below).

mac.jedi

Thanks again MJ!

brandon95030
Oct 1, 2011, 08:20 PM
I'm having a strange issue with curl and thetvdb.com. Some episodes seem to trigger a gzip compressed file to be retrieved.

For example, today the following will return a gzip compressed file for me: curl http://thetvdb.com/api/9F21AC232F30F34D/series/78901/default/6/3/en.xml

If I pipe it thru gunzip I get the readable text file: curl http://thetvdb.com/api/9F21AC232F30F34D/series/78901/default/6/3/en.xml | gunzip

Obviously it's causing the tag scripts to fail. Does anyone know why this is happening? Or is there a way to make curl detect if the file is compressed and decompress it automatically?


Edit:
I just discovered if I add --compressed to the curl command it seems to work for all episodes I've tried:
curl --compressed http://thetvdb.com/api/9F21AC232F30F34D/series/78901/default/6/3/en.xml

I have no idea why sometimes a gzip compressed version is being sent by thetvdb.com.


Thanks. BTW, awesome work in this post.

mac.jedi
Oct 2, 2011, 11:19 AM
I'm having a strange issue with curl and thetvdb.com. Some episodes seem to trigger a gzip compressed file to be retrieved.

Obviously it's causing the tag scripts to fail. Does anyone know why this is happening? Or is there a way to make curl detect if the file is compressed and decompress it automatically?

Hi Brandon!

Thanks for letting me know. I'm not sure if this is a bug in tvdb's api or an undocumented change. They used to only compress the xml for the entire series … so an app that needed it could download the data for every season and episode with one command.

I did a quick test and adding the "--compressed" option should work whether or not the data is compressed. I'll make the change permanent in the next release.

In the main.command file, you might wanna "find and replace" all the lines that contain "curl -Ls" with "curl -Ls --compressed"

Thanks!

mac.jedi

mac.jedi
Oct 2, 2011, 01:16 PM
Hi Brandon!

Thanks for letting me know. I'm not sure if this is a bug in tvdb's api or an undocumented change. They used to only compress the xml for the entire series … so an app that needed it could download the data for every season and episode with one command.

I did a quick test and adding the "--compressed" option should work whether or not the data is compressed. I'll make the change permanent in the next release.

In the main.command file, you might wanna "find and replace" all the lines that contain "curl -Ls" with "curl -Ls --compressed"

Thanks!

mac.jedi

One more thing …

I've been seeing a lot more latin characters in the names and descriptions which is causing some issues … they used to mostly be hex equivalents.

You might also want to edit line 163 of the main.command file to read:

echo "$xmlFile" | iconv -f ISO-8859-1 -t UTF-8 | "$xmllintPath" --format --output "${sourceTmpFolder}/${searchTerm}-${season_episode}_tags_tmp.xml" -

brandon95030
Oct 2, 2011, 01:31 PM
One more thing …

I've been seeing a lot more latin characters in the names and descriptions which is causing some issues … they used to mostly be hex equivalents.

You might also want to edit line 163 of the main.command file to read:

echo "$xmlFile" | iconv -f ISO-8859-1 -t UTF-8 | "$xmllintPath" --format --output "${sourceTmpFolder}/${searchTerm}-${season_episode}_tags_tmp.xml" -

Awesome, I was just about to post about this. I'm using sublercli instead of atomicparsley, and it has issues with é and other characters in the episode description. I guess atomicparsley also has issues with these characters. I'll try your suggested code out today.

gcoghill
Oct 2, 2011, 05:28 PM
Hi Brandon!
In the main.command file, you might wanna "find and replace" all the lines that contain "curl -Ls" with "curl -Ls --compressed"


Where would one find this file? I am seeing hit-or-miss tagging as well.

mac.jedi
Oct 2, 2011, 06:26 PM
Where would one find this file? I am seeing hit-or-miss tagging as well.

FYI - This fix is only for the Add TV Tags.action.

In the Finder, navigate to /Library/Automator.
Right-click on the Add TV Tags.action file.
Choose > Show Package Contents.
Navigate to Contents/Resources/main.command.
You'll need to edit the file and save it as a "plain text" file.

gcoghill
Oct 4, 2011, 01:56 AM
FYI - This fix is only for the Add TV Tags.action.

Perfect, all is working again — thanks!

gunthermic
Oct 5, 2011, 09:03 AM
I was wondering mac.jedi if you could do something..

I am startign to run into more and more BD's that I am having to manually encode due to it grabbing the Directors Cut of the Movie instead of the main one. For example, Star Wars BD, it encode the one where the director makign comments and such name appears in the movie. Uggh, thats 8 hours of recoding LOL..

Can you make a new version of Batch Encode(Finder) in which it ask which track to encode instead? We could then at least what run movie in VLC check the track and then pass that into the arg's for Batch Encoding?

I know you can do it.. becuase you are a God.. the question is will you..

mac.jedi
Oct 5, 2011, 10:15 AM
I was wondering mac.jedi if you could do something..

I am startign to run into more and more BD's that I am having to manually encode due to it grabbing the Directors Cut of the Movie instead of the main one. For example, Star Wars BD, it encode the one where the director makign comments and such name appears in the movie. Uggh, thats 8 hours of recoding LOL..

Can you make a new version of Batch Encode(Finder) in which it ask which track to encode instead? We could then at least what run movie in VLC check the track and then pass that into the arg's for Batch Encoding?

I know you can do it.. becuase you are a God.. the question is will you..

Hi gunthermic!

I was thinking about posting about this issue. Remember, using custom encode settings will override the default settings. You can specify track numbers, chapter numbers, anything HandBrakeCLI allows.

Now, the Star Wars Blu-rays are a special case. The video track isn't the problem, it's the subtitles. There are up to nine subtitle tracks depending on the episode. Using Handbrake to scan for the forced subtitles doesn't work on these discs. As you found, it selects a commentary subtitle track.

You were on the right track by using VLC. The way I solved the issue was to open the mkv's in VLC and look for the correct subtitle track … the one that included only the forced subtitles for the alien language scenes. Then I used a custom encode setting to specify the subtitle track to use. Since I've already identified the subtitle tracks, you don't have to create the mkv's first. Just input the custom encode setting.

Below is the encode setting I used for the Star Wars Blu-rays.

-e x264 -q 20.0 -r 29.97 --pfr -a \$audioTrack,\$audioTrack -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 --width 1280 --maxHeight 720 -m --subtitle 8 --subtitle-burn

For Episodes I, II and VI you'd specify "--subtitle 8"
For Episode IV you'd specify "--subtitle 2"
Episodes III and V don't have any forced-subtitles, so you'd delete both subtitle options.

I hope this helps!

Thanks!

mac.jedi

gunthermic
Oct 6, 2011, 03:07 AM
Hi gunthermic!

I was thinking about posting about this issue. Remember, using custom encode settings will override the default settings. You can specify track numbers, chapter numbers, anything HandBrakeCLI allows.

Now, the Star Wars Blu-rays are a special case. The video track isn't the problem, it's the subtitles. There are up to nine subtitle tracks depending on the episode. Using Handbrake to scan for the forced subtitles doesn't work on these discs. As you found, it selects a commentary subtitle track.

You were on the right track by using VLC. The way I solved the issue was to open the mkv's in VLC and look for the correct subtitle track … the one that included only the forced subtitles for the alien language scenes. Then I used a custom encode setting to specify the subtitle track to use. Since I've already identified the subtitle tracks, you don't have to create the mkv's first. Just input the custom encode setting.

Below is the encode setting I used for the Star Wars Blu-rays.

-e x264 -q 20.0 -r 29.97 --pfr -a \$audioTrack,\$audioTrack -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 --width 1280 --maxHeight 720 -m --subtitle 8 --subtitle-burn

For Episodes I, II and VI you'd specify "--subtitle 8"
For Episode IV you'd specify "--subtitle 2"
Episodes III and V don't have any forced-subtitles, so you'd delete both subtitle options.

I hope this helps!

Thanks!

mac.jedi

Unstood, but i think my idea for those BD that have rated/unrated theratical/extended version my idea would be great, instead of having to go into and change the batch encode workflow..

One that asks for track to use would be awesome!

What would we change to make star wars a SD version as well...

mac.jedi
Oct 7, 2011, 09:34 AM
Unstood, but i think my idea for those BD that have rated/unrated theratical/extended version my idea would be great, instead of having to go into and change the batch encode workflow..

One that asks for track to use would be awesome!

If you don't wanna change the Batch Encode workflow, I'd suggest selecting the track you want in MakeMKV and create an mkv containing only the selected track. Then feed the mkv into Batch Encode.

What would we change to make star wars a SD version as well...
You'd just change the HB args to reflect the settings for your device. You'd just wanna make sure you use the subtitle args I listed earlier.

You'd need to activate the SD Encode Option and the SD Custom Encode Option. Then, paste the commands into the custom SD text field in the workflow. The tutorial has more info on this.


Here's an example using HB's Universal setting:

-e x264 -q 20.0 -a \$audioTrack,\$audioTrack -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -X 720 --loose-anamorphic -m --subtitle 8 --subtitle-burn -x cabac=0:ref=2:me=umh:bframes=0:weightp=0:8x8dct=0:trellis=0:subme=6

You can get a list of HB's presets in Terminal by typing: /Applications/HandBrakeCLI -z

I hope this helps.

Thanks!

mac.jedi

brandon95030
Oct 7, 2011, 08:21 PM
Hi,

I have an issue with the Batch Rip service. It doesn't work for blu-rays. I think I narrowed it down to the discType check in main.command.

For some reason the diskutil command returns nothing for "Optical Media Type" for my blu-ray drive. Have you seen this before? I'm using a USB drive enclosure.


Device Identifier: disk2
Device Node: /dev/disk2
Part of Whole: disk2
Device / Media Name: ATAPI iHOS104 Media

Volume Name: FRINGE_SEASON_1_DISC_4
Escaped with Unicode: FRINGE_SEASON_1_DISC_4

Mounted: Yes
Mount Point: /Volumes/FRINGE_SEASON_1_DISC_4
Escaped with Unicode: /Volumes/FRINGE_SEASON_1_DISC_4

File System Personality: UDF
Type (Bundle): udf
Name (User Visible): Universal Disk Format (UDF)

Content (IOContent): None
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported

Total Size: 35.7 GB (35735470080 Bytes) (exactly 69795840 512-Byte-Blocks)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
Device Block Size: 2048 Bytes

Read-Only Media: Yes
Read-Only Volume: Yes
Ejectable: Yes

Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No


Thanks

mac.jedi
Oct 7, 2011, 08:52 PM
Hi,

I have an issue with the Batch Rip service. It doesn't work for blu-rays. I think I narrowed it down to the discType check in main.command.

For some reason the diskutil command returns nothing for "Optical Media Type" for my blu-ray drive. Have you seen this before? I'm using a USB drive enclosure.


Device Identifier: disk2
Device Node: /dev/disk2
Part of Whole: disk2
Device / Media Name: ATAPI iHOS104 Media

Volume Name: FRINGE_SEASON_1_DISC_4
Escaped with Unicode: FRINGE_SEASON_1_DISC_4

Mounted: Yes
Mount Point: /Volumes/FRINGE_SEASON_1_DISC_4
Escaped with Unicode: /Volumes/FRINGE_SEASON_1_DISC_4

File System Personality: UDF
Type (Bundle): udf
Name (User Visible): Universal Disk Format (UDF)

Content (IOContent): None
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported

Total Size: 35.7 GB (35735470080 Bytes) (exactly 69795840 512-Byte-Blocks)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
Device Block Size: 2048 Bytes

Read-Only Media: Yes
Read-Only Volume: Yes
Ejectable: Yes

Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No


Thanks

No, I've not seen that.

For Optical Drive Type and Optical Media Type, it should list something similar to:


Optical Drive Type: CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-R, DVD-R DL, DVD-RW, DVD-RAM, DVD+R, DVD+R DL, DVD+RW
Optical Media Type: BD-ROM

brandon95030
Oct 10, 2011, 12:19 AM
Hi,

Sometimes the main movie is not in the first 10 (0-9) TINFO's of the following command of batchRip.sh:

"$makemkvconPath" -r --directio=false info disc:$deviceNum | egrep 'TINFO\:.,9,0' > "${tmpFolder}/${deviceNum}_titleInfo.txt"


So I changed it to:
"$makemkvconPath" -r --directio=false info disc:$deviceNum | egrep 'TINFO\:[0-9]{1,2},9,0' > "${tmpFolder}/${deviceNum}_titleInfo.txt"


and now the script finds the main movie file. However, now the following line doesn't predict the name of the makemkv output file correctly: tmpFile="${outputDir}/title0${aTrack}.mkv"

Anyways, just wondering if you have a reason for only looking thru the first 10 TINFO's? Can you update your scripts to look through more than 10?

I'm having a lot of fun playing around with your scripts, very cool.

Thanks,
Brandon

mac.jedi
Oct 10, 2011, 12:37 AM
Hi,

Sometimes the main movie is not in the first 10 (0-9) TINFO's of the following command of batchRip.sh:

"$makemkvconPath" -r --directio=false info disc:$deviceNum | egrep 'TINFO\:.,9,0' > "${tmpFolder}/${deviceNum}_titleInfo.txt"


So I changed it to:
"$makemkvconPath" -r --directio=false info disc:$deviceNum | egrep 'TINFO\:[0-9]{1,2},9,0' > "${tmpFolder}/${deviceNum}_titleInfo.txt"


and now the script finds the main movie file. However, now the following line doesn't predict the name of the makemkv output file correctly: tmpFile="${outputDir}/title0${aTrack}.mkv"

Anyways, just wondering if you have a reason for only looking thru the first 10 TINFO's? Can you update your scripts to look through more than 10?

I'm having a lot of fun playing around with your scripts, very cool.

Thanks,
Brandon

Thanks for letting me know. I typically use MakeMKV for BD's and I've never come across any that had more than 1 digit. I assume this is a DVD you were testing. Can you give me some examples of discs to test?

brandon95030
Oct 10, 2011, 12:46 AM
Thanks for letting me know. I typically use MakeMKV for BD's and I've never come across any that had more than 1 digit. I assume this is a DVD you were testing. Can you give me some examples of discs to test?

I,robot blu-ray.

Thanks,
Brandon

mac.jedi
Oct 10, 2011, 09:18 AM
I,robot blu-ray.

Thanks,
Brandon

Interesting, I've got that one and did a test. For the main title it returns:
TINFO:0,9,0,"1:54:43"

Can you PM me your title scan from MakeMKV?

Who Dat
Oct 20, 2011, 03:13 PM
Just wanted to extend my thanks to you, mac.jedi. This is really a thing of beauty. Seeing your work helped me make my decision to get a Mac Mini for my HTPC and I'm loving it. I've gone through my DVD collection and just started my Blu-Rays today. So far, everything has worked very well.

The scripts themselves are impressive enough, but the easy-to-follow instructional writeup that you've done really sets your work apart. Thanks again for making such a useful set of tools.

Benguitar
Oct 20, 2011, 09:36 PM
Major edit,

So I finally finished ripping my DVD, It took a total of 44.5GB :eek:

My problem is, I cannot seem to get Automator to format it in m4v/mp4 format so that I can add the iTunes tags (artwork, and add to iTunes)

In the Automator window, I am failing to find the "input" drop-down menu.

Basically I'm getting stuck on step 7 of "Customizing Your Batch Encode Services"


As I said before in my original post, I've quite new to backing up DVDs, So any advice/walk though would be fantastic~

hgeorgh
Oct 21, 2011, 05:15 AM
I am new user of the automation process from mac.jedi. In the last day I am trying to use the BatchRip -Batch Encode process to generate m4v files for the Apple TV 2. What I need, is that I would like to convert all available audio tracks or only the following one: English,German, Spanish and Italian.

Until now I was able to extract German (with the variable $native language) and English, but no additional language.


mac.jedi what do you think? it is posible to solve it easily?

gcoghill
Oct 21, 2011, 11:43 AM
Just wanted to extend my thanks to you, mac.jedi. This is really a thing of beauty. Seeing your work helped me make my decision to get a Mac Mini for my HTPC and I'm loving it. I've gone through my DVD collection and just started my Blu-Rays today. So far, everything has worked very well.

The scripts themselves are impressive enough, but the easy-to-follow instructional writeup that you've done really sets your work apart. Thanks again for making such a useful set of tools.

Totally agree, not sure if I posted a general thank you but if so here it is again. Much appreciated! This stuff is awesome.

AdmiralTriggerH
Oct 21, 2011, 10:09 PM
mac.jedi this thread has been a lot of help for me, although I'm mostly only using the Add TV tags action because I've got a massive collection of TV shows that I've already collected and I want to stick them into iTunes.
So I built my own Automator action to do the encoding and then I just add the tv tags action into the script and then automatically move the file to the Automatically add to iTunes folder.
However there is one annoyance I have with the Add TV Tags action and that is it spits out more than just the path and filename to the file as a result which messes with my Move action, thus I have to set a variable before the add tv tags action and retrieve it afterwards, which works but complicates things.

So if you are working on it soon I think and option to just post the path to file as the result would be great to allow it to be used in other workflows nicely.

If anyone wants to check out my automator script for the encoding see www.admiraltriggerhappy.com

mac.jedi
Oct 22, 2011, 06:51 PM
I could use some help testing v1.0.9. This release has some new enhancements that should make it easier to update in the future. The actions, services and resources are now bundled in a new app which should make updating and installing easier as well. Pretty much every action has some improvements made which should show in testing.

PM me if you wanna link to the new installer.

Thanks!

mac.jedi

mac.jedi
Oct 22, 2011, 11:21 PM
However there is one annoyance I have with the Add TV Tags action and that is it spits out more than just the path and filename to the file as a result which messes with my Move action, thus I have to set a variable before the add tv tags action and retrieve it afterwards, which works but complicates things.

So if you are working on it soon I think and option to just post the path to file as the result would be great to allow it to be used in other workflows nicely.

If anyone wants to check out my automator script for the encoding see www.admiraltriggerhappy.com

The output results of the tagging actions have been fixed in v1.0.9. PM me if you wanna to try em'.

----------

Totally agree, not sure if I posted a general thank you but if so here it is again. Much appreciated! This stuff is awesome.

Thanks gcoghill!!

----------

I am new user of the automation process from mac.jedi. In the last day I am trying to use the BatchRip -Batch Encode process to generate m4v files for the Apple TV 2. What I need, is that I would like to convert all available audio tracks or only the following one: English,German, Spanish and Italian.

Until now I was able to extract German (with the variable $native language) and English, but no additional language.


mac.jedi what do you think? it is posible to solve it easily?

Hi hgeorgh!

Sorry, it's not easy to add this kind of functionality. Batch Encode was designed more personal use … to encode one language track in 5.1 and stereo, but not multiple languages.

Thanks!

Mac.jedi

----------

Just wanted to extend my thanks to you, mac.jedi. This is really a thing of beauty. Seeing your work helped me make my decision to get a Mac Mini for my HTPC and I'm loving it. I've gone through my DVD collection and just started my Blu-Rays today. So far, everything has worked very well.

The scripts themselves are impressive enough, but the easy-to-follow instructional writeup that you've done really sets your work apart. Thanks again for making such a useful set of tools.

Thanks Who Dat!! I'm happy to help spend other people's money :)!

----------

Major edit,

So I finally finished ripping my DVD, It took a total of 44.5GB :eek:

My problem is, I cannot seem to get Automator to format it in m4v/mp4 format so that I can add the iTunes tags (artwork, and add to iTunes)

In the Automator window, I am failing to find the "input" drop-down menu.

Basically I'm getting stuck on step 7 of "Customizing Your Batch Encode Services"


As I said before in my original post, I've quite new to backing up DVDs, So any advice/walk though would be fantastic~

Hi Benguitar!

Sounds like there was a disc error or some copy protection that wasn't able to be removed. A DVD rip should be around 8gb. Is the file playable?

garyh21
Oct 25, 2011, 07:43 PM
Hi mac.jedi/all!

I'm having some trouble with non-Batch Rip made MKV files - it's pretty much the same issue a few posts back, but unfortunately using the Apple TV 2 preset in the override box didn't work for me :(

Could you take a look at my output and see if I'm missing something?


Last login: Tue Oct 25 19:32:30 on ttys000
xavier:~ gary$ /Users/gary/Library/Application\ Support/Batch\ Rip/batchEncodeTmp.sh ; exit;

Processing Args passed from Batch Encode (Service).workflow
--verboseLog 1 --movieSearchDir /Users/gary/Downloads --tvSearchDir /Users/gary/Downloads --outputDir /Volumes/Primary/tv_ready_for_tagging --handBrakeCliPath /Applications/HandBrakeCLI --makemkvPath /Applications/MakeMKV.app --mkvtoolnixPath /Applications/Mkvtoolnix.app --bdSup2SubPath /Applications/BDSup2Sub.jar --minTrackTimeTV 10 --maxTrackTimeTV 150 --minTrackTimeMovie 80 --maxTrackTimeMovie 180 --nativeLanguage eng --useDefaultAudioLanguage 1 --encode_DVD2 1 --encode_SD 0 --encode_720p 0 --encodeHdSources 1 --ignoreOptical 1 --growlMe 0 --keepMkvTempFile 0 --videoKindOverride TV:Show --addiTunesTags 1 --retireExistingFile 0 --libraryFolder no:selection --retiredFolder no:selection --useCustomDvdArgs 0 --useCustomDvd2Args 0 --useCustomSdArgs 0 --useCustom720pArgs 0 --customDvdArgs no@selection --customDvd2Args no@selection --customSdArgs no@selection --custom720pArgs no@selection --presetDvd Universal --presetDvd2 Apple@TV@2 --presetSd Universal --preset720p Apple@TV@2 /Users/gary/Downloads/testmkv/testmkv.mkv


- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchEncode.sh v1.0.8

Start: Tue Oct 25 19:37:31 CDT 2011
Input directory 1: /Users/gary/Downloads
Input directory 2: /Users/gary/Downloads
Output directory: /Volumes/Primary/tv_ready_for_tagging
Use optical Drive: No
Encode HD Sources: Yes
Keep MKV Temp Files: No
Auto-add movie tags: Yes
Retire Existing File: No
Growl me when complete: No
Encode TV Shows between: 10-150 mins
Encode Movies between: 80-180 mins
Native Language: eng (en)
Use Disc's Default Audio Language: Yes
Will Encode: DVD2/Apple TV 2

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
VERBOSE MODE
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

WILL PROCESS THE FOLLOWING VIDEOS:
testmkv : (Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PROCESSING: testmkv

*Scanning File: 'testmkv'
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 1268468518
|+ Seek head (subentries will be skipped)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: mkv2rls x264-tv version built on 2011. febr. 17
| + Writing application: x264.exe
| + Duration: 2568.149s (00:42:48.149)
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 2864556433
| + Track type: video
| + Codec ID: V_MPEG4/ISO/AVC
| + CodecPrivate, length 40 (h.264 profile: High @L3.1)
| + Default duration: 41.708ms (23.976 fps for a video track)
| + Lacing flag: 0
| + MinCache: 1
| + Video track
| + Pixel width: 1280
| + Pixel height: 720
| + Display width: 1280
| + Display height: 720
| + A track
| + Track number: 2
| + Track UID: 2864556435
| + Track type: audio
| + Codec ID: A_AC3
| + Default duration: 32.000ms (31.250 fps for a video track)
| + Audio track
| + Sampling frequency: 48000
| + Channels: 6
|+ EbmlVoid (size: 99)
|+ Cluster

Will encode the following tracks: 1



PROCESSING COMPLETE: testmkv
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
End: Tue Oct 25 19:37:32 CDT 2011

logout

[Process completed]



Is it the same audio issue? It does seem to work fine in the Handbrake GUI.

And btw, most importantly, thank you for all your hard work and support with these tools! They absolutely revolutionize the way I watch TV!

mac.jedi
Oct 26, 2011, 11:05 AM
Hi mac.jedi/all!

I'm having some trouble with non-Batch Rip made MKV files - it's pretty much the same issue a few posts back, but unfortunately using the Apple TV 2 preset in the override box didn't work for me :(

Could you take a look at my output and see if I'm missing something?


Last login: Tue Oct 25 19:32:30 on ttys000
xavier:~ gary$ /Users/gary/Library/Application\ Support/Batch\ Rip/batchEncodeTmp.sh ; exit;

Processing Args passed from Batch Encode (Service).workflow
--verboseLog 1 --movieSearchDir /Users/gary/Downloads --tvSearchDir /Users/gary/Downloads --outputDir /Volumes/Primary/tv_ready_for_tagging --handBrakeCliPath /Applications/HandBrakeCLI --makemkvPath /Applications/MakeMKV.app --mkvtoolnixPath /Applications/Mkvtoolnix.app --bdSup2SubPath /Applications/BDSup2Sub.jar --minTrackTimeTV 10 --maxTrackTimeTV 150 --minTrackTimeMovie 80 --maxTrackTimeMovie 180 --nativeLanguage eng --useDefaultAudioLanguage 1 --encode_DVD2 1 --encode_SD 0 --encode_720p 0 --encodeHdSources 1 --ignoreOptical 1 --growlMe 0 --keepMkvTempFile 0 --videoKindOverride TV:Show --addiTunesTags 1 --retireExistingFile 0 --libraryFolder no:selection --retiredFolder no:selection --useCustomDvdArgs 0 --useCustomDvd2Args 0 --useCustomSdArgs 0 --useCustom720pArgs 0 --customDvdArgs no@selection --customDvd2Args no@selection --customSdArgs no@selection --custom720pArgs no@selection --presetDvd Universal --presetDvd2 Apple@TV@2 --presetSd Universal --preset720p Apple@TV@2 /Users/gary/Downloads/testmkv/testmkv.mkv


- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchEncode.sh v1.0.8

Start: Tue Oct 25 19:37:31 CDT 2011
Input directory 1: /Users/gary/Downloads
Input directory 2: /Users/gary/Downloads
Output directory: /Volumes/Primary/tv_ready_for_tagging
Use optical Drive: No
Encode HD Sources: Yes
Keep MKV Temp Files: No
Auto-add movie tags: Yes
Retire Existing File: No
Growl me when complete: No
Encode TV Shows between: 10-150 mins
Encode Movies between: 80-180 mins
Native Language: eng (en)
Use Disc's Default Audio Language: Yes
Will Encode: DVD2/Apple TV 2

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
VERBOSE MODE
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

WILL PROCESS THE FOLLOWING VIDEOS:
testmkv : (Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PROCESSING: testmkv

*Scanning File: 'testmkv'
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 1268468518
|+ Seek head (subentries will be skipped)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: mkv2rls x264-tv version built on 2011. febr. 17
| + Writing application: x264.exe
| + Duration: 2568.149s (00:42:48.149)
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 2864556433
| + Track type: video
| + Codec ID: V_MPEG4/ISO/AVC
| + CodecPrivate, length 40 (h.264 profile: High @L3.1)
| + Default duration: 41.708ms (23.976 fps for a video track)
| + Lacing flag: 0
| + MinCache: 1
| + Video track
| + Pixel width: 1280
| + Pixel height: 720
| + Display width: 1280
| + Display height: 720
| + A track
| + Track number: 2
| + Track UID: 2864556435
| + Track type: audio
| + Codec ID: A_AC3
| + Default duration: 32.000ms (31.250 fps for a video track)
| + Audio track
| + Sampling frequency: 48000
| + Channels: 6
|+ EbmlVoid (size: 99)
|+ Cluster

Will encode the following tracks: 1



PROCESSING COMPLETE: testmkv
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
End: Tue Oct 25 19:37:32 CDT 2011

logout

[Process completed]



Is it the same audio issue? It does seem to work fine in the Handbrake GUI.

And btw, most importantly, thank you for all your hard work and support with these tools! They absolutely revolutionize the way I watch TV!

Looking at the scan info, it appears that the Mkv is 720 HD. Try the atv2 preset on the HD encode option.

garyh21
Oct 26, 2011, 07:02 PM
Looking at the scan info, it appears that the Mkv is 720 HD. Try the atv2 preset on the HD encode option.

Just tried that... same result unfortunately :(

mac.jedi
Oct 26, 2011, 07:10 PM
Just tried that... same result unfortunately :(

Have you tried it in mkvtoolnix or the handbrake GUI?

garyh21
Oct 26, 2011, 07:56 PM
Have you tried it in mkvtoolnix or the handbrake GUI?

Yessir, works for both. Just not in the batch encode action.

http://i.imgur.com/cskRt.png

mac.jedi
Oct 26, 2011, 08:27 PM
Yessir, works for both. Just not in the batch encode action.

Image (http://i.imgur.com/cskRt.png)

Let's troubleshoot this via PM. Try the following and PM me your results:


Navigate to /Library/Automator.
Right-click on the Batch Encode.action file and Choose > Show Package Contents.
Open the batchEncode.sh file located in the Contents/Resources folder in TextEdit.
Make sure the file is formatted as Plain Text. If it's not, in the menu bar choose Format > Make Plain Text.
On the second line from the very top, type:
set -xv
Save the file as plain text.
Run the Batch Encode workflow on the file again and send me the results.


This debug setting should make the output really long and hopefully allow us to see a bit more into what's going on.
If you have the means to upload the results and send me a link that would be great as well.

Thanks,

mac.jedi

garyh21
Oct 27, 2011, 11:35 PM
I don't have PM access yet it looks like, but here are the results:

http://www.filedropper.com/results_2

Let me know if I did that incorrectly!

And thanks again! :)

mac.jedi
Oct 28, 2011, 09:02 AM
I don't have PM access yet it looks like, but here are the results:

http://www.filedropper.com/results_2

Let me know if I did that incorrectly!

And thanks again! :)

I think you need to post more to get PM access.

The first thing I noticed is that none of the HD encode options are checked in your workflow. This might be the reason the file is failing to reach HandBrakeCLI.

To test:
Toggle the HD (SD) option making sure its checked when you save your workflow.
Check the Use Custom HD (SD) Encode Setting and enter the code below. This will tell handbrake to only encode 30 seconds of the file for testing purposes.

--start-at duration:1 --stop-at duration:30 -e x264 -b 700 -a \${audioTrack} -E faac -B 160 -6 dpl2 -R Auto -D 0.0 -f mp4 -I -X 320 -m -x level=30:bframes=0:weightp=0:cabac=0:ref=1:vbv-maxrate=768:vbv-bufsize=2000:analyse=all:me=umh:no-fast-pskip=1:subme=6:8x8dct=0:trellis=0

Also, I noticed that the minTime is set for 80min and the file is 42min. I don't remember offhand if there's a test for this with files, but it might be a good idea to set the movie minTime to 40min or change your default video kind to TV Shows.

Let me know how it goes.

Thanks,

mac.jedi

solidslush
Oct 29, 2011, 09:54 AM
Anyone run into an issue where the auto-cropping doesn't work?

Here is my encoding string:
-e x264 -q 20.0 -r 29.97 --pfr -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -w 1280 -Y 720 --loose-anamorphic -m

Essentially it's the AppleTV2 preset with a few tweaks. Whenever I have the encode run automatically from a iCal event, it doesn't crop. However if I run it manually or using Finder it'll auto-crop just fine. I have tried throwing a --preview 20 to see if helps correct the auto-cropping to no avail.

Thanks in advanced!

mac.jedi
Nov 4, 2011, 03:15 PM
I could use some help testing v1.0.9. This release has some new enhancements that should make it easier to update in the future. The actions, services and resources are now bundled in a new app that provides a workflow editor to quickly and easily edit and save your workflows. Pretty much every action has some improvements made which should show in testing … particularly the tagging actions.

PM me if you wanna link to the new beta.

Thanks!

mac.jedi

HackerJL
Nov 4, 2011, 03:23 PM
I could use some help testing v1.0.9. This release has some new enhancements that should make it easier to update in the future. The actions, services and resources are now bundled in a new app that provides a workflow editor to quickly and easily edit and save your workflows. Pretty much every action has some improvements made which should show in testing … particularly the tagging actions.

PM me if you wanna link to the new beta.

Thanks!

mac.jedi

im in.

mac.jedi
Nov 4, 2011, 04:17 PM
im in.

Thanks! PM sent!

sandyjmacdonald
Nov 5, 2011, 06:47 AM
I could use some help testing v1.0.9. This release has some new enhancements that should make it easier to update in the future. The actions, services and resources are now bundled in a new app that provides a workflow editor to quickly and easily edit and save your workflows. Pretty much every action has some improvements made which should show in testing … particularly the tagging actions.

PM me if you wanna link to the new beta.

Thanks!

mac.jedi

I'd be happy to test it.

sandyjmacdonald
Nov 5, 2011, 07:57 AM
Huh?

mac.jedi
Nov 5, 2011, 08:06 AM
Huh?

I reported it as spam. DON'T CLICK ON THE LINK IN POSTER'S THE SIGNATURE!

Melchizedek
Nov 5, 2011, 08:41 AM
Hi mac.jedi,

I'd be happy to test v1.0.9 for you, I have been using your automator scripts for a couple of months now and they have been a huge help. I don't have enough posts to PM yet.

Many thanks,

Melchi

AussieConvict
Nov 7, 2011, 08:34 AM
I could use some help testing v1.0.9. This release has some new enhancements that should make it easier to update in the future. The actions, services and resources are now bundled in a new app that provides a workflow editor to quickly and easily edit and save your workflows. Pretty much every action has some improvements made which should show in testing … particularly the tagging actions.

PM me if you wanna link to the new beta.

Thanks!

mac.jedi

I would also be more than happy to help with testing, but have a similarly low post count.

mac.jedi
Nov 7, 2011, 09:06 AM
Hi mac.jedi,

I'd be happy to test v1.0.9 for you, I have been using your automator scripts for a couple of months now and they have been a huge help. I don't have enough posts to PM yet.

Many thanks,

Melchi

I would also be more than happy to help with testing, but have a similarly low post count.

I'd love to add you two to the testing group, but I want to keep the conversation confined to PM's. Just post more, I'm sure there's someone who needs some help; or something you need help with :)

In fact, I've got a question for you two... What's the post count needed to enable PM?

Melchizedek
Nov 7, 2011, 09:15 AM
I think it's 5, but not entirely sure. If I was more devious I would create a new thread to ask ;)

solidslush
Nov 8, 2011, 06:28 PM
Edit...nevermind, just read the post above mine.

eenuuk
Nov 9, 2011, 08:51 AM
I just used the scripts to batch encode some movies and found that the colour labels have been set as expected. However, some are green and some are orange..... what is the difference between the two?

Melchizedek
Nov 9, 2011, 09:15 AM
Definitions of the colours were a few pages back :)


Descriptions of the finder label colors were in the release notes for version 1.0.6, I've listed them below. At some point I added orange to indicate that the tagging succeeded, but chapters failed … which happens a lot with tagchimp, he's a stupid monkey ;)

*EDIT: I rechecked the code and it looks like the encoded file changes to orange if:
1. tmdb couldn't find any metadata for the movie (also changes the source folder to orange)
2. cover art failed integrity test (also changes the source folder to orange)
3. couldn't find chapter names


FINDER LABELS:
Batch Rip
Changes the Finder Color Labels of the disc folders to Yellow if copied successfully; Red if the Action encounters an error. Useful for Hazel or other scripting apps.

Batch Encode
Source folders change to Green while processing; Red if the Action encounters an error; Gray if it's done. Output files (m4v or mkv) change to Green if they're done, and Red if the action sees an error with the file. Useful for Hazel or other scripting apps.

eenuuk
Nov 9, 2011, 12:54 PM
Thanks for that, I had read so much on this thread I must have got blind to what I was looking for!

Definitions of the colours were a few pages back :)

garyh21
Nov 11, 2011, 11:03 AM
I think you need to post more to get PM access.

The first thing I noticed is that none of the HD encode options are checked in your workflow. This might be the reason the file is failing to reach HandBrakeCLI.

To test:
Toggle the HD (SD) option making sure its checked when you save your workflow.
Check the Use Custom HD (SD) Encode Setting and enter the code below. This will tell handbrake to only encode 30 seconds of the file for testing purposes.

--start-at duration:1 --stop-at duration:30 -e x264 -b 700 -a \${audioTrack} -E faac -B 160 -6 dpl2 -R Auto -D 0.0 -f mp4 -I -X 320 -m -x level=30:bframes=0:weightp=0:cabac=0:ref=1:vbv-maxrate=768:vbv-bufsize=2000:analyse=all:me=umh:no-fast-pskip=1:subme=6:8x8dct=0:trellis=0

Also, I noticed that the minTime is set for 80min and the file is 42min. I don't remember offhand if there's a test for this with files, but it might be a good idea to set the movie minTime to 40min or change your default video kind to TV Shows.

Let me know how it goes.

Thanks,

mac.jedi

Hi mac.jedi! Sorry for the delay. Just trying the settings you described now but getting the same result :(

Here is a screenshot of my workflow setup:

http://i.imgur.com/J219L.png

And here is my output again:

http://www.filedropper.com/debug2

I feel like somehow the workflow settings aren't setting right for me or something.

Any help would be appreciated! Thank you!

mac.jedi
Nov 11, 2011, 11:36 AM
Hi mac.jedi! Sorry for the delay. Just trying the settings you described now but getting the same result :(

Here is a screenshot of my workflow setup:

Image (http://i.imgur.com/J219L.png)

And here is my output again:

http://www.filedropper.com/debug2

I feel like somehow the workflow settings aren't setting right for me or something.

Any help would be appreciated! Thank you!

Hi Gary!

In my post I described the problem, you might wanna read it over again :)

The mkv file you're trying to process is HD … NOT DVD. You need to use one of the HD encoding options. The screenshot and info you provided still shows that you're trying to use the DVD setting on an HD source.

I also noticed that you have the same directory selected for both TV and Movies. This could also create an issue as Batch Encode may not be able to detect whether the file is a Movie or TV Show.

I hope this helps!

Thanks,

mac.jedi

garyh21
Nov 11, 2011, 12:12 PM
Hi Gary!

In my post I described the problem, you might wanna read it over again :)

The mkv file you're trying to process is HD … NOT DVD. You need to use one of the HD encoding options. The screenshot and info you provided still shows that you're trying to use the DVD setting on an HD source.

I also noticed that you have the same directory selected for both TV and Movies. This could also create an issue as Batch Encode may not be able to detect whether the file is a Movie or TV Show.

I hope this helps!

Thanks,

mac.jedi

OH MY GOD AM I DUMB!!! THATS what that does!!

Ok, it works like a charm now! :D

Thank you so much!! I'm so glad your patient with newbs :)

mac.jedi
Nov 11, 2011, 12:58 PM
OH MY GOD AM I DUMB!!! THATS what that does!!

Ok, it works like a charm now! :D

Thank you so much!! I'm so glad your patient with newbs :)

No worries… just glad you got it workin'!

mac.jedi
Nov 13, 2011, 09:05 PM
ANNOUNCEMENT: BATCH RIP ACTIONS UPDATED

Update 2011-11-13

Release Notes
Batch Rip Actions for Automator 1.0.9 (http://dl.dropbox.com/u/242398/BatchRip/BatchRipActions-1.0.9.dmg)

IMPORTANT: Even if you've been testing this, you must re-install the Service workflows.

NOTE: The tutorial has been updated as well for v1.0.9. Additional help is available via the Help menu in the app.

1.0.9 build 254

Provides general fixes that enhance the stability, compatibility and functionality of Batch Rip Actions for Automator
No more Action installer! Just drag Batch Rip Actions for Automator.app to /Applications
Actions are now located within Batch Rip Actions for Automator.app
Opening the app will update Launch Services and automatically add the actions to the Automator library
On first run, a new install/upgrade option will notify you if it needs to update the Actions and workflows
Batch Rip Actions for Automator Sparkles! Added support for the Sparkle framework which will automatically alert you of future product upgrades; and quickly get your installation up-to-date
New Workflow Editor! Quickly and easily setup, update and save your Batch Rip workflows all in one interface
Batch Rip Dispatcher is now part of the app UI. Just click on the status icon or text in toolbar to toggle it on or off. The Batch Rip Dispatcher action & workflow have been deprecated
New Action Editor! View and edit the Batch Rip Action script files... if you're daring enough ;)
New Batch Encode for iCal! Easily setup a repeating iCal alarm to automatically run Batch Encode at the time and interval you set
Tagging is now performed by SublerCLI!
mp4v2, SublerCLI and AtomicParsley are now included in the app bundle
Added an "indeterminate progress indicator" for the tagging actions (the spin-thingy in the menu bar). Note: this doesn't control workflow, just shows that it's running
Rename Movie Items.action has been deprecated. Functionality moved to Add Movie Tags.action
Rename and Tagging actions now return the output files as a list for chaining actions
New Help via the Help menu and Mac's Help Center
The Batch Rip (Finder) & Batch Encode (Finder) workflows use their "non-Finder" workflow's settings. No more having to set options in both versions.
Other things that I've already forgotten about


Note: Sadly, but with no remorse, Snow Leopard is no longer supported in v1.0.9. There's very little reason not to upgrade to Lion at this point, so I'm just gonna focus on Lion.

Add TV Tags.action

New option: Search tvdb and tag specific episode files
Improved performance, search and handling of non ASCII characters.
New option: Backup original before tagging
New option: Optimize file after tagging


Rename TV Items.action

Now renames source folders or files using the tvdb API
Batch renaming tv show files made easy. Search tvdb for the show, enter season and episode number to start and it renames all the files: Show Name - S##E##.m4v


Add Movie Tags.action

Renames files or folders
Improved performance, search and handling of non ASCII characters.
New option: Backup original before tagging
New option: Optimize file after tagging


Batch Encode.action

Features tagging updates made in Add TV Tags.action
Fixed an issue where the min-time was being overridden by the GUI's preferences.


Thanks!

mac.jedi

HackerJL
Nov 13, 2011, 09:48 PM
If I say so myself....epic update.

mac.jedi
Nov 14, 2011, 09:55 AM
If I say so myself....epic update.

Thanks HackerJL!

And a very special thanks to you and all the other testers (you know who you are)! You all get 4 GOLD STARS!!! :D

mac.jedi
Nov 14, 2011, 08:40 PM
FYI. There may be an issue with Batch Rip Dispatcher in the latest build. I'll post an update when I have it fixed.

Thanks!

mac.jedi

mac.jedi
Nov 15, 2011, 09:20 AM
ANNOUNCEMENT: BATCH RIP ACTIONS UPDATED

Update 2011-11-15

Release Notes
Batch Rip Actions for Automator 1.0.9 (http://dl.dropbox.com/u/242398/BatchRip/BatchRipActions-1.0.9.dmg)

IMPORTANT: If you are using a previous build, you must re-install the Service workflows.

1.0.9 build 257


Includes new Batch Encode and Batch Rip workflow files. Previous build had incorrect input settings causing them to fail when launched via the Application menu.

_______________________________________________________


1.0.9 build 256


Fixes issue with Batch Rip Dispatcher
Fixes some issues with Batch Rip Help

_______________________________________________________


NOTE: The tutorial has been updated as well for v1.0.9. Additional help is available via the Help menu in the app.

1.0.9 build 254

Provides general fixes that enhance the stability, compatibility and functionality of Batch Rip Actions for Automator
No more Action installer! Just drag Batch Rip Actions for Automator.app to /Applications
Actions are now located within Batch Rip Actions for Automator.app
Opening the app will update Launch Services and automatically add the actions to the Automator library
On first run, a new install/upgrade option will notify you if it needs to update the Actions and workflows
Batch Rip Actions for Automator Sparkles! Added support for the Sparkle framework which will automatically alert you of future product upgrades; and quickly get your installation up-to-date
New Workflow Editor! Quickly and easily setup, update and save your Batch Rip workflows all in one interface
Batch Rip Dispatcher is now part of the app UI. Just click on the status icon or text in toolbar to toggle it on or off. The Batch Rip Dispatcher action & workflow have been deprecated
New Action Editor! View and edit the Batch Rip Action script files... if you're daring enough ;)
New Batch Encode for iCal! Easily setup a repeating iCal alarm to automatically run Batch Encode at the time and interval you set
Tagging is now performed by SublerCLI!
mp4v2, SublerCLI and AtomicParsley are now included in the app bundle
Added an "indeterminate progress indicator" for the tagging actions (the spin-thingy in the menu bar). Note: this doesn't control workflow, just shows that it's running
Rename Movie Items.action has been deprecated. Functionality moved to Add Movie Tags.action
Rename and Tagging actions now return the output files as a list for chaining actions
New Help via the Help menu and Mac's Help Center
The Batch Rip (Finder) & Batch Encode (Finder) workflows use their "non-Finder" workflow's settings. No more having to set options in both versions.
Other things that I've already forgotten about


Note: Sadly, but with no remorse, Snow Leopard is no longer supported in v1.0.9. There's very little reason not to upgrade to Lion at this point, so I'm just gonna focus on Lion.

Add TV Tags.action

New option: Search tvdb and tag specific episode files
Improved performance, search and handling of non ASCII characters.
New option: Backup original before tagging
New option: Optimize file after tagging


Rename TV Items.action

Now renames source folders or files using the tvdb API
Batch renaming tv show files made easy. Search tvdb for the show, enter season and episode number to start and it renames all the files: Show Name - S##E##.m4v


Add Movie Tags.action

Renames files or folders
Improved performance, search and handling of non ASCII characters.
New option: Backup original before tagging
New option: Optimize file after tagging


Batch Encode.action

Features tagging updates made in Add TV Tags.action
Fixed an issue where the min-time was being overridden by the GUI's preferences.


Thanks!

mac.jedi

HackerJL
Nov 15, 2011, 09:41 AM
when you say:

IMPORTANT: If you are using a previous version, you must re-install the Service workflows.

Do you mean any other version of 1.0.x? or do you mean with every build number you need to uninstall/reinstall.

I assumed the first, if you are going from 1.0.8 to this, you need to reinstall, but a friend asked me today, and I didnt want to assume anything.

mac.jedi
Nov 15, 2011, 10:04 AM
Do you mean any other version of 1.0.x? or do you mean with every build number you need to uninstall/reinstall.

I assumed the first, if you are going from 1.0.8 to this, you need to reinstall, but a friend asked me today, and I didnt want to assume anything.

Sorry, I should have wrote "any build". There are new workflow files for Batch Rip and Batch Encode. You should either reinstall the Services or make the mod yourself.

To make the changes yourself:


Open Batch Rip • Batch Encode.workflow in workflow editor.
At the top of the workflow area, Choose "no input" in the “Service receives selected” pop-up menu.
Choose “any application” from the “in” pop-up menu.
Save your changes.
Repeat the steps above with the Batch Rip • Batch Rip.workflow.


Thanks!

mac.jedi

----------

Do you mean any other version of 1.0.x? or do you mean with every build number you need to uninstall/reinstall.

Just to be clear, you don't need to uninstall, just click Install Services. The old workflows will be removed and replaced with the fresh ones. You shouldn't need to do this every time there's an update, just updates that require a new or modified workflow.

HackerJL
Nov 15, 2011, 01:26 PM
Thanks HackerJL!

And a very special thanks to you and all the other testers (you know who you are)! You all get 4 GOLD STARS!!! :D

Just wanted to post this so people who lurk or who actively participate in this thread know.

Have you actually looked at the code of this? Its incredible. The amount of work that mac.jedi has put into this in simply incredible.

From one of the testers, I have to say a huge thanks. I offered to test this, and when I had a bug, it was fixed. And then, I had a few thoughts I passed on (save dialog box when switching between automator services, when you hit X it actually exits the program). These are VERY much cosmetic stuff. But a few days later..bam its finished and in the program.

Incredible. There are few people in the world that are dedicated to something that is a minor hobby for a lot of people here, but mac.jedi deserves a lot of praise and applaud for his dedication to this. I cant find one post in this thread that is rude or asking for something in return. That is RARE these days!

Congrats and thanks to mac.jedi for being a standup citizen of MacRumors. I hope you all see what a fine job that he has/is doing.

gcoghill
Nov 15, 2011, 07:08 PM
I've been having trouble with the "Add TV Tags" actions, thought maybe the 1.09 version would clear it up but no go.

When I run manually via the contextual menu, an error dialog pops up: "The action “Add TV Tags” encountered an error."

Filename is proper for tagging "Show - S01E01.m4v". Used to work just fine, had a hiccup which you helped us with a few weeks ago, now it's no longer working again. Any ideas? Anyone else seeing this?

mac.jedi
Nov 15, 2011, 08:49 PM
I've been having trouble with the "Add TV Tags" actions, thought maybe the 1.09 version would clear it up but no go.

When I run manually via the contextual menu, an error dialog pops up: "The action “Add TV Tags” encountered an error."

Filename is proper for tagging "Show - S01E01.m4v". Used to work just fine, had a hiccup which you helped us with a few weeks ago, now it's no longer working again. Any ideas? Anyone else seeing this?

PM me your Add TV Tags log file. It's located in ~/Library/Logs/BatchRip/

Also, open Console.app and run the service. Let me know if it says anything regarding Automator or Workflow when you run it.

Does Add TV Tags (search) work?

Thanks!

mac.jedi

----------

Just wanted to post this so people who lurk or who actively participate in this thread know.

Have you actually looked at the code of this? Its incredible. The amount of work that mac.jedi has put into this in simply incredible.

From one of the testers, I have to say a huge thanks. I offered to test this, and when I had a bug, it was fixed. And then, I had a few thoughts I passed on (save dialog box when switching between automator services, when you hit X it actually exits the program). These are VERY much cosmetic stuff. But a few days later..bam its finished and in the program.

Incredible. There are few people in the world that are dedicated to something that is a minor hobby for a lot of people here, but mac.jedi deserves a lot of praise and applaud for his dedication to this. I cant find one post in this thread that is rude or asking for something in return. That is RARE these days!

Congrats and thanks to mac.jedi for being a standup citizen of MacRumors. I hope you all see what a fine job that he has/is doing.

Thanks HackerJL!! You're check's in the mail ;)

penguy
Nov 15, 2011, 10:36 PM
I feel like this question might be a stupid one, but here goes...I just bought my :apple:TV2 last night and have it up and running...I like it...

in anticipation of the purchase, I had ripped a few movies and several discs of TV shows, and while movies are pretty easy (all using the :apple:TV2 preset in handbrake), TV shows add a challenge to the number of steps required to get each episode...so I've downloaded the Batch Rip 1.09 to help solve that issue...but have not used it yet.

here's where my question comes up...my workflow has been to insert the DVD, Fairmount starts up and does its thing. Next I use HB and encode the file and finally I add the file to iTunes...

I don't rip the file to the computer...just the encoded file using the selected preset...I then add it to the library. I realize now that I am duplicating the files, so I plan to delete the files I initially create and just use the files that land in iTunes. Next time I think I should be able to send the files directly to the iTunes directory...would this work?

Is there a reason why the workflow seems to rip to the HD first?

Thanks in advance

HackerJL
Nov 15, 2011, 11:08 PM
I feel like this question might be a stupid one, but here goes...I just bought my :apple:TV2 last night and have it up and running...I like it...

in anticipation of the purchase, I had ripped a few movies and several discs of TV shows, and while movies are pretty easy (all using the :apple:TV2 preset in handbrake), TV shows add a challenge to the number of steps required to get each episode...so I've downloaded the Batch Rip 1.09 to help solve that issue...but have not used it yet.

here's where my question comes up...my workflow has been to insert the DVD, Fairmount starts up and does its thing. Next I use HB and encode the file and finally I add the file to iTunes...

I don't rip the file to the computer...just the encoded file using the selected preset...I then add it to the library. I realize now that I am duplicating the files, so I plan to delete the files I initially create and just use the files that land in iTunes. Next time I think I should be able to send the files directly to the iTunes directory...would this work?

Is there a reason why the workflow seems to rip to the HD first?

Thanks in advance

It is merely an option to rip it to the Hard drive first. I did the same thing when I converted a large number of DVDs into itunes. There were a few that were well-loved (nicely scratched) that fairmount was able to take its time with, otherwise I used handbrake gui to copy and convert in one step. Then, apply the batch rip - add tv tags and plop into itunes.

Im sure others can tell you the reasons why ripping to the hard drive is beneficial.

penguy
Nov 15, 2011, 11:51 PM
It is merely an option to rip it to the Hard drive first. I did the same thing when I converted a large number of DVDs into itunes. There were a few that were well-loved (nicely scratched) that fairmount was able to take its time with, otherwise I used handbrake gui to copy and convert in one step. Then, apply the batch rip - add tv tags and plop into itunes.

Im sure others can tell you the reasons why ripping to the hard drive is beneficial.

Thanks HackerJL, do you recommend to set the destination to the iTunes directory that it will end up in? or first to ~movies and then to iTunes?

HackerJL
Nov 16, 2011, 08:32 AM
Thanks HackerJL, do you recommend to set the destination to the iTunes directory that it will end up in? or first to ~movies and then to iTunes?

Well, no. I make the destination a folder somewhere on the computer, then you need to run the batch rip * rename and tag movie items on the items, and then move them into itunes. If you skip that step, there is no tagging done, as Handbrake doesnt do that.

In a few weeks (or less) I will be doing up a guide on how I have accomplished this with hazel, and the list of rules I have setup in it. I have automated this 100% with the only manual process being loading discs (or downloading from the internet - wink wink).

mac.jedi
Nov 16, 2011, 09:03 AM
Is there a reason why the workflow seems to rip to the HD first?

Hi penguy!

There are a few benefits to copying the discs first, rather than going straight from disc to mp4:


You'll have a full, unencrypted backup of source disc that you can archive or use to encode later
It's faster encoding from a source on your hard drive than from the optical drive
And most important, you can do them in batches. For example: rip every dvd for a TV box set to your Batch Rip TV folder, set an iCal alarm and encode them all overnight or while you're away


If you still wanna do them one at a time from the optical drive, Batch Encode has the option to encode straight from the Optical drive, just un-check the Ignore Optical Drive checkbox in the Batch Encode workflow. If you're doing TV shows, be sure to select TV Shows as your Default Video Kind.

I hope this helps!

Thanks,

mac.jedi

penguy
Nov 16, 2011, 09:11 AM
Hi penguy!

There are a few benefits to copying the discs first, rather than going straight from disc to mp4:


You'll have a full backup of source disc that you can archive or use to encode later
It's faster encoding from a source on your hard drive than from the optical drive
And most important, you can do them in batches. For example: rip every dvd for a TV box set to your Batch Rip TV folder, set an iCal alarm and encode them all overnight or while you're away


If you still wanna do them one at a time from the optical drive, Batch Rip has the option to encode straight from the Optical drive, just un-check the Ignore Optical Drive checkbox in the Batch Encode workflow. If you're doing TV shows, be sure to select TV Shows as your Default Video Kind.

I hope this helps!

Thanks,

mac.jedi

Thanks mac.jedi! I'll try this...I avoided doing all this in the past mainly because I don't really have the horsepower to do it quickly...my best computer at this point is the Mini C2D 2.0...w/ 4 gb...not exactly a barn burner. so encoding a 2 hour movie will take at least 2 hours...and for some reason, encoding TV shows takes slightly longer! and storage is a bit spread out...with the largest a 1 TB OWC...and a few smaller 320 gb drives...so need some help there as well.

hopefully I will get something faster soon...

thanks for all your assistance and the tutorial and app are fantastic!

gcoghill
Nov 16, 2011, 10:21 AM
PM me your Add TV Tags log file. It's located in ~/Library/Logs/BatchRip/

Also, open Console.app and run the service. Let me know if it says anything regarding Automator or Workflow when you run it.

Does Add TV Tags (search) work?

The Add TV Tags (search) throws the same error. Here's what the Console says when I get the error:

11/16/11 11:15:14.889 AM com.apple.automator.xpc.workflowServiceRunner: WorkflowServiceRunner received error running Workflow Service at /Users/George/Library/Services/Batch Rip • Add TV Tags (Filename).workflow: The action “Add TV Tags” encountered an error.

Nothing else in Console seems relevant. PM on it's way.

Thanks!!!

dhy8386
Nov 16, 2011, 01:38 PM
Been testing/playing around with 1.0.9 and overall its a great update. But I have been having a heck of a time getting the BRBE (Finder) working properly. Previously, i would run this workflow as part of a script that would feed it an MKV to convert to MP4 in HBCLI. Color coding worked great. But since the update, this has not been working. I first tried reverting my Handbrake versions since i updated those as well. Same with Hazel since that is how it is called. Still problematic. Finally reverted back to .8 and all was fine.

Note, my first issue is that with the new BRBE (Finder) workflows which look different that .8, it was a problem with the Group setting which had to be set to batch. However, after that i was still having an issue where a terminal session would start and then error out.

MJ, anyone else report issues here or is it just me? I think i will throw up a VM and replicate my environment to do some more testing. Also i can send you the logs that way. I should have saved them but it was my production environment.

HackerJL
Nov 16, 2011, 01:40 PM
Been testing/playing around with 1.0.9 and overall its a great update. But I have been having a heck of a time getting the BRBE (Finder) working properly. Previously, i would run this workflow as part of a script that would feed it an MKV to convert to MP4 in HBCLI. Color coding worked great. But since the update, this has not been working. I first tried reverting my Handbrake versions since i updated those as well. Same with Hazel since that is how it is called. Still problematic. Finally reverted back to .8 and all was fine.

Note, my first issue is that with the new BRBE (Finder) workflows which look different that .8, it was a problem with the Group setting which had to be set to batch. However, after that i was still having an issue where a terminal session would start and then error out.

MJ, anyone else report issues here or is it just me? I think i will throw up a VM and replicate my environment to do some more testing. Also i can send you the logs that way. I should have saved them but it was my production environment.

What does the hazel log look like? Did you edit the hazel rule to point to the new automator action (I know its not named differently, but it is technically different, which is what I had to do to my hazel scripts, just repoint it.)

mac.jedi
Nov 16, 2011, 02:50 PM
Been testing/playing around with 1.0.9 and overall its a great update. But I have been having a heck of a time getting the BRBE (Finder) working properly. Previously, i would run this workflow as part of a script that would feed it an MKV to convert to MP4 in HBCLI. Color coding worked great. But since the update, this has not been working. I first tried reverting my Handbrake versions since i updated those as well. Same with Hazel since that is how it is called. Still problematic. Finally reverted back to .8 and all was fine.

Note, my first issue is that with the new BRBE (Finder) workflows which look different that .8, it was a problem with the Group setting which had to be set to batch. However, after that i was still having an issue where a terminal session would start and then error out.

MJ, anyone else report issues here or is it just me? I think i will throw up a VM and replicate my environment to do some more testing. Also i can send you the logs that way. I should have saved them but it was my production environment.

Hi dhy8386!

Thanks for letting me know about this. You'll need to change your scripts to have them launch the "Batch Rip • Batch Encode" workflow, not the Finder versions.

The issue is a result of the changes made to the "Finder" workflows in v1.0.9.

While updating the documentation, it occurred to me that the only reason we need to have "Finder" versions of Batch Rip and Batch Encode is to make them accessible from the Finder's contextual menu. It's always bugged me that you'd have to change the settings in both of the workflows, so I thought I'd just make the "Finder" versions run the "non-Finder" versions. That way you'd only have to change the settings in the main workflow.

A side effect of this is that the type of input the "Run Workflow" action accepts is different than the type that the "Batch Encode" action accepts. So, Batch Encode (Finder) only works via the Finder now. Sorry, it didn't occur to me that this change would effect it's scripting ability. I'll update the documentation to reflect the change. Just note that to run Batch Encode or Batch Rip from a script you'll now use the "non-Finder" versions.

Thanks!

mac.jedi

mac.jedi
Nov 16, 2011, 03:05 PM
You'll need to change your scripts to have them launch the "Batch Rip • Batch Encode" workflow, not the Finder versions.

I lied, I just did a test and it appears you can use the "Finder" versions too if you'd like. You just have to enable "Wait for workflow to finish."

Don't ask me why this works, but it worked for me :)

HackerJL
Nov 16, 2011, 03:22 PM
I lied, I just did a test and it appears you can use the "Finder" versions too if you'd like. You just have to enable "Wait for workflow to finish."

Don't ask me why this works, but it worked for me :)

Im my experience, which is limited with the 'finder' version since I use the folders in the movies folder so its not an issue, my only hurdle was that hazel 'lost' the path to the workflow. It literally shows a little exclamation point until you repoint it to the new workflow. Still something to check.

dhy8386
Nov 16, 2011, 05:00 PM
I lied, I just did a test and it appears you can use the "Finder" versions too if you'd like. You just have to enable "Wait for workflow to finish."

Don't ask me why this works, but it worked for me :)

Interesting. Its funny cause had no idea what that feature did.

On the color coding issue, i did enable some scripts by manually enacting them on the file vs calling from a script. I just right clicked on file and ran BRBE. Still did not color files. I will look at my logs to see if i can figure out why. Likely something i did.

HackerJL, thanks for post. I am actually not calling the workflow directly in Hazel but instead, running an applescript that checks for the number of instances of handBrake CLI and if its less than 3, it will execute the BRBE script. That is why i don't need to repoint it since its referred to by name.

HackerJL
Nov 16, 2011, 05:51 PM
HackerJL, thanks for post. I am actually not calling the workflow directly in Hazel but instead, running an applescript that checks for the number of instances of handBrake CLI and if its less than 3, it will execute the BRBE script. That is why i don't need to repoint it since its referred to by name.

Interesting, mac.jedi and I were just talking about that the other day. I would interested in seeing that applescript. I have a certain query I am working on that I would be interested in seeing your solution. PM me please.

penguy
Nov 17, 2011, 02:20 AM
I'm new to most of this, and I think I just caused myself some serious work. I was using 1.09 for the last 6 episodes of a 32 episode season. I don't recall the selection I made, but I think it was rename and tag TV items. Anyway, I liked what it did, so I selected the first 26 episodes and started the batching. Before I realized what I had done, it asked me to confirm the season/episode...
I believe it showed S01E01, which would have been correct, however, it was asking this about the last file, say S01E26. So when I realized this, I told it this file should be S01E26...but it went on to label all the files STARTING with S01E26...now I have duplicate numbers from 27-32 and a bunch of numbers above that that are incorrect...am i stuck relabeling these all manually?

Also, I cannot seem to burn Captain America...HB seems to hang, and I've bee running MakeMKV for a long time and it still has not found the 'real' file. and it went right by 93 which some have said is the correct file.

HackerJL
Nov 17, 2011, 09:03 AM
I'm new to most of this, and I think I just caused myself some serious work. I was using 1.09 for the last 6 episodes of a 32 episode season. I don't recall the selection I made, but I think it was rename and tag TV items. Anyway, I liked what it did, so I selected the first 26 episodes and started the batching. Before I realized what I had done, it asked me to confirm the season/episode...
I believe it showed S01E01, which would have been correct, however, it was asking this about the last file, say S01E26. So when I realized this, I told it this file should be S01E26...but it went on to label all the files STARTING with S01E26...now I have duplicate numbers from 27-32 and a bunch of numbers above that that are incorrect...am i stuck relabeling these all manually?


Ah yes, I have been here!

You can rename them all manually, but im lazy. Im sure mac.jedi would whip up a bash script, but im a visual guy.

I used http://renamer.com/ I have found this program VERY powerful and it gives you the result BEFORE it does it. The trial will run 100%, so you have nothing to try. I have paid for it and found it VERY nice and used it for many other purposes other than TV/Movies.

penguy
Nov 17, 2011, 11:03 AM
Ah yes, I have been here!

You can rename them all manually, but im lazy. Im sure mac.jedi would whip up a bash script, but im a visual guy.

I used http://renamer.com/ I have found this program VERY powerful and it gives you the result BEFORE it does it. The trial will run 100%, so you have nothing to try. I have paid for it and found it VERY nice and used it for many other purposes other than TV/Movies.

any idea what I should have done? My first attempt on a small sample worked well...unfortunately my second attempt took the remaining files in the directory and it didn't seem to want to start from the first file in the chain, ie, S01E01 - S01E26 ... ?

HackerJL
Nov 17, 2011, 11:07 AM
any idea what I should have done? My first attempt on a small sample worked well...unfortunately my second attempt took the remaining files in the directory and it didn't seem to want to start from the first file in the chain, ie, S01E01 - S01E26 ... ?

I have never used the rename TV shows, since it is was very different before version 9. I used renamer and then used 'add tv tags'.

mac.jedi could speak to where you went wrong more than I.

nouveaux
Nov 17, 2011, 01:41 PM
I get the following errors while attempting to process a blu-ray rip from makemkv:


PROCESSING: Date Night (2010)

*Scanning File: 'Date Night (2010)'
Will encode the following tracks: 1


*Extracting PGS Subtitle Tracks from temp file…
Progress: 100% Progress: 100%
Converting PGS subtitle tracks to VOBSUB…


HandBrake 0.9.5 (2011010300) - Darwin x86_64 - http://handbrake.fr

*Creating Date Night (2010).m4v
Video Track: 1, Duration: 01:41:36, Size: 1920x1080
Audio Track: 1, English (DTS) (5.1 ch) (iso639-2: eng)
Subtitle Tracks:


Using High Profile/720p-toolArgs: -e x264 -q 20.0 -a 1,1 -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 --detelecine --decomb -m --subtitle scan --subtitle-burn --subtitle-forced scan --native-language eng -x b-adapt=2:rc-lookahead=50

Muxing: this may take awhile...(20.07 fps, avg 7.58 fps, ETA 00h00m05s)

*Adding Meta Tags to Date Night (2010).m4v
ReadChildAtoms: "/Users/dean/Movies/Batch Encode/Date Night (2010).m4v": In atom missing child atom moov
Modify: "/Users/dean/Movies/Batch Encode/Date Night (2010).m4v": no moov atom, can't modify
Could not open '/Users/dean/Movies/Batch Encode/Date Night (2010).m4v'... aborting
Searching TMDb for Date+Night... Could not find a match

*Adding Chapter Names to Date Night (2010).m4v
Searching TagChimp for chapter names... ERROR: unable to open for read: /Users/dean/Movies/Batch Encode/Date Night (2010).m4v


I am not able to open the encoded file with VLC. Here are my presets: http://imgur.com/ribEy. Any idea? Any help would be appreciated! Thanks!

penguy
Nov 19, 2011, 11:53 AM
Hi all...

I seem to be missing something when it comes to using automator...and would greatly appreciate some help...

I have two issues (ok...probably a lot more...but two for now). First, I have ripped/encoded about a dozen discs over the past several days...and that's worked well, but when I look at the amount I have to go, I'm beginning to think ripping to the HD and then encoding in batches is indeed the best way to go. But when I try the batch rip option...I get no response...so it seems as though I have something mucked up in the setup.

second,

I have several multi-disc movies, LOTR for example. when I try to use rename and tag, it doesn't recognize either that it is D1 or D2, nor does it offer an option for extended edition (though maybe that does not make a difference). Am I missing something?

thanks

mac.jedi
Nov 20, 2011, 08:46 AM
I get the following errors while attempting to process a blu-ray rip from makemkv:



I am not able to open the encoded file with VLC. Here are my presets: http://imgur.com/ribEy. Any idea? Any help would be appreciated! Thanks!

Hi nouveaux!

I think your settings are fine. It may have been a problem with the mkv or HB failed somewhere during encoding. It's difficult to tell without verbose logging turned on. Can you play the mkv in VLC?

If it does, I'd try to encode it again. One thing that may help is to try using the latest nightly build of HandBrakeCLI. I think the High Profile setting has changed since HB 0.95.

----------

But when I try the batch rip option...I get no response...so it seems as though I have something mucked up in the setup.

Try following the Testing Batch Rip part of the tutorial. Post your Batch Rip log if you still have any issues. It's located in ~/Library/Logs/BatchRipActions/

I have several multi-disc movies, LOTR for example. when I try to use rename and tag, it doesn't recognize either that it is D1 or D2, nor does it offer an option for extended edition (though maybe that does not make a difference). Am I missing something?

For multi-disc movies, you will have to rename them individually. I usually append "Part 1" or "Part 2". You can still use the Add Movie Tags action to tag them. Tmdb doesn't have separate tags for extended or special editions, just one entry per movie.

----------

any idea what I should have done? My first attempt on a small sample worked well...unfortunately my second attempt took the remaining files in the directory and it didn't seem to want to start from the first file in the chain, ie, S01E01 - S01E26 ... ?

The number you enter is always the start number. It's a little confusing as the dialog is listing the last file. The action loops through each file to determine whether you are rename a single file or multiple files, so it's listing the filename of the last file. I'll make a change in a future update which will list the first file.

xerenthar
Nov 20, 2011, 09:48 PM
Am I missing something or is there no way to create a 1080p MKV in Batch Rip * Batch Encode? I only see m4v and 720p. I've used HandBrake (GUI) before to rip, but never the CLI and never this.

mac.jedi
Nov 21, 2011, 10:07 AM
Am I missing something or is there no way to create a 1080p MKV in Batch Rip * Batch Encode? I only see m4v and 720p. I've used HandBrake (GUI) before to rip, but never the CLI and never this.

Batch Encode creates a 1080p MKV from a BD source automatically. This is used as the final input for HBCLI to create an Mp4. The 1080p Mkv file is saved along with the mp4 in your Batch Encode Folder.

If all you want is an Mkv, use the Batch Rip Service and you're done.

I hope this helps!

Thanks!

mac.jedi

xerenthar
Nov 21, 2011, 01:47 PM
Batch Encode creates a 1080p MKV from a BD source automatically. This is used as the final input for HBCLI to create an Mp4. The 1080p Mkv file is saved along with the mp4 in your Batch Encode Folder.

If all you want is an Mkv, use the Batch Rip Service and you're done.

I hope this helps!

Thanks!

mac.jedi

o alright, so if i want to shrink it down to a more manageable 10-15GB while retaining 1080p, it's off to handbrake then?

ty for response!

mac.jedi
Nov 21, 2011, 03:26 PM
o alright, so if i want to shrink it down to a more manageable 10-15GB while retaining 1080p, it's off to handbrake then?

ty for response!

Batch Encode does create a smaller mkv that contains only the main video, audio and converted subtitle tracks. The video and audio are not compressed, so the file size varies depending on the source material. This file is great for Plex or to encode to mp4 later. To create the mkv file ONLY, make sure Encode HD Sources is checked, and uncheck the HD (720p) and HD (SD) encode options. This will just create the mkv with no mp4's created by HandBrake.

If you want a compressed 1080p mp4 file you can use the High Profile setting for the HD (720p) encode type.

If you really wanna compressed mkv file, it's a little harder to achieve, but it is possible using a custom encode setting. See the help section "Configuring Batch Encode" for more info on custom settings.

Here's an example of using a custom encode setting to create a compressed mkv:

-e x264 -q 21.0 -r 29.97 --pfr -a \${audioTrack},\${audioTrack} -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mkv -4 --loose-anamorphic -m --subtitle scan --subtitle-burn --subtitle-forced scan --native-language \$nativeLanguage


It might help if you explain what you're doing in the HB GUI to create your desired mkv.

gunthermic
Nov 22, 2011, 07:52 AM
Batch Encode does create a smaller mkv that contains only the main video, audio and converted subtitle tracks. The video and audio are not compressed, so the file size varies depending on the source material. This file is great for Plex or to encode to mp4 later. To create the mkv file ONLY, make sure Encode HD Sources is checked, and uncheck the HD (720p) and HD (SD) encode options. This will just create the mkv with no mp4's created by HandBrake.

If you want a compressed 1080p mp4 file you can use the High Profile setting for the HD (720p) encode type.

If you really wanna compressed mkv file, it's a little harder to achieve, but it is possible using a custom encode setting. See the help section "Configuring Batch Encode" for more info on custom settings.

Here's an example of using a custom encode setting to create a compressed mkv:

-e x264 -q 21.0 -r 29.97 --pfr -a \${audioTrack},\${audioTrack} -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mkv -4 --loose-anamorphic -m --subtitle scan --subtitle-burn --subtitle-forced scan --native-language \$nativeLanguage


It might help if you explain what you're doing in the HB GUI to create your desired mkv.

Can you ever not know the answer??? LOL Thank you for all that you provide and answer on here. I think I know how to do all this, but everytime you continue to tell us more stuff I might not think about..

dlegend
Nov 22, 2011, 06:08 PM
I'm still reading through 35 pages of this thread, but I want to get this set up before I leave for Thanksgiving, is there still a script to work with Snow Leopard?

mac.jedi
Nov 22, 2011, 06:53 PM
I'm still reading through 35 pages of this thread, but I want to get this set up before I leave for Thanksgiving, is there still a script to work with Snow Leopard?

Hi dlegend!

Sorry, but Snow Leopard is no longer supported. You could try v1.0.8 (http://db.tt/c1esLD9), but please note that this version is dead to me :)

Also note that the tutorial has been updated for v1.0.9 as well, so if you need help you'd be better off upgrading to Lion.

I hope this helps!

Thanks,

mac.jedi

dlegend
Nov 22, 2011, 08:02 PM
Thanks MacJedi. I would upgrade to Lion but it's a work computer so unfortunately I can't. I'll give 1.0.8 a try, if I can't get it working maybe I'll upgrade my personal mac to Lion and use 1.0.9.

eenuuk
Nov 23, 2011, 01:01 PM
Ok, upgraded to the new version and having some REAL issues. Tried to batch rip a TV series disc I own. There were errors so ripped it with another application. The ripped folder is in my Batch Rip TV Shows folder and is names as 'show name - #S#D' as it should be.

Right clicking on it and selecting batch encode opens terminal for less than a second then this is where the whole thing falls over. Any ideas?

mac.jedi
Nov 23, 2011, 02:02 PM
Ok, upgraded to the new version and having some REAL issues. Tried to batch rip a TV series disc I own. There were errors so ripped it with another application. The ripped folder is in my Batch Rip TV Shows folder and is names as 'show name - #S#D' as it should be.

Right clicking on it and selecting batch encode opens terminal for less than a second then this is where the whole thing falls over. Any ideas?

Hi eenuuk!

It would help if you posted your log file: ~/Library/Services/Logs/BatchRipActions/

Also, what app did you use to rip the disc?

Thanks!

Mac.jedi

----------

[QUOTE=eenuuk;13903674The ripped folder is in my Batch Rip TV Shows folder and is names as 'show name - #S#D' as it should be.[/QUOTE]

FYI, it should be: show name - S#D#, but that's not gonna solve your problem.

eenuuk
Nov 23, 2011, 02:17 PM
I used RipIt by the Little App Factory.

That Folder you stated does not exist on my machine....

In regards to the filename, what you said it should be is exactly what I said it should be..... so on that front you have lost me ;)

Hi eenuuk!

It would help if you posted your log file: ~/Library/Services/Logs/BatchRipActions/

Also, what app did you use to rip the disc?

Thanks!

Mac.jedi

----------



FYI, it should be: show name - S#D#, but that's not gonna solve your problem.

eenuuk
Nov 23, 2011, 02:58 PM
Upon a reboot I found the attached text file on my desktop

mac.jedi
Nov 23, 2011, 04:02 PM
Upon a reboot I found the attached text file on my desktop

That file was created by the 'Get Source Info from HandBrake' service. Did you run that service by mistake? You want run the Batch Encode (Finder) service.

If you ran the workflow, the log folder should be there. Do you know how to get to the User's Library folder in Lion?

eenuuk
Nov 23, 2011, 04:14 PM
Yes, and as i say it doesn't exist and I did run that service in addition to to
Batch Encode (Finder) service. So whatever is going on the workflow is crapping out before the point of creating said folder.

~/Library/Services/ exists but there are no subfolders in there


That file was created by the 'Get Source Info from HandBrake' service. Did you run that service by mistake? You want run the Batch Encode (Finder) service.

If you ran the workflow, the log folder should be there. Do you know how to get to the User's Library folder in Lion?

mac.jedi
Nov 23, 2011, 04:18 PM
Yes, and as i say it doesn't exist and I did run that service in addition to to
Batch Encode (Finder) service. So whatever is going on the workflow is crapping out before the point of creating said folder.

~/Library/Services/ exists but there are no subfolders in there

Sorry, I mistyped, it's in ~/Library/Logs

eenuuk
Nov 23, 2011, 04:39 PM
See attached

Sorry, I mistyped, it's in ~/Library/Logs

mac.jedi
Nov 23, 2011, 05:15 PM
See attached

That's the log for Batch Rip. I need to see the log for Batch Encode.

mac.jedi
Nov 23, 2011, 05:40 PM
In regards to the filename, what you said it should be is exactly what I said it should be..... so on that front you have lost me ;)

Sorry I wasn't clearer, the pound signs should follow the letters. It should be S#D# rather than #S#D.

eenuuk
Nov 24, 2011, 04:18 AM
Ok, Re the title, I just typed wrong here since i was doing it from memory it is how your program intended and apologies for the wrong log, it was getting late here when i posted it and my brain wasn't engaged. Please find attached the required log.

That's the log for Batch Rip. I need to see the log for Batch Encode.

mac.jedi
Nov 24, 2011, 10:11 AM
Ok, Re the title, I just typed wrong here since i was doing it from memory it is how your program intended and apologies for the wrong log, it was getting late here when i posted it and my brain wasn't engaged. Please find attached the required log.

Hi eenuuk!

I don't see any errors in the log, but the log is only progressing up to the point where Terminal executes the main script file. I'd like you to try a few things:


Make sure "Run in the background" is disabled in the workflow. It looks like it is, but toggle it on and off to make sure, and save your changes.

Launch Console and try the Batch Encode (Finder) service again. Let me know if you see any errors in the system log when the service is run.

Next, try the "non-finder" Batch Encode service from the application menu. If this fails too, Let me know if you see any errors in the system log when this service is run.

Try another source file or folder, using something other than RipIt. It could be just a mp4 file. I'd like to see if it having trouble with just the Damages rip or if its a problem with the Service.


I'm testing a RipIt disc now, I'll let you know if I find something with the format.

Thanks,

mac.jedi

mac.jedi
Nov 24, 2011, 10:49 AM
Ok, Re the title, I just typed wrong here since i was doing it from memory it is how your program intended and apologies for the wrong log, it was getting late here when i posted it and my brain wasn't engaged. Please find attached the required log.

I tested RipIt using the "Rip" option with the default settings on a Family Guy disc. Batch Encode (Finder) is processing it now and it seems like it's working fine. I used RipIt's .dvdmedia extension and without it; both seem to process normally. Let me know what you find from the steps I suggested earlier.

Thanks!

mac.jedi

eenuuk
Nov 24, 2011, 12:13 PM
1. Done
2. Done - no logs
3. Done - no logs
4. Done - Tried it on a movie and same issue.

Your last set of scripts worked. This one is giving me grief.

Thanks for your help I appreciate it.

If you want to speak to me via IM PM me your chat handle.

EDIT: So I solved the issue! I went to reinstall the app.... where it asks if you want to install the workflows I said uninstall. Then I installed and now it is working again. I guess something must have got corrupted somewhere. I will let you know how the encode turns out that I am currently doing.

mac.jedi, thanks for all your hard work on this app - it has saved me hours of pain - it is much appreciated. All I need now is a guide on how to modify it to work with RipIt and MacTheRipper :P Fairmount is useless about 98% of the time for me :/

Hi eenuuk!

I don't see any errors in the log, but the log is only progressing up to the point where Terminal executes the main script file. I'd like you to try a few things:


Make sure "Run in the background" is disabled in the workflow. It looks like it is, but toggle it on and off to make sure, and save your changes.

Launch Console and try the Batch Encode (Finder) service again. Let me know if you see any errors in the system log when the service is run.

Next, try the "non-finder" Batch Encode service from the application menu. If this fails too, Let me know if you see any errors in the system log when this service is run.

Try another source file or folder, using something other than RipIt. It could be just a mp4 file. I'd like to see if it having trouble with just the Damages rip or if its a problem with the Service.


I'm testing a RipIt disc now, I'll let you know if I find something with the format.

Thanks,

mac.jedi

mac.jedi
Nov 24, 2011, 01:26 PM
EDIT: So I solved the issue! I went to reinstall the app.... where it asks if you want to install the workflows I said uninstall. Then I installed and now it is working again. I guess something must have got corrupted somewhere. I will let you know how the encode turns out that I am currently doing.


Great! Glad you got it workin'!


mac.jedi, thanks for all your hard work on this app - it has saved me hours of pain - it is much appreciated. All I need now is a guide on how to modify it to work with RipIt and MacTheRipper :P Fairmount is useless about 98% of the time for me :/

Thanks! I'm not a fan of MacTheRipper, but RipIt is a good alternative. In Batch Rip, MakeMKV is the only other option to Fairmount for DVDs. It works quite well, but doesn't do a full backup for DVD; only mkv's of each title.

Thanks Again!

mac.jedi

imahawki
Nov 26, 2011, 11:13 AM
Sorry if this is a repost, this thread is 35 pages though.

Growl no longer works if you have growl 1.3 installed. Is that something that can be fixed?

Also, when this script processes my files its naming them movie.dvdmedia.m4v How do I get it to output just movie.m4v instead?

mac.jedi
Nov 26, 2011, 02:13 PM
Sorry if this is a repost, this thread is 35 pages though.

Growl no longer works if you have growl 1.3 installed. Is that something that can be fixed?

Hi imahawki!

Thanks for letting me know. I haven't tested it yet. Did you install growl from the App Store? Batch Encode uses growl notify which was a command-line utility included in the installer. It's possible it's not supported unless you build it from the source. I'll look into it and issue an update in the coming weeks.


Also, when this script processes my files its naming them movie.dvdmedia.m4v How do I get it to output just movie.m4v instead?

I assume you're using RipIt for your source rips. There is an option in ripit's prefs which will save the folder structure as a directory and not as a .dvdmedia bundle. The other option is to use Get Info from the Finder and remove the .dvdmedia extension manually. This will turn it into a regular folder as well.

I hope this helps!

Thanks!

Mac.jedi

imahawki
Nov 26, 2011, 03:12 PM
1) Yes, I got the new version of Growl from the Mac AppStore.

2) Cool, I'll just UNcheck the box that says "Use dvdmedia extension" going forward.

mac.jedi
Nov 27, 2011, 12:16 PM
Growl no longer works if you have growl 1.3 installed. Is that something that can be fixed?

ABOUT GROWL 1.3.x SUPPORT
The new version of Growl available from the app store is compatible with Batch Rip Actions for Automator v1.0.9.

NOTE: It is recommended to uninstall Growl 1.2.x before upgrading to Growl 1.3. See Growl's website (http://growl.info/growlupdateavailable) for more info.

Growl is a free notification system for Mac OS X: it allows applications and scripts that support Growl to send you notifications.

The Batch Rip and Batch Encode actions both contain Growl support. The GrowlNotify command-line tool is needed by these actions to notify the Growl application. GrowlNotify is available from the growl website's general downloads page: Growl's download page. (http://growl.info/downloads#generaldownloads)

Note: you can also access the page from Growl preferences. Click Additional Downloads at the bottom of the General tab.

To install GrowlNotify 3.1:

Download GrowlNotify 1.3 (http://growl.cachefly.net/GrowlNotify-1.3.zip)
Double-click the GrowlNotify.pkg to install GrowlNotify.
Enter your administrator password and growlNotify will then be installed in a hidden directory used for command line tools: /usr/local/bin
To activate notification by email or speech, navigate to the Growl Preferences and click enable in the GrowlNotify application notification settings.


NOTE: When running Batch Encode or Batch Rip, you may receive an error in Terminal regarding the "growl helper app". Please ignore this error it was used to wake up growl, which is no longer needed. The code that causes the error has no effect on growl and will be removed in the next update.

Thanks!

mac.jedi

imahawki
Nov 27, 2011, 12:36 PM
Sweet!

Touchstone64
Nov 28, 2011, 12:48 PM
Hi folks,

Looking for some advice here. I'm running the latest Batch Rip Actions (1.0.9 build 257) on a fully updated Lion installation. I'm also trying to automate a Batch Encode process using Hazel, but whenever I launch the workflow using Hazel directly, or via a shell script using 'echo -e <folder> | automator -i - "/Users/graham/Library/Services/Batch Rip • Batch Rip (Finder).workflow" I get an unhanded exception from Automator, for example: "2011-11-28 18:27:22.732 Automator Runner[8277:707] NSDistantObject (0x400437f80) is invalid (no connection)" (followed by an exception stack).

I get the same exception how ever I run the automator. If I select the same folder in Finder and use the Services... context menu to run the workflow it's fine.

Can anyone suggest what's up, or where else I can start looking?

Many thanks in advance,

GT

mac.jedi
Nov 28, 2011, 02:11 PM
Hi folks,

Looking for some advice here. I'm running the latest Batch Rip Actions (1.0.9 build 257) on a fully updated Lion installation. I'm also trying to automate a Batch Encode process using Hazel, but whenever I launch the workflow using Hazel directly, or via a shell script using 'echo -e <folder> | automator -i - "/Users/graham/Library/Services/Batch Rip • Batch Rip (Finder).workflow" I get an unhanded exception from Automator, for example: "2011-11-28 18:27:22.732 Automator Runner[8277:707] NSDistantObject (0x400437f80) is invalid (no connection)" (followed by an exception stack).

I get the same exception how ever I run the automator. If I select the same folder in Finder and use the Services... context menu to run the workflow it's fine.

Can anyone suggest what's up, or where else I can start looking?

Many thanks in advance,

GT

Hi GT!

This issue was discussed a few posts back. Use the Batch Encode.workflow instead of the "Finder" workflow in your script. The "Finder" workflow only works via the Finder unless you enable the "wait for workflow" option.

Thanks!

Mac.jedi

----------

Hi folks,

Looking for some advice here. I'm running the latest Batch Rip Actions (1.0.9 build 257) on a fully updated Lion installation. I'm also trying to automate a Batch Encode process using Hazel, but whenever I launch the workflow using Hazel directly, or via a shell script using 'echo -e <folder> | automator -i - "/Users/graham/Library/Services/Batch Rip • Batch Rip (Finder).workflow" I get an unhanded exception from Automator, for example: "2011-11-28 18:27:22.732 Automator Runner[8277:707] NSDistantObject (0x400437f80) is invalid (no connection)" (followed by an exception stack).

I get the same exception how ever I run the automator. If I select the same folder in Finder and use the Services... context menu to run the workflow it's fine.

Can anyone suggest what's up, or where else I can start looking?

Many thanks in advance,

GT

Sorry, just noticed you were asking about Batch Rip, the same solution applies to the Batch Rip workflows as well.

eenuuk
Nov 28, 2011, 02:21 PM
I'm having some issues with subtitles for Blu-tay rips.

When i take a foreign DVD and use the services the final encoded file has burned in subtitles which is perfect. When I take the same film on Blu-ray the encoded output file has no subtitles anywhere.

The original mkv file has burned in subtitles but the one that is placed in the encode folder after encoding is finished does not. Obviously the .m4v file also doesn't.

Anyone help?

Touchstone64
Nov 28, 2011, 02:39 PM
This issue was discussed a few posts back. Use the Batch Encode.workflow instead of the "Finder" workflow in your script. The "Finder" workflow only works via the Finder unless you enable the "wait for workflow" option.

And there was me thinking I was paying attention :o

Everything is now working swimmingly. Thanks once again for your help Mr. Jedi :D

mac.jedi
Nov 28, 2011, 06:52 PM
I'm having some issues with subtitles for Blu-tay rips.

When i take a foreign DVD and use the services the final encoded file has burned in subtitles which is perfect. When I take the same film on Blu-ray the encoded output file has no subtitles anywhere.

The original mkv file has burned in subtitles but the one that is placed in the encode folder after encoding is finished does not. Obviously the .m4v file also doesn't.

Anyone help?

It's hard to troubleshoot without seeing a verbose log. A couple of things you can try is to make sure that "use default audio" is checked and the Native language is set to the language you want for the subtitles. Also, make sure the path to BDSup2Sub.jar is set. You should see an icon for it in the action panel. It's also possible that the subs embedded in the BD are in a different format that BDSup2Sub or Handbrake can't handle. If this is the case you might need to do it the old fashion way and download the subs separately using Subler to mux them in to your mp4.

eenuuk
Nov 29, 2011, 09:46 AM
All that is done, however, the BDSup2Sub I believe was set as the same directory as all the scripts as default?

There was no BDSup2Sub there, is it meant to install as part of your app? If not (and i am going to go out on a wing and probably get shot down) your instructions on the front page don't say to go and download it and install it. I have installed BDSup2Sub400.jar in my /Applications folder and have the original MKV and one i have already VobSubbed the subs onto. Hopefully you will get this and respond before i start encoding since it takes 6hrs per encode!

Would you recommend trying encoding both these different MKV with the Batch Encode? or just the one I have vobsubbed the subtitles on directly in HB GUI?

It's hard to troubleshoot without seeing a verbose log. A couple of things you can try is to make sure that "use default audio" is checked and the Native language is set to the language you want for the subtitles. Also, make sure the path to BDSup2Sub.jar is set. You should see an icon for it in the action panel. It's also possible that the subs embedded in the BD are in a different format that BDSup2Sub or Handbrake can't handle. If this is the case you might need to do it the old fashion way and download the subs separately using Subler to mux them in to your mp4.

mac.jedi
Nov 29, 2011, 10:54 AM
All that is done, however, the BDSup2Sub I believe was set as the same directory as all the scripts as default?

There was no BDSup2Sub there, is it meant to install as part of your app? If not (and i am going to go out on a wing and probably get shot down) your instructions on the front page don't say to go and download it and install it. I have installed BDSup2Sub400.jar in my /Applications folder and have the original MKV and one i have already VobSubbed the subs onto. Hopefully you will get this and respond before i start encoding since it takes 6hrs per encode!

Would you recommend trying encoding both these different MKV with the Batch Encode? or just the one I have vobsubbed the subtitles on directly in HB GUI?

BDSup2Sub.jar is included in the app. It's in the resources folder. It's linked by default, but if you have trouble relinking it and dont wanna reinstall the Services, you can copy it out of the resources folder and paste it to your /applications folder and link to the copied file. I'd remove the one you downloaded in your applications folder too.

If your original Mkv has the original subtitle tracks, I'd use that one. You can use VLC to inspect the subtitle tracks.

Also, I've never seen BDSup2Sub400.jar, the one used with the actions doesn't have 400 in the file name.

One more thing, I posted a custom arg a few posts back that uses HB's --start-at and stop-at duration arguments to encode only a portion of the track. This might be useful for testing rather than encoding the entire file. Make sure you use the subtitle, language and audio track variables in the custom setting. See the help section on customizing batch encode for more info on the custom settings.

eenuuk
Nov 29, 2011, 11:05 AM
BDSup2Sub400.jar is the latest version I think i got it via a doom9 link?

I am at a loss as to what to do since the original MKV displays the subtitles fine, yet the process is not clearly extracting, converting and remuxing correctly.....

As you say I could do it manually but I see no technical reason why this won't work

BDSup2Sub.jar is included in the app. It's in the resources folder. It's linked by default, but if you have trouble relinking it and dont wanna reinstall the Services, you can copy it out of the resources folder and paste it to your /applications folder and link to the copied file. I'd remove the one you downloaded in your applications folder too.

If your original Mkv has the original subtitle tracks, I'd use that one. You can use VLC to inspect the subtitle tracks.

Also, I've never seen BDSup2Sub400.jar, the one used with the actions doesn't have 400 in the file name.

mac.jedi
Nov 29, 2011, 11:44 AM
BDSup2Sub400.jar is the latest version I think i got it via a doom9 link?

I am at a loss as to what to do since the original MKV displays the subtitles fine, yet the process is not clearly extracting, converting and remuxing correctly.....

As you say I could do it manually but I see no technical reason why this won't work

It may be the latest version, but it's not the version Batch Encode uses. If you PM me a verbose log I might be able to see what's happening. FYI - BD subs have been working fine for me and I haven't heard anyone else having any issues.

eenuuk
Nov 29, 2011, 12:30 PM
Ok, I will activate verbose logging now and go for another encode over tonight and PM you it.

It may be the latest version, but it's not the version Batch Encode uses. If you PM me a verbose log I might be able to see what's happening. FYI - BD subs have been working fine for me and I haven't heard anyone else having any issues.

mac.jedi
Nov 29, 2011, 01:23 PM
Ok, I will activate verbose logging now and go for another encode over tonight and PM you it.

Hold off on that. I think I found the issue. I ran a verbose log on a fresh install of the actions and it looks like the BDSup2Sub.jar file thats on Doom9 is corrupted. See this post: http://forum.doom9.org/showthread.php?p=1540915#post1540915

I must have downloaded the corrupt file on my development machine and included it in the final build. I've uploaded a copy of the BDSup2Sub file I've been using until I issue an update:

http://db.tt/ui2f2pBp

Let me know how it works for you.

Thanks!

mac.jedi

eenuuk
Nov 30, 2011, 07:26 AM
It worked! So must have been the corrupt file.

I have another issue now :p

I have renamed the file fine with the scripts..... 'Män som hater kvinnor' which renames itself to 'Girl With the dragon tattoo (2009)', if I then ask it to go and get me the tags based on the file name it craps itself. Tells me to check for the name on themoviesdb.org. Searching for 'Girl With the dragon tattoo (2009)' returns the correct thing on the website. The only way to tag this movie correctly was to tell it to get movie tags via a search and tell it to look for 'Män som hater kvinnor'. I have seen this issue with the foreign titles like this that have a foreign name and are listed under the english one on the site. Only searching for the foreign name gives you the right tags..... which is annoying when the script has correctly named the file for you in english!

mac.jedi
Nov 30, 2011, 08:56 AM
I have renamed the file fine with the scripts..... 'Män som hater kvinnor' which renames itself to 'Girl With the dragon tattoo (2009)', if I then ask it to go and get me the tags based on the file name it craps itself. Tells me to check for the name on themoviesdb.org. Searching for 'Girl With the dragon tattoo (2009)' returns the correct thing on the website. The only way to tag this movie correctly was to tell it to get movie tags via a search and tell it to look for 'Män som hater kvinnor'. I have seen this issue with the foreign titles like this that have a foreign name and are listed under the english one on the site. Only searching for the foreign name gives you the right tags..... which is annoying when the script has correctly named the file for you in english!

Unfortunately, it's a problem with the themoviedb api. Even though the name "The Girl with the Dragon Tattoo" exists in the database for the foreign title, it isn't being searched or returned by the api.

Using the api, if you search the database for "The Girl with the Dragon Tattoo" it only returns the 2011 remake. So, the file won't tag because the release years are different (2009 vs. 2011).

If you search for "Girl Dragon" or "Girl Tattoo" using the "Add Movie Tags (search)" service, the api returns both titles; you can select the 2009 version and the file will tag correctly.

There's not much I can do to the "Add Movie Tags (Filename)" service since it relies on the filename matching the search results. This isn't a common problem, so you should see good results with most titles. If it happens a lot, let me know and I'll send a note to themoviedb dev team.

I hope this helps!

thanks!

mac.jedi

DrNoellyG
Nov 30, 2011, 04:12 PM
This has just been great, I want several audio tracks from each disc so I am doing some things manually. I am using 2 machines for this process and now that I am done with one of them, how do you stop this from prompting to rip the disc once I no longer want to do that?

mac.jedi
Nov 30, 2011, 04:56 PM
This has just been great, I want several audio tracks from each disc so I am doing some things manually. I am using 2 machines for this process and now that I am done with one of them, how do you stop this from prompting to rip the disc once I no longer want to do that?

Hi DrNoellyG!

"To control Batch Rip Dispatcher, Click the status display in the Workflow Editor toolbar to turn it On or Off." See the "Using Batch Rip Dispatcher" section of the tutorial or in Batch Rip Help for more info.

Thanks!

Mac.jedi

mac.jedi
Nov 30, 2011, 05:15 PM
This has just been great, I want several audio tracks from each disc so I am doing some things manually.

If you wanna get your hands dirty, you could automate this by constructing a custom HBCLI setting to use in Batch Encode. See the Handbrake cli wiki for more info. The trick would be to add multiple audio tracks using "-a 1,2,3,4,5,6,7,8,9".

DrNoellyG
Nov 30, 2011, 06:55 PM
If you wanna get your hands dirty, you could automate this by constructing a custom HBCLI setting to use in Batch Encode. See the Handbrake cli wiki for more info. The trick would be to add multiple audio tracks using "-a 1,2,3,4,5,6,7,8,9".

Yup, I'm on it at the moment, I was just finishing with the mini and now I'm going full on with a MBP.

Hi DrNoellyG!

"To control Batch Rip Dispatcher, Click the status display in the Workflow Editor toolbar to turn it On or Off." See the "Using Batch Rip Dispatcher" section of the tutorial or in Batch Rip Help for more info.

Thanks!

Mac.jedi

I feel really dumb but this was very obvious. Thanks.


Edit:

For those new to this guide, I highly recommend reading the wiki (https://trac.handbrake.fr/wiki/CLIGuide). Give it the once over and you'll be an ace in changing settings, having different audio tracks, subtitles, etc.

DrNoellyG
Dec 2, 2011, 08:34 AM
edit:
nevermind, found out how to manually select only available tracks, wiki again to the rescue.

eenuuk
Dec 2, 2011, 12:39 PM
Is this updated .jar now in the main download file available on the front page?

i.e. The one i downloaded yesterday isn't going to give me a duff encode that is currently ongoing?

Hold off on that. I think I found the issue. I ran a verbose log on a fresh install of the actions and it looks like the BDSup2Sub.jar file thats on Doom9 is corrupted. See this post: http://forum.doom9.org/showthread.php?p=1540915#post1540915

I must have downloaded the corrupt file on my development machine and included it in the final build. I've uploaded a copy of the BDSup2Sub file I've been using until I issue an update:

http://db.tt/ui2f2pBp

Let me know how it works for you.

Thanks!

mac.jedi

mac.jedi
Dec 2, 2011, 09:02 PM
Is this updated .jar now in the main download file available on the front page?

i.e. The one i downloaded yesterday isn't going to give me a duff encode that is currently ongoing?

The current build doesn't have the update. I've got a few more updates to make before I release a new build … possibly as soon as tomorrow.

Please explain what you mean by "The one i downloaded yesterday isn't going to give me a duff encode that is currently ongoing?"

mac.jedi
Dec 3, 2011, 11:41 AM
ANNOUNCEMENT: BATCH RIP ACTIONS UPDATED

Release Notes
1.0.9 build 258 (http://dl.dropbox.com/u/242398/BatchRip/BatchRipActions-1.0.9.dmg)

Click check for updates in the application menu to upgrade to the latest version.

IMPORTANT: This update includes new Service workflows. You will need to install the new workflows in order to complete the update.


Batch Encode (Updated)

Detects HD or SD sources automatically.
Easier Encoding Setup. Just select an Encode Target and a preset.
Provides up to 4 Encode Targets per source.
New Custom Presets. Save up to four custom presets using HandBrakeCLI arguments.
New Batch Encode (Finder) workflow. Fixed an issue where the workflow would fail when called from a script.
Fixed an issue with BDSup2Sub where Blu-ray subtitles would fail to convert to VOB.
Updated Growl support for version 3.1.




Batch Rip (Updated)

New Batch Rip (Finder) workflow. Fixed an issue where the workflow would fail when called from a script.
Updated Growl support for version 3.1.




Add Movie Tags (Updated)

Fixed an issue where the Video Type would not tag a file as a "Movie" when TMDB was missing a video type value.
Added a command to update the modification date when renaming files.




Rename TV Items (Updated)


The season/episode prompt now shows the first file selected.



Thanks!

mac.jedi

CrAkD
Dec 3, 2011, 08:35 PM
I cant get growl 1.3 because im not on lion can I still use everything else?

eenuuk
Dec 4, 2011, 03:33 PM
Because I downloaded the file from the front page and that one has a corrupt jar file. Going to drop you a PM when I have a second as having some serious issues with another two movies and subtitles

The current build doesn't have the update. I've got a few more updates to make before I release a new build … possibly as soon as tomorrow.

Please explain what you mean by "The one i downloaded yesterday isn't going to give me a duff encode that is currently ongoing?"

es.net75
Dec 5, 2011, 12:20 AM
Hi all, I've prblem with the batch rip workflow. i've lion with italian language, i try to run batch rip with a bluray but every time i try i get the error
com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication

i've try to install all the latest software but nothing happen. the dialog box for choosing movie or tvserial doesn't come out. if i used a dvd it seems to be ok. I've just try to rip a dvd and is process now.
let me know how can i check what is wrong.
regards

mac.jedi
Dec 5, 2011, 08:58 AM
Hi all, I've prblem with the batch rip workflow. i've lion with italian language, i try to run batch rip with a bluray but every time i try i get the error
com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication

i've try to install all the latest software but nothing happen. the dialog box for choosing movie or tvserial doesn't come out. if i used a dvd it seems to be ok. I've just try to rip a dvd and is process now.
let me know how can i check what is wrong.
regards

Try uninstalling, then reinstalling the app. Make sure to install the services and set up the batch rip service as described in the tutorial or in Batch Rip Help.

Insert a BD and try running the Batch Rip Service.

If you still have problems, find the Batch Rip log located in ~/Library/Logs/BatchRipActions and post it here. I'll take a look and see if I can find a problem.

es.net75
Dec 5, 2011, 11:36 PM
Hi mac.jedi here the log from rip action (in attach) and the problem with workflow



06/12/11 06:34:41,531 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,531 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.530 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.531 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,532 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.531 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,533 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:34:41,533 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:34:41.532 WorkflowServiceRunner[78781:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,489 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,489 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.488 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.489 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,490 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.489 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,491 com.apple.automator.xpc.workflowServiceRunner: Could not connect the action buttonPressed: to target of class NSApplication
06/12/11 06:35:20,491 com.apple.automator.xpc.workflowServiceRunner: 2011-12-06 06:35:20.490 WorkflowServiceRunner[78814:1707] Could not connect the action buttonPressed: to target of class NSApplication

mac.jedi
Dec 6, 2011, 09:16 AM
Hi mac.jedi here the log from rip action (in attach) and the problem with workflow

I reviewed your log and it looks like the system isn't listing the "Optical Media Type" as "BD-ROM". It's returning a null value. Let's try to troubleshoot this via PM; rather than filling this thread with a lot of back and forth.

I'd like you to do the following and PM me your results:


Insert the BD disc: TANGLED
Launch Terminal and Paste the following:
diskutil info "/Volumes/TANGLED" | grep "Optical Media Type" | sed 's|.*: *||'
Press Return
Next, Type:
diskutil info "/Volumes/TANGLED"
Press Return and PM me the output from Terminal.


Thanks!

mac.jedi

es.net75
Dec 6, 2011, 12:15 PM
Here the Output
I can see that nothing there on Optical Media Type.

diskutil info "/Volumes/TANGLED" | grep "Optical Media Type" | sed 's|.*: *||'

no output

diskutil info "/Volumes/TANGLED"
Device Identifier: disk1
Device Node: /dev/disk1
Part of Whole: disk1
Device / Media Name: PLEXTOR BD-ROM PX-B120U Media

Volume Name: TANGLED
Escaped with Unicode: TANGLED

Mounted: Yes
Mount Point: /Volumes/TANGLED
Escaped with Unicode: /Volumes/TANGLED

File System Personality: UDF
Type (Bundle): udf
Name (User Visible): Universal Disk Format (UDF)

Content (IOContent): None
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported

Total Size: 43.0 GB (42976149504 Bytes) (exactly 83937792 512-Byte-Blocks)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
Device Block Size: 2048 Bytes

Read-Only Media: Yes
Read-Only Volume: Yes
Ejectable: Yes

Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No

mac.jedi
Dec 6, 2011, 01:53 PM
Here the Output
I can see that nothing there on Optical Media:

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No

It looks like the os can't determine the disc type. Can you run the test again with another BD disc? Make sure you change the disc name after /Volumes to the name of your new disc. If the optical media type still comes back empty then there's an incompatibility between your drive and Mac OS X which is something I can't fix on my end. You should also try the test with a DVD. If it returns DVD-ROM, then at least you'll know the issue is isolated to BD's. You might wanna do some research to see if there's a driver or firmware update for your drive.

I hope this helps!

Mac.jedi

mac.jedi
Dec 6, 2011, 02:06 PM
Here the Output
I can see that nothing there on Optical Media Type.

diskutil info "/Volumes/TANGLED" | grep "Optical Media Type" | sed 's|.*: *||'

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No

I forgot someone else had the same issue, but don't know if he was able to resolve it or not. I'll try to PM him to see if he found a resolution. His post is here if you wanna read it: http://forums.macrumors.com/showpost.php?p=13511420&postcount=780

xboxphanatic
Dec 7, 2011, 11:50 AM
First off, I wanted to say thanks for all the work you've put into this project mac.jedi. I've been using your scripts for a few months now with my DVDs with my internal drive and they've been great!


I forgot someone else had the same issue, but don't know if he was able to resolve it or not. I'll try to PM him to see if he found a resolution. His post is here if you wanna read it: http://forums.macrumors.com/showpost.php?p=13511420&postcount=780

Last week, I've just started Blu-Rays and I've got the same drive as that poster. It's a Liteon iHOS104 (http://www.amazon.com/LITE-Blu-ray-Internal-Optical-iHOS104/dp/B002EE996Q). I originally had a very old firmware on the drive, so I flashed it to the latest and still have the issue of it not showing the drive or media types with diskutil.

Also, here's the enclosure I'm using (http://www.newegg.com/Product/Product.aspx?Item=N82E16817347024).

What I'm doing right now is just ripping the discs manually with makemkv and then running the batch encode script which works just fine. I'm more than willing to test anything though if you want to look into this further.

Thanks

mac.jedi
Dec 7, 2011, 09:46 PM
First off, I wanted to say thanks for all the work you've put into this project mac.jedi. I've been using your scripts for a few months now with my DVDs with my internal drive and they've been great!

Last week, I've just started Blu-Rays and I've got the same drive as that poster. It's a Liteon iHOS104 (http://www.amazon.com/LITE-Blu-ray-Internal-Optical-iHOS104/dp/B002EE996Q). I originally had a very old firmware on the drive, so I flashed it to the latest and still have the issue of it not showing the drive or media types with diskutil.

Also, here's the enclosure I'm using (http://www.newegg.com/Product/Product.aspx?Item=N82E16817347024).

What I'm doing right now is just ripping the discs manually with makemkv and then running the batch encode script which works just fine. I'm more than willing to test anything though if you want to look into this further.

Thanks

Here the Output
I can see that nothing there on Optical Media Type.

Thanks xboxphanatic!

xboxphanatic & es.net75,

There might be a couple other ways I can determine if the disc is a BD-ROM or DVD-ROM. I could use some help testing as my BD drives are both internal and work fine.

I'd like you to try the following:
Please insert a BD-ROM, then run the two sets of code below and send me your results for both tests.

Test 1:
drutil status

Test 2:
system_profiler SPDiscBurningDataType

Thanks!

mac.jedi

dbcsound
Dec 8, 2011, 05:43 PM
Hello! first of all, thanks for this. It worked great for my library. One issue that I'm hoping you can shed some light on is that although I've added great high res cover art, when in cover flow view, it displays low res and looks terrible. This happens wither with using your tools or by adding manually. Any thoughts? Great work. Thanks.

mac.jedi
Dec 11, 2011, 01:40 PM
I could use some help testing an update to Batch Rip.

This update is specifically targeted to those who have had issues with Batch Rip not recognizing some external USB BD-ROM drives/enclosures.

If you've been unable to get your external BD drive working with Batch Rip and would like to help, PM me to receive a link to the current beta.

Thanks!

mac.jedi

ScooterComputer
Dec 11, 2011, 11:45 PM
Hey mac.jedi! 1.0.9 looks GREAT! I have some feedback tho:

Starting with the little things--

Get Source Info doesn't fall back to using HandbrakeCLI from /usr/local/bin like Batch Encode
Prefer that colons in Titles simply be replaced by a hyphen, rather than 'space hyphen', to differentiate from titles with real dashes in their titles (which are usually space-hyphen-space).
Like an option in the TV Tagging actions to rename the file with the Episode Name, rather than "with title and year". I use Title and Year for Movies, but for Shows I use 'Show - S0XE0Y - Episode Name.m4v'
Prefer the use of 'Shows' to 'TV' (as in Batch Rip TV vs Batch Rip Shows). I think "TV" is redundant, it is a device. It is rather like saying TV and Theaters. I know, I know, everyone says it, including Apple. Doesn't mean they are right.


In Batch Encode--

The subtitle strings passed to HandbrakeCLI are '--subtitle scan --subtitle-forced scan --native-language'...the "scan" after the "forced" is not needed, as the 'subtitle-forced' option does not accept a "scan" option.
Batch Encode has trouble when passed ISO files. The Batch Encode.workflow won't see them at all in the Batch Rip folders. Batch Encode (Finder).workflow will run them (because HandbrakeCLI will happily accept them), but there is a resultant error because of the processVariables function in batchEncode.sh for ISOs that have several titles:

>:~ scott$ /Users/scott/Library/Application\ Support/Batch\ Rip/batchEncodeTmp.sh ; exit;

ERROR: HandBrakeCLI command tool is not setup to execute
ERROR: attempting to use tool at /usr/local/bin/HandBrakeCLI


- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchEncode.sh v1.0.9

Start: Sun Dec 11 15:09:18 EST 2011
Input directory 1: /Users/scott/Movies/Batch Rip Movies
Input directory 2: /Users/scott/Movies/Batch Rip Shows
Output directory: /Users/scott/Movies/Batch Encode
Use optical Drive: No
Encode HD Sources: No
Keep MKV Temp Files: No
Auto-add movie tags: Yes
Retire Existing File: No
Growl me when complete: No
Encode TV Shows between: 20-120 mins
Encode Movies between: 80-180 mins
Native Language: eng (en)
Use Disc's Default Audio Language: Yes
Will Encode: Encode 1/High Profile

WILL PROCESS THE FOLLOWING VIDEOS:
/Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 720
720
720
720
720: syntax error in expression (error token is "720
720
720
720")
/Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 480
480
480
480
480: syntax error in expression (error token is "480
480
480
480")
X-Men- First Class (2011) : (Movie)

/Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 720
720
720
720
720: syntax error in expression (error token is "720
720
720
720")
/Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Encode.action/Contents/Resources/batchEncode.sh: line 548: [[: 480
480
480
480
480: syntax error in expression (error token is "480
480
480
480")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PROCESSING: X-Men- First Class (2011)

*Scanning File: 'X-Men- First Class (2011)'
Will encode the following tracks: 1


HandBrake svn4375 (2011121101) - Darwin x86_64 - http://handbrake.fr

*Creating X-Men- First Class (2011).m4v
Video Track: 1, Duration: 02:11:36, Size: 720x480
Audio Track: 1, English (AC3) (5.1 ch) (iso639-2: eng)
Subtitle Tracks:
+ 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
+ 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
+ 3, English (iso639-2: eng) (Bitmap)(VOBSUB)
+ 4, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
+ 5, Francais (iso639-2: fra) (Bitmap)(VOBSUB)
+ 6, Closed Captions (iso639-2: eng) (Text)(CC)

Using High Profile Preset: -e x264 -q 20.0 -a 1,1 -E ca_aac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 --detelecine --decomb --loose-anamorphic -m --subtitle scan --subtitle-burn --subtitle-forced scan --native-language eng -x b-adapt=2:rc-lookahead=50

Encoding: task 2 of 2, 8.49 % (23.57 fps, avg 23.71 fps, ETA 02h01m47s)


Otherwise I ripped an entire season of Weeds today and it was very quick and painless!

The only feature left that I'd like to have is better audio track handling. I have a TON of TV Show DVD sets (see, even I said it ;)), and I'd really like to be able to get commentary tracks into those episodes that have them in one pass. But HandbrakeCLI deals with nonexistent tracks specified in '-a' by "exiting" rather than "skipping", as you're probably aware, and it is currently kind of a fight on the Handbrake Forums as to what the correct way should be (it was changed from skip to exit at r1683 or thereabouts because of bad audio track dereferencing issues--instead of fixing the issue by rewriting the audio track handler, the problem was "solved" by simply bailing). However, on the forums there is an example workaround whereby the track is scanned first, matching audio tracks by language and creating an audio track index, then running the encode...something that could be done in the processingVariables stage.

----------

Here are the HandbrakeCLI forum threads on the multi-track audio issue:

https://forum.handbrake.fr/viewtopic.php?f=10&t=22746
https://trac.handbrake.fr/changeset/1681
https://forum.handbrake.fr/viewtopic.php?f=13&t=22024&p=101199

The last one details the shell script workaround by jamiemlaw.

imahawki
Dec 17, 2011, 10:21 AM
Sorry if this is addressed, I tried searching the thread... Is there any way to trigger the encode by watching a folder instead of the iCal timer thing?

HackerJL
Dec 17, 2011, 11:32 AM
Sorry if this is addressed, I tried searching the thread... Is there any way to trigger the encode by watching a folder instead of the iCal timer thing?

I dont call the encode by ical, I use hazel to run the automator script when a file gets put in the folder I am watching. Works great.

LightSonic
Dec 17, 2011, 03:57 PM
Hi,

I just discovered this thread, very nice work. As I am a novice, could please tell me if you intend to add Elgato Turbo 264 HD support in the batch encode workflow to speed up my encodings ?

Spanner Monkey
Dec 18, 2011, 05:08 AM
*

ScooterComputer
Dec 21, 2011, 01:09 AM
if you intend to add Elgato Turbo 264 HD support in the batch encode workflow?

LightSonic, of course I'm not speaking for mac.jedi, but his workflow currently uses the command-line encoding tools from the Handbrake project (HandbrakeCLI) which do NOT support the Elgato Turbo 264HD. And it is my understanding there is no effort underway there (Handbrake) to support it either. (As in, the dev community has pretty much said "no".)

If you do a bit of Googling, you're likely to find that the overall impression is that Handbrake is actually fairly competitive to the Elgato Turbo 264HD when balancing quality/filesize/time on newerish hardware.

MrPhil
Dec 22, 2011, 07:56 AM
OK, I must be doing something wrong.

I have installed everything; all tools, etc are in the Applications folder but when I insert a DVD or BD nothing happens.

So I right-click on the DB disk showing on the Desktop and select Services, Batch RIP (Finder) and the message box appears about detecting a disc. I click continue and nothing happens.

I think I am missing something obvious here, but not sure what.

Any ideas?

Thanks

Phil

MrPhil
Dec 22, 2011, 09:20 AM
OK, don't think it is me now; seems it is my Blu-Ray drive (PX-B120U) and the known problem with it not being shown as an Optical Drive (see below)

I see there is a mention of a beta to fix this; any chance I could try it?

Thanks

Phil

(null):~ Phil$ diskutil info "/Volumes/INCEPTION"
Device Identifier: disk3
Device Node: /dev/disk3
Part of Whole: disk3
Device / Media Name: PLEXTOR BD-ROM PX-B120U Media

Volume Name: INCEPTION
Escaped with Unicode: INCEPTION

Mounted: Yes
Mount Point: /Volumes/INCEPTION
Escaped with Unicode: /Volumes/INCEPTION

File System Personality: UDF
Type (Bundle): udf
Name (User Visible): Universal Disk Format (UDF)

Content (IOContent): None
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported

Total Size: 45.7 GB (45747798016 Bytes) (exactly 89351168 512-Byte-Blocks)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
Device Block Size: 2048 Bytes

Read-Only Media: Yes
Read-Only Volume: Yes
Ejectable: Yes

Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No

Colec74
Dec 25, 2011, 08:06 AM
Good morning. The Batch Rip Dispatcher looks great, but I get a chown error message after install. The message is "chown: /Users/Cliff/Library/LaunchAgents/com.divx.agent.postinstall.plist: Operation not permitted". I searched and found one hit on it, but the post must have been deleted as it does not show when I read the page. Would you know how to get this working? Thank you in advance. I can't wait to use it.

tahitibub
Dec 26, 2011, 10:43 AM
... However, on the forums there is an example workaround whereby the track is scanned first, matching audio tracks by language and creating an audio track index, then running the encode...something that could be done in the processingVariables stage.

Creating an audio track index would be a very great feature that could help us choosing what audio tracks to keep automatically (for example : English and French).

Regards

paulisme
Dec 26, 2011, 09:21 PM
How do I change the Batch Rip Movies/TV Shows/Encode folder locations after I've installed the app? I just bought a new external hard drive and want to move those folders to the new drive.

HackerJL
Dec 27, 2011, 12:37 AM
Good morning. The Batch Rip Dispatcher looks great, but I get a chown error message after install. The message is "chown: /Users/Cliff/Library/LaunchAgents/com.divx.agent.postinstall.plist: Operation not permitted". I searched and found one hit on it, but the post must have been deleted as it does not show when I read the page. Would you know how to get this working? Thank you in advance. I can't wait to use it.

Did you try using your disk utility and verify your disk permissions?
Do you have administrator access?

----------

How do I change the Batch Rip Movies/TV Shows/Encode folder locations after I've installed the app? I just bought a new external hard drive and want to move those folders to the new drive.

I, too, dont store stuff in the locations provided in the program. I am okay with that. I use Hazel (extensively) to move stuff from the pre-determined folders to my external drive, in whatever folder I want. I strongly suggest you take a look at that program. Very worthwhile (obsession).

MrPhil
Dec 27, 2011, 03:44 AM
Anyone know the answer to this?

Thanks

OK, don't think it is me now; seems it is my Blu-Ray drive (PX-B120U) and the known problem with it not being shown as an Optical Drive (see below)

I see there is a mention of a beta to fix this; any chance I could try it?

mac.jedi
Dec 27, 2011, 08:09 AM
OK, don't think it is me now; seems it is my Blu-Ray drive (PX-B120U) and the known problem with it not being shown as an Optical Drive (see below)

I see there is a mention of a beta to fix this; any chance I could try it?

Thanks

Phil

(null):~ Phil$ diskutil info "/Volumes/INCEPTION"
Device Identifier: disk3
Device Node: /dev/disk3
Part of Whole: disk3
Device / Media Name: PLEXTOR BD-ROM PX-B120U Media

Volume Name: INCEPTION
Escaped with Unicode: INCEPTION

Mounted: Yes
Mount Point: /Volumes/INCEPTION
Escaped with Unicode: /Volumes/INCEPTION

File System Personality: UDF
Type (Bundle): udf
Name (User Visible): Universal Disk Format (UDF)

Content (IOContent): None
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported

Total Size: 45.7 GB (45747798016 Bytes) (exactly 89351168 512-Byte-Blocks)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
Device Block Size: 2048 Bytes

Read-Only Media: Yes
Read-Only Volume: Yes
Ejectable: Yes

Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported

Optical Drive Type:
Optical Media Type:
Optical Media Erasable: No


Hi MrPhil!

Here's a link to the beta. Let me know if this works for you.
http://db.tt/gvXEnFhX

Thanks!

mac.jedi

HackerJL
Dec 27, 2011, 08:33 AM
nm

mac.jedi
Dec 27, 2011, 08:35 AM
How do I change the Batch Rip Movies/TV Shows/Encode folder locations after I've installed the app? I just bought a new external hard drive and want to move those folders to the new drive.

You can change the source and destination folders in the workflow editor.

For example: In the Batch Encode workflow, Select "other" from the Batch Rip TV pull-down menu. Then, Choose a folder.

Note: If your drive isn't listed in the sidebar, use the keyboard shortcut Command+UpArrow a few times to get to the root /Volumes directory.

Unless your external drive is connected via e-sata or thunderbolt, you'll most likely have better performance if you rip and encode on your internal drive; then move your files after … like HackerJL suggested.

paulisme
Dec 27, 2011, 09:01 AM
You can change the source and destination folders in the workflow editor.

For example: In the Batch Encode workflow, Select "other" from the Batch Rip TV pull-down menu. Then, Choose a folder.

Note: If your drive isn't listed in the sidebar, use the keyboard shortcut Command+UpArrow a few times to get to the root /Volumes directory.

Unless your external drive is connected via e-sata or thunderbolt, you'll most likely have better performance if you rip and encode on your internal drive; then move your files after … like HackerJL suggested.

Thanks. That's what I ended up doing. I was just wondering if there was a global setting since the folders are referenced in multiple places.

mac.jedi
Dec 27, 2011, 09:08 AM
LightSonic, of course I'm not speaking for mac.jedi, but his workflow currently uses the command-line encoding tools from the Handbrake project (HandbrakeCLI) which do NOT support the Elgato Turbo 264HD. And it is my understanding there is no effort underway there (Handbrake) to support it either. (As in, the dev community has pretty much said "no".)

If you do a bit of Googling, you're likely to find that the overall impression is that Handbrake is actually fairly competitive to the Elgato Turbo 264HD when balancing quality/filesize/time on newerish hardware.

Hi LightSonic!

ScooterComputer is correct. HB doesn't support Elgato's Turbo.264 HD. I haven't found any benefit to using the Turbo.264 HD for anything other than speeding up the myEyeTV encodes for streaming to iOS devices. I don't even use EyeTV's export option. I use a modified version of Batch Encode that does it via HandBrake and adds the metadata via the TVGuide program data or the tvdb.com if available, then adds it to iTunes.

MrPhil
Dec 27, 2011, 04:27 PM
Hi MrPhil!
Here's a link to the beta. Let me know if this works for you.


Yep; works great thanks

Phil

syedrizvi21
Dec 27, 2011, 07:28 PM
Respect!

wovel
Dec 29, 2011, 09:12 AM
Mac Jedi,

I really appreciate all the hard work you have put into these scripts and the awesome tutorial.

I am seeing a bit of a problem and I am not sure it is working the way you intended. I ripped one movie completely and then launched the encode while a second movie was being ripped.

The movies were tagged correctly (the completed rip was marked yellow and the in process movie had no color tag). The Batch Encode process proceeded to tag both movies green. After it completed processing the first movie it moved on to processing the movie that was still copying.

It is my understanding that batch encode should have ignored the movie that was not tagged yellow. Do I need to use separate folders and have hazel move files around by color code, or is this something you expect the script to handle??

Thanks!

Josh125
Dec 31, 2011, 08:59 PM
Is there a blu-ray reader that someone can recommend? I assume that some play better than others with Lion. I've started to read the thread and to say it is overwhelming would be an understatement :o

RaceTripper
Jan 1, 2012, 10:36 AM
Is there a blu-ray reader that someone can recommend? I assume that some play better than others with Lion. I've started to read the thread and to say it is overwhelming would be an understatement :oI bought one from MacSales (http://eshop.macsales.com/item/OWC/VLU2BD12XLS/) for about $100 and it works just fine.

MrPhil
Jan 3, 2012, 07:33 AM
Not sure what has changed but now when I attempt to backup any of my Blurays using the RIP (Finder) Service, it fails with the following: -

batchRip.sh v1.0.9

Start: Tue 3 Jan 2012 13:28:33 GMT
TV Show Output directory: /Users/Phil/Movies/Batch Rip TV
Movie Output directory: /Users/Phil/Movies/Batch Rip Movies
Use only MakeMKV: No
Encode HD Sources: Yes
Full BD Backup: No (experimental)
Growl me when complete: No
Eject discs when complete: No
Skip disc if not decrypted in: 120 seconds
Copy TV Shows between: 20-120 mins (for MakeMKV)
Copy Movies between: 80-180 mins (for MakeMKV)

WILL COPY THE FOLLOWING DISCS:
RED_BIRD_2D_WW (BD-ROM : Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

*Processing BD-ROM: RED_BIRD_2D_WW
ERROR: No tracks found or failed to scan source.
Check disc, application, and settings in Automator.

Any ideas what could have broken? If I use MakeMKV GUI it rips the disk fine.

This is on a Plextor External USB Bluray drive.

Thanks

Phil

xboxphanatic
Jan 3, 2012, 08:54 AM
Not sure what has changed but now when I attempt to backup any of my Blurays using the RIP (Finder) Service, it fails with the following: -

batchRip.sh v1.0.9

Start: Tue 3 Jan 2012 13:28:33 GMT
TV Show Output directory: /Users/Phil/Movies/Batch Rip TV
Movie Output directory: /Users/Phil/Movies/Batch Rip Movies
Use only MakeMKV: No
Encode HD Sources: Yes
Full BD Backup: No (experimental)
Growl me when complete: No
Eject discs when complete: No
Skip disc if not decrypted in: 120 seconds
Copy TV Shows between: 20-120 mins (for MakeMKV)
Copy Movies between: 80-180 mins (for MakeMKV)

WILL COPY THE FOLLOWING DISCS:
RED_BIRD_2D_WW (BD-ROM : Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

*Processing BD-ROM: RED_BIRD_2D_WW
ERROR: No tracks found or failed to scan source.
Check disc, application, and settings in Automator.

Any ideas what could have broken? If I use MakeMKV GUI it rips the disk fine.

This is on a Plextor External USB Bluray drive.

Thanks

Phil

I had this happen to me too when I got back home from Christmas/New Years travels. The problem is that makemkv expired on the last day of December. You just need to reinstall from their site (http://makemkv.com/) and it will work again.

MrPhil
Jan 3, 2012, 09:01 AM
Re-downloaded and still get the same problem. Also, MakeMKV GUI works fine, it is just when run via the Rip Service

Phil

xboxphanatic
Jan 3, 2012, 09:11 AM
Re-downloaded and still get the same problem. Also, MakeMKV GUI works fine, it is just when run via the Rip Service

Phil

Yours must be a different problem then. Hopefully the Jedi can help. :)

dgtlrift
Jan 5, 2012, 07:24 AM
Absolutely awesome.

Is there a downloadable form of the documentation outside of this thread? The DMG file just contains the binary and I would like to read this without all the thread framing.

Also, is there a way to request features or even contribute features? I would think integration with opensubtitles.org http://www.opensubtitles.org/ to fetch and integrate soft-subtitles for a user defined default language(s) would be a great addition.

Thanks much,
DG

fredlwilliams
Jan 5, 2012, 07:30 AM
thank you sooo much mac.jedi for the wonderful tutorial, it has saved years off of my life. I have everything fine & running on my MBP, but I can't seem to get it started on my iMac. This shows up in the Terminal after I verify the name of the movie.


Freddies-iMac:~ fredlwilliams$ /Users/fredlwilliams/Library/Application\ Support/Batch\ Rip/batchRipTmp.sh ; exit;
2012-01-05 07:21:29.496 osascript[11183:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
2012-01-05 07:21:29.639 osascript[11184:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.

ERROR: MakeMKV.app command tool is not setup to execute
ERROR: attempting to use tool at /Applications/MakeMKV.app

ERROR: MakeMKV.app command tool could not be found
ERROR: MakeMKV.app can be installed in ./ /usr/local/bin/ /usr/bin/ ~/ or /Applications/

logout

[Process completed]

MrPhil
Jan 5, 2012, 01:06 PM
Hi mac.jedi - any ideas on this?

Thanks

Phil


Not sure what has changed but now when I attempt to backup any of my Blurays using the RIP (Finder) Service, it fails with the following: -

batchRip.sh v1.0.9

Start: Tue 3 Jan 2012 13:28:33 GMT
TV Show Output directory: /Users/Phil/Movies/Batch Rip TV
Movie Output directory: /Users/Phil/Movies/Batch Rip Movies
Use only MakeMKV: No
Encode HD Sources: Yes
Full BD Backup: No (experimental)
Growl me when complete: No
Eject discs when complete: No
Skip disc if not decrypted in: 120 seconds
Copy TV Shows between: 20-120 mins (for MakeMKV)
Copy Movies between: 80-180 mins (for MakeMKV)

WILL COPY THE FOLLOWING DISCS:
RED_BIRD_2D_WW (BD-ROM : Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

*Processing BD-ROM: RED_BIRD_2D_WW
ERROR: No tracks found or failed to scan source.
Check disc, application, and settings in Automator.

Any ideas what could have broken? If I use MakeMKV GUI it rips the disk fine.

This is on a Plextor External USB Bluray drive.

Thanks

Phil

gcoghill
Jan 7, 2012, 10:12 AM
You can use the same script I suggested before in Hazel … just change the "variable" from "$f" to "$1" (see below).


In Hazel, set up a new rule and set some conditions like "Kind" is "Movie"
Next, set "Do the following" to "Run Shell Script" > "Embedded Script"
Copy and paste the script below into Hazel's "Edit Script" text area

# HAZEL (RUN SHELL SCRIPT): SET MEDIA TYPE TO TV SHOW
/usr/local/bin/mp4tags -i 10 "$1"

Click OK; Hazel will now set the media type to TV Show for any movie files that match the conditions you've set in the rule.


I recently did a fresh install, and this script is throwing errors. I found the /usr directory, but do not see a /local directory within it. I did reinstall the 1.09 actions. Is there something I am missing?

mac.jedi
Jan 7, 2012, 11:20 AM
I recently did a fresh install, and this script is throwing errors. I found the /usr directory, but do not see a /local directory within it. I did reinstall the 1.09 actions. Is there something I am missing?

In v1.0.9, mp4v2 tools is bundled in the app. I think the path would be: "/Applications/Batch Rip Actions for Automator.app/Contents/MacOS/mp4info"

You might wanna control-click on the app and do a "show package contents" to check. I'm on my iPhone, so my spelling might be off.

----------

Hi mac.jedi - any ideas on this?

Thanks

Phil

Phil!

Sorry, I haven't had time to work this issue. I'll try to make some time mañana and get back to you with a couple things to try.

Thanks!

Mac.jedi

----------

Absolutely awesome.

Is there a downloadable form of the documentation outside of this thread? The DMG file just contains the binary and I would like to read this without all the thread framing.

Also, is there a way to request features or even contribute features? I would think integration with opensubtitles.org http://www.opensubtitles.org/ to fetch and integrate soft-subtitles for a user defined default language(s) would be a great addition.

Thanks much,
DG

Most of the documentation is in Batch Rip Help. You can access it from the help menu.

Thanks!

Mac.jedi

mac.jedi
Jan 7, 2012, 11:33 AM
thank you sooo much mac.jedi for the wonderful tutorial, it has saved years off of my life. I have everything fine & running on my MBP, but I can't seem to get it started on my iMac. This shows up in the Terminal after I verify the name of the movie.


Freddies-iMac:~ fredlwilliams$ /Users/fredlwilliams/Library/Application\ Support/Batch\ Rip/batchRipTmp.sh ; exit;
2012-01-05 07:21:29.496 osascript[11183:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
2012-01-05 07:21:29.639 osascript[11184:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.

ERROR: MakeMKV.app command tool is not setup to execute
ERROR: attempting to use tool at /Applications/MakeMKV.app

ERROR: MakeMKV.app command tool could not be found
ERROR: MakeMKV.app can be installed in ./ /usr/local/bin/ /usr/bin/ ~/ or /Applications/

logout

[Process completed]

Hi fredlwilliams!

A couple things, the scripting additions errors are due to old PowerPC versions of Adobe CS's osax files. Adobe has issued new intel versions, but you have to seek the installer out via google as it's not part of the auto update.

The MakeMKV error means the Actions cannot activate MakeMKV. Check to make sure it's installed in /Applications, not quarantined by the OS (open and authenticate it after downloading), and also check that your beta hasn't expired.

I hope this helps!

Thanks!

Mac.jedi

gcoghill
Jan 7, 2012, 11:53 AM
I think the path would be: "/Applications/Batch Rip Actions for Automator.app/Contents/MacOS/mp4info"


Thanks! So the proper utility is "mp4info" and not "mp4tags"?

Edit: tried both, neither work. Do I need to keep the quotes around the file path?

mac.jedi
Jan 7, 2012, 12:16 PM
Thanks! So the proper utility is "mp4info" and not "mp4tags"?

No, you were right, to add the video kind you'd use mp4tags.

gcoghill
Jan 7, 2012, 12:20 PM
No, you were right, to add the video kind you'd use mp4tags.

Neither are working. Thought it had it with the file path (removed the .app since that's not how mine looks) but no go.

mac.jedi
Jan 7, 2012, 12:49 PM
Neither are working. Thought it had it with the file path (removed the .app since that's not how mine looks) but no go.

You need the .app

Also, make sure you put the entire path in "quotes" ... They weren't needed before because there were no spaces in the path.

mauros
Jan 7, 2012, 06:34 PM
I just discovered your App/Scripts. I have 1.0.9 (build 258) and I am still learning how it works.
I had no problem encoding AVIs or MKSs but I am getting an error Batch Rip.
I thought because of Fairmount, MakeMKV and VLC were not in canonical place (Applications folder) although I had configured the workflow specifying the path . So I move the required apps in Application folder, and reconfigured the workflow again.
Also the second run I got the same error (in RED).....

The ripping worked only because it used Fairmount and not MakeMKV.
Also why I am getting the two errors (in Blue)????

What are the differences between Apple TV, Apple TV2, and High Profile?


Batch RIp 1.0.9 Build 258
MakeMKV 1.7.0
Fair Mount 1.1

Thanks,

MS



1 attempt :

Last login: Sat Jan 7 15:38:53 on ttys000
/Users/mauro/Library/Application\ Support/Batch\ Rip/batchRipTmp.sh ; exit;
Kitchen:~ mauro$ /Users/mauro/Library/Application\ Support/Batch\ Rip/batchRipTmp.sh ; exit;

ERROR: Applications; was expecting Fairmount.app command tool
ERROR: attempting to use tool at /Applications/Fairmount.app


WARNING: VLC.app was not found in /. This Action assumes VLC is installed in the same directory as Fairmount. Will continue, but Action may fail if VLC.app is not installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchRip.sh v1.0.9

Start: Sat Jan 7 15:40:44 EST 2012
TV Show Output directory: /Volumes/Ext/Movies/Batch Rip TV
Movie Output directory: /Volumes/Ext/Movies/Batch Rip Movies
Use only MakeMKV: No
Encode HD Sources: No
Full BD Backup: No (experimental)
Growl me when complete: Yes
Eject discs when complete: Yes
Skip disc if not decrypted in: 120 seconds
Copy TV Shows between: 20-120 mins (for MakeMKV)
Copy Movies between: 80-180 mins (for MakeMKV)

WILL COPY THE FOLLOWING DISCS:
WHATDRMS (DVD-ROM : Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Rip.action/Contents/Resources/batchRip.sh: line 340: /Applications/DVD/Contents/MacOS/makemkvcon: No such file or directory

*Processing : WHATDRMS
Copying /Volumes/WHATDRMS

2 attempt:

Last login: Sat Jan 7 16:29:13 on ttys000
Kitchen:~ mauro$ /Users/mauro/Library/Application\ Support/Batch\ Rip/batchRipTmp.sh ; exit;

ERROR: Applications; was expecting Fairmount.app command tool
ERROR: attempting to use tool at /Applications/Fairmount.app


WARNING: VLC.app was not found in /. This Action assumes VLC is installed in the same directory as Fairmount. Will continue, but Action may fail if VLC.app is not installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
batchRip.sh v1.0.9

Start: Sat Jan 7 16:44:42 EST 2012
TV Show Output directory: /Volumes/Ext/Movies/Batch Rip TV
Movie Output directory: /Volumes/Ext/Movies/Batch Rip Movies
Use only MakeMKV: No
Encode HD Sources: No
Full BD Backup: No (experimental)
Growl me when complete: Yes
Eject discs when complete: Yes
Skip disc if not decrypted in: 120 seconds
Copy TV Shows between: 20-120 mins (for MakeMKV)
Copy Movies between: 80-180 mins (for MakeMKV)

WILL COPY THE FOLLOWING DISCS:
SixthSense_US_Feature (DVD-ROM : Movie)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Rip.action/Contents/Resources/batchRip.sh: line 340: /Applications/Contents/MacOS/makemkvcon: No such file or directory

gcoghill
Jan 8, 2012, 08:02 AM
You need the .app

Also, make sure you put the entire path in "quotes" ... They weren't needed before because there were no spaces in the path.

That did it, thanks once again macJedi!

warp1g
Jan 8, 2012, 10:23 AM
Hello macjedi,


Thanks so much for an amazing set of tools. I have been working with a set of HD mkv's that I want to process and tag for iTunes import and creating a couple of different formats.

My problem is that if I store my mkv's in a folder that has parens or the filename contains them, the scripts bomb. It says that it cannot find any movies. Am I doing something wrong?

Many Thanks,

-jm

mac.jedi
Jan 8, 2012, 10:54 AM
thank you sooo much mac.jedi for the wonderful tutorial, it has saved years off of my life. I have everything fine & running on my MBP, but I can't seem to get it started on my iMac. This shows up in the Terminal after I verify the name of the movie.


Freddies-iMac:~ fredlwilliams$ /Users/fredlwilliams/Library/Application\ Support/Batch\ Rip/batchRipTmp.sh ; exit;
2012-01-05 07:21:29.496 osascript[11183:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
2012-01-05 07:21:29.639 osascript[11184:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.

ERROR: MakeMKV.app command tool is not setup to execute
ERROR: attempting to use tool at /Applications/MakeMKV.app

ERROR: MakeMKV.app command tool could not be found
ERROR: MakeMKV.app can be installed in ./ /usr/local/bin/ /usr/bin/ ~/ or /Applications/

logout

[Process completed]

I've uploaded a new beta that includes some general fixes as well as additional support for certain usb drives.

http://db.tt/gvXEnFhX

Please download and install the app in /Applications.

In order to complete the update, please select Install Services to install the updated workflow files.

NOTE: THIS IS A BETA. NOT A RELEASE UPDATE.

Thanks!

mac.jedi

----------

Hello macjedi,


Thanks so much for an amazing set of tools. I have been working with a set of HD mkv's that I want to process and tag for iTunes import and creating a couple of different formats.

My problem is that if I store my mkv's in a folder that has parens or the filename contains them, the scripts bomb. It says that it cannot find any movies. Am I doing something wrong?

Many Thanks,

-jm

Hi warp1g!

Source FILES (MKVs, M4Vs, etc.) need to be located at the top level of source folder you've chosen in the workflow.

Example: "~/Movies/Batch Rip Movies/your movie.mkv"

Batch Encode will only descend into subfolders if the source is a BD or DVD "full backup" rip … containing the complete folder structure of the original disc.

Also, I should mention that this is only for non-Finder service. If you use the Batch Encode (Finder) Service it will encode which ever files you've selected.

I hope this helps!

Thanks!

mac.jedi

brandon95030
Jan 8, 2012, 11:42 AM
The latest version of makemkv 1.7.0 seems to output filenames like:
t00_Movie_Name.mkv where t00 is the track number.

This messes up the Jedi's BatchRip script.

I was wondering if others see the new behavior or if I set some makemkv option that enabled the new output naming convention.

Brandon

mac.jedi
Jan 9, 2012, 09:41 AM
The latest version of makemkv 1.7.0 seems to output filenames like:
t00_Movie_Name.mkv where t00 is the track number.

This messes up the Jedi's BatchRip script.

I was wondering if others see the new behavior or if I set some makemkv option that enabled the new output naming convention.

Brandon

Hi Brandon,

Thanks for letting me know. I tested MakeMKV 1.7.0 and they have indeed changed the file naming scheme. I also checked the forum and it looks like it may change again in the next release. Thankfully, they list the output file name in the cli output when it scans the source. I'm doing some testing, but it may take a while before I can issue an update.

If you wanna tinker, you can try to change the line where it assigns a variable to the mkv temp file. In Batch Encode, it's line 839. I haven't taken a look at Batch Rip yet, but I'm sure the fix would be similar.

This is just a preliminary fix:
tmpFile=`"$makemkvconPath" -r --directio=false --minlength=$minTimeSecs info file:"$sourcePath" | egrep 'TINFO\:[0-9]{1,2},27,0' | sed 's|TINFO:0,27,0,||g'`


Note: the line above only works for Full BD backups, but it's a start :)

EDIT: I spoke too soon. The test failed. I'll need to do a bit more work. Stay tuned.

gunthermic
Jan 9, 2012, 10:32 AM
Question:

I finally had time to take a break and start doing TV Shows, after doing well over 1,000 movies..

Ripping pretty straightforward. Encoding pretty easy.. (You rock mac.jedi!!)

Okay after encoding tv shows I see they all have the TV Show comment.

I select the whole season and run Rename & Tag TV Shows.. Since they encoded TV shows never get tagged..

This seems to work, except for 1. The TV SHow Comment always disappears and i have to select al of them again and select the service to add TV Show comments back into each episode.

Anyway we can have the color be different on complete TV Shows? I use Hazel to move everything around and would love to be able to use a different color label for TV Shows vs Movies...

mac.jedi
Jan 9, 2012, 11:10 AM
Question:

I finally had time to take a break and start doing TV Shows, after doing well over 1,000 movies..

Ripping pretty straightforward. Encoding pretty easy.. (You rock mac.jedi!!)

Okay after encoding tv shows I see they all have the TV Show comment.

I select the whole season and run Rename & Tag TV Shows.. Since they encoded TV shows never get tagged..

This seems to work, except for 1. The TV SHow Comment always disappears and i have to select al of them again and select the service to add TV Show comments back into each episode.

Anyway we can have the color be different on complete TV Shows? I use Hazel to move everything around and would love to be able to use a different color label for TV Shows vs Movies...

Hi gunthermic!

The easiest thing you could try is adding an action to the end of the service to either add a comment and/or change the label color. To do this you'd open the service workflow in Automator and add the action from the library, then save your changes.

gunthermic
Jan 9, 2012, 11:41 AM
Hi gunthermic!

The easiest thing you could try is adding an action to the end of the service to either add a comment and/or change the label color. To do this you'd open the service workflow in Automator and add the action from the library, then save your changes.

So then I am correct in that your Rename and & Add TV Tags doesn't add the comment back in? I wasnt doing anything wrong? LOL

the color when your Batch Encode is done it colors it green automatically. I guess I was wondering if the scriptign can be changed to all say purple to TV Shows and Green for Movies? When you finish Batch Encoding it, you do make the file as TV Show.. so your scriptign does know what type of file its doing.

mac.jedi
Jan 9, 2012, 10:00 PM
ANNOUNCEMENT: BATCH RIP ACTIONS UPDATED

Update 2012-01-09

Release Notes
Batch Rip Actions for Automator 1.0.9 (http://dl.dropbox.com/u/242398/BatchRip/BatchRipActions-1.0.9.dmg)

IMPORTANT: This update includes new Service workflows. You will need to install the new workflows in order to complete the update.

1.0.9 build 262


Addresses issues with Batch Rip and Batch Encode not recognizing some external USB BD-ROM drives/enclosures.
Fixed an issue with MakeMKV v1.7.0 auto-file naming. NOTE: This update requires MakeMKV v1.7.x.


To upgrade an existing version of Batch Rip Actions for Automator, choose Check for update in the application menu.

Thanks!

mac.jedi

gunthermic
Jan 11, 2012, 11:26 AM
ANNOUNCEMENT: BATCH RIP ACTIONS UPDATED

Update 2012-01-09

Release Notes
Batch Rip Actions for Automator 1.0.9 (http://dl.dropbox.com/u/242398/BatchRip/BatchRipActions-1.0.9.dmg)

IMPORTANT: This update includes new Service workflows. You will need to install the new workflows in order to complete the update.

1.0.9 build 262


Addresses issues with Batch Rip and Batch Encode not recognizing some external USB BD-ROM drives/enclosures.
Fixed an issue with MakeMKV v1.7.0 auto-file naming. NOTE: This update requires MakeMKV v1.7.x.


To upgrade an existing version of Batch Rip Actions for Automator, choose Check for update in the application menu.

Thanks!

mac.jedi

Cool Beans.

So no way to automated TV Shows is there?

Put in TV SHow, search name, adust SXDX, rip, and then encode.

The encoding part can't in no way add metatags becuase it has no idea on episode numbers etc.. right?

If we want the TV Shows to show up in the Air Date order, we must rename the episode number to be in the right order?

Example STNG has the 5th one Aired on DVD#3..not on 1 or 2.

mac.jedi
Jan 11, 2012, 12:39 PM
Cool Beans.

So no way to automated TV Shows is there?

Put in TV SHow, search name, adust SXDX, rip, and then encode.

The encoding part can't in no way add metatags becuase it has no idea on episode numbers etc.. right?

If we want the TV Shows to show up in the Air Date order, we must rename the episode number to be in the right order?

Example STNG has the 5th one Aired on DVD#3..not on 1 or 2.

Hi gunthermic!

Sorry, I don't understand your first question.

As for the second, yeah … there is no way to reliably know what episode is track 1 vs track 3. I've seen some discs even have duplicate tracks for whatever reason.

My workflow for tv discs is to rip the entire season. Then run batch encode to encode all the tracks. I'll then do "quick look" on each file and scrub through to compare the content to the tvdb website. In most cases I don't have to reorder the tracks, just weed out any dups or "extras" that may have been encoded. To make it easy, I usually just choose the sort order that matches the order of my files.

----------



Example STNG has the 5th one Aired on DVD#3..not on 1 or 2.

It's been a while since I did those, but I probably used the DVD sort order. If want them in a particular order, you'd have to number them manually. You could even do them by stardate ;)

gunthermic
Jan 11, 2012, 01:47 PM
Hi gunthermic!

Sorry, I don't understand your first question.

As for the second, yeah … there is no way to reliably know what episode is track 1 vs track 3. I've seen some discs even have duplicate tracks for whatever reason.

My workflow for tv discs is to rip the entire season. Then run batch encode to encode all the tracks. I'll then do "quick look" on each file and scrub through to compare the content to the tvdb website. In most cases I don't have to reorder the tracks, just weed out any dups or "extras" that may have been encoded. To make it easy, I usually just choose the sort order that matches the order of my files.

----------



It's been a while since I did those, but I probably used the DVD sort order. If want them in a particular order, you'd have to number them manually. You could even do them by stardate ;)

You of course answered my question. Just no-way to autmated TV Shows like Movies. I do so little to movies.. lol pop in and walk away.. come back and the RIps are on my NAS, a copy into iTunes, and a copy put into pogoPlug for access anywhere... TV Shows not so much..lol

STNG, has some wierd ordering though... When stories happen that can cause quite a mess. lol is it just renaming the file and Itunes just puts it in that order?

mac.jedi
Jan 11, 2012, 03:09 PM
You of course answered my question. Just no-way to autmated TV Shows like Movies. I do so little to movies.. lol pop in and walk away.. come back and the RIps are on my NAS, a copy into iTunes, and a copy put into pogoPlug for access anywhere... TV Shows not so much..lol

STNG, has some wierd ordering though... When stories happen that can cause quite a mess. lol is it just renaming the file and Itunes just puts it in that order?

You still have to tag em' after you're confident they're in order.

joswald94123
Jan 11, 2012, 07:03 PM
Any chance of getting the source code for the compiled scripts?

mac.jedi
Jan 11, 2012, 07:19 PM
Any chance of getting the source code for the compiled scripts?

Hi joswald94123!

All the scripts are accessible and editable from the Actions menu in the app. They aren't written in cocoa, so they are not compiled … just text files.

Thanks!

Mac.jedi

Philgr
Jan 15, 2012, 04:36 AM
Not sure if this is the correct place for this - but here goes

I have just had to change out my iMacs 1tb HD due to failure and replaced it with a 256 SSD and while i was at it increased my ram up to 16gig

i have reinstalled everything required as per mac.jedi's excellent workflow ( thanks for the hard work ) and all appears to be working well apart from the fact that my handbrake encoding times for the :apple:TV2 preset have gone from approx. 1-2hrs up to 4 hrs for a blue ray rip

to be honest with more mem and a SSD installed i was not expecting it to take longer

Any ideas ??

Phil G

gunthermic
Jan 16, 2012, 03:34 AM
You still have to tag em' after you're confident they're in order.

You proces allows to select Data Aird vs DVD order, how does this come into play with your process?

Chimaera
Jan 16, 2012, 07:45 AM
You proces allows to select Data Aird vs DVD order, how does this come into play with your process?

Depends on the source data I guess. Some shows were broadcast in the 'wrong' order - something that was corrected in the subsequent DVD release - Firefly would be a good example of this, In the original broadcast order 'The Train Job' was S01E01, but on the DVD release it was S01E03 (the *original* first ep that Fox rejected (the Serenity two-parter) was S01E01-02 on the DVD release)

So - if you'd ripped the DVDs you'd want to specify the latter, but if your pulled the data off your PVR or downloaded broadcast rips you'd specify the former otherwise your episode numbers, names and subsequently the metadata attached to the episode as the scripts process would all be wrong.

rayward
Jan 16, 2012, 10:24 AM
Not sure if this is the correct place for this - but here goes

I have just had to change out my iMacs 1tb HD due to failure and replaced it with a 256 SSD and while i was at it increased my ram up to 16gig

i have reinstalled everything required as per mac.jedi's excellent workflow ( thanks for the hard work ) and all appears to be working well apart from the fact that my handbrake encoding times for the :apple:TV2 preset have gone from approx. 1-2hrs up to 4 hrs for a blue ray rip

to be honest with more mem and a SSD installed i was not expecting it to take longer

Any ideas ??

Phil G


Encoding bottlenecks in the CPU, not the hard drive, SSD or no. The increased coding time must be something wrong with your HB settings. Are you inadvertently changing the frame rate perhaps?

mac.jedi
Jan 16, 2012, 11:17 AM
You proces allows to select Data Aird vs DVD order, how does this come into play with your process?

Depends on the source data I guess. Some shows were broadcast in the 'wrong' order - something that was corrected in the subsequent DVD release - Firefly would be a good example of this, In the original broadcast order 'The Train Job' was S01E01, but on the DVD release it was S01E03 (the *original* first ep that Fox rejected (the Serenity two-parter) was S01E01-02 on the DVD release)

So - if you'd ripped the DVDs you'd want to specify the latter, but if your pulled the data off your PVR or downloaded broadcast rips you'd specify the former otherwise your episode numbers, names and subsequently the metadata attached to the episode as the scripts process would all be wrong.

Chimaera is correct. The tvdb has two sort options available … date aired and DVD. There should be a sort order option at the bottom of each season's web page. You should check the website to compare the order of your files with the different sort options and use the one that matches your files.

Please note that even though your source was DVD, tvdb's "DVD" sort order may not be correct. This could be caused by a number of factors … tvdb's data is community driven so it could have been imputed incorrectly, the DVD or BD episode order was changed by the studio in a later release, or the order was different in the U.S. than international. This is why it's considered good practice to check em' before renaming or tagging.

gunthermic
Jan 16, 2012, 11:22 AM
Wierd problem.

MASH Season 5 episode 23(Disc#3 Episode 7). Always comes out to 94 megs(which is about 5 minutes ofd the show.)

I have tried to Re-ripp and also re-encode several times. Always crusing along then says complete at 94 megs. Looking at terminal window is says the track 7 is 22+ minutes.

Any ideas. Brand new DVD set, not a scratch. Tried 3 different DVD player to rip it so to make sure it's ripping it.. But like I said the batchEncode process sasy track 7 is 22 minutes long, so it's reading the file I would assume

What can i do to just get this dang episode so i can completel the season??

mac.jedi
Jan 16, 2012, 12:41 PM
Wierd problem.

MASH Season 5 episode 23(Disc#3 Episode 7). Always comes out to 94 megs(which is about 5 minutes ofd the show.)

I have tried to Re-ripp and also re-encode several times. Always crusing along then says complete at 94 megs. Looking at terminal window is says the track 7 is 22+ minutes.

Any ideas. Brand new DVD set, not a scratch. Tried 3 different DVD player to rip it so to make sure it's ripping it.. But like I said the batchEncode process sasy track 7 is 22 minutes long, so it's reading the file I would assume

What can i do to just get this dang episode so i can completel the season??

That happened to me once with an episode of Buffy or Angel. You can try the Handbrake GUI directly on the problem title, but chances are that it will have the same problem. It's usually an issue with the disc. I've tried watching the episode in Apple's DVD Player or a real DVD player, and it usually breaks up or locks up right around the duration that HB says it ends. Unfortunately, the only option I had at that point was to purchase the episode on iTunes … it was one of my wife's favorite shows and it made her happy, so I considered it money well spent :)

Joshuacrook8486
Jan 16, 2012, 11:56 PM
I have a quick question about the Batch Rip.Batch Rip through Fairmount.

Why is it that when the DVD is ripped, a VIDEO_TS folder gets created and then makes numerous files? Is there a way to make Fairmount or whatever program turn that into 1 sinlge file that just contains the movie? Pardon me if I am asking a question that seems elementary. I just want to make sure I am set up doing this the right way. Thanks
Josh

Frosticus
Jan 17, 2012, 03:46 AM
I have a quick question about the Batch Rip.Batch Rip through Fairmount.

Why is it that when the DVD is ripped, a VIDEO_TS folder gets created and then makes numerous files? Is there a way to make Fairmount or whatever program turn that into 1 sinlge file that just contains the movie? Pardon me if I am asking a question that seems elementary. I just want to make sure I am set up doing this the right way. Thanks
Josh

Fairmount rips the .VOB files on the DVD (i.e. decrypts and copies them to your hard drive). They then have to be encoded into a video file which can be played back. There are 1-step tools that do this, however in my experience, they are either expensive or don't do the job very well. To my knowledge, Fairmount does not do this.

Personally, I use MakeMKV or RipIt to rip, and Handbrake (what else!) to encode.

The Automator scripts MacJedi has written make the job a lot easier though.

Joshuacrook8486
Jan 17, 2012, 03:57 AM
Okay, thanks for the reply Frosticus. I should have continued reading, because I realize now that just one step further into the procedure had the answer that I was looking for. Everything is good now. Thanks again.

Josh

habu281
Jan 18, 2012, 10:35 AM
Just wanted to drop in and give my thanks to mac.jedi for the automations. I'm a new Apple TV owner, xmas present, and since I've gotten the hang of the automations I've been ripping and encoding fiendishly. Without these I probably would never have bothered except for a few here and there. Now I'm about 1/2 way to putting my whole DVD collection onto disc and my Apple TV.

THANKS :D

mac.jedi
Jan 19, 2012, 04:12 PM
Fairmount rips the .VOB files on the DVD (i.e. decrypts and copies them to your hard drive). They then have to be encoded into a video file which can be played back. There are 1-step tools that do this, however in my experience, they are either expensive or don't do the job very well. To my knowledge, Fairmount does not do this.

Personally, I use MakeMKV or RipIt to rip, and Handbrake (what else!) to encode.

The Automator scripts MacJedi has written make the job a lot easier though.

Thanks Frosticus!

Quick Tip!

In Batch Encode, if you uncheck Ignore Optical, it will encode straight from any DVD or Blu-ray that's mounted.

paulisme
Jan 20, 2012, 07:31 PM
I picked up an Xbox HD DVD drive yesterday to rip my collection of HD DVDs. I've already ripped 6 or so, but I've had to use the MakeMKV GUI because Batch Rip Encoder doesn't seem to recognize the disc as a movie disc. When I insert the disc, Batch Rip Automator doesn't auto-detect it, and if I invoke the Batch Rip service from the context menu in Finder, I never get prompted to enter the title of the movie. Is there any way to get Batch Rip Automator to recognize HD DVDs?

paulisme
Jan 20, 2012, 07:32 PM
Thanks Frosticus!

Quick Tip!

In Batch Encode, if you uncheck Ignore Optical, it will encode straight from any DVD or Blu-ray that's mounted.

Could you elaborate? Are you saying that Batch Rip Automator can automatically kick off the encode process after a disc has been ripped?

gunthermic
Jan 21, 2012, 07:49 AM
Her is one for ya. I am trying to get my head wrapped around how to Ripp/Encode Gillagan's Island TV Show.

Here is the Problem. The DVD set has the episodes on side A and B of each DVD. So how would i ripp them and then encode so they can be tagged and encoded correctly? Right now i am ripping that as GI-S1D1-A and GI-S1D1-B. but that's not going to allow Batch Encode to do **** with it..

Anyone have an idea or clue how to do this?

mac.jedi
Jan 21, 2012, 09:19 AM
Her is one for ya. I am trying to get my head wrapped around how to Ripp/Encode Gillagan's Island TV Show.

Here is the Problem. The DVD set has the episodes on side A and B of each DVD. So how would i ripp them and then encode so they can be tagged and encoded correctly? Right now i am ripping that as GI-S1D1-A and GI-S1D1-B. but that's not going to allow Batch Encode to do **** with it..

Anyone have an idea or clue how to do this?

gunthermic!

The disc number (D#) is only used to keep the files in order. I'd just name each side in order as if they were a new disc … D1, D2, D3, D4.

gunthermic
Jan 21, 2012, 09:33 AM
gunthermic!

The disc number (D#) is only used to keep the files in order. I'd just name each side in order as if they were a new disc … D1, D2, D3, D4.

Doh! Why didn't i think of that..lol thank you sir!!!

mac.jedi
Jan 21, 2012, 09:56 AM
Could you elaborate? Are you saying that Batch Rip Automator can automatically kick off the encode process after a disc has been ripped?

Hi paulisme!

I was responding to the post about the 2 step process of ripping/decrypting; then encoding.

I was pointing out that the Batch Encode Service has the ability to encode straight from the optical drive in 1 step … rather than using the Batch Rip Service, then the Batch Encode Service.

Though you can do it in one step, the two step process is recommended so you can do them in batches … Rip a bunch of discs during the day, then encode them all at night.

In regards to automatically encoding after a disc has been ripped, it is possible, but it requires a trigger script. I recommend Hazel for this, but Folder Actions would work as well.

mac.jedi
Jan 21, 2012, 10:07 AM
I picked up an Xbox HD DVD drive yesterday to rip my collection of HD DVDs. I've already ripped 6 or so, but I've had to use the MakeMKV GUI because Batch Rip Encoder doesn't seem to recognize the disc as a movie disc. When I insert the disc, Batch Rip Automator doesn't auto-detect it, and if I invoke the Batch Rip service from the context menu in Finder, I never get prompted to enter the title of the movie. Is there any way to get Batch Rip Automator to recognize HD DVDs?

Sorry, Batch Rip Actions for Automator doesn't support HD-DVD. Using the MakeMKV GUI is the recommended way to rip HD-DVD. You can then use Batch Encode to encode the mkv files.

chidlebaugh
Jan 22, 2012, 08:47 AM
I picked up an Xbox HD DVD drive yesterday to rip my collection of HD DVDs. I've already ripped 6 or so, but I've had to use the MakeMKV GUI because Batch Rip Encoder doesn't seem to recognize the disc as a movie disc. When I insert the disc, Batch Rip Automator doesn't auto-detect it, and if I invoke the Batch Rip service from the context menu in Finder, I never get prompted to enter the title of the movie. Is there any way to get Batch Rip Automator to recognize HD DVDs?

Was the HD-DVD drive plug and play, like BluRay drives are? I tried to find something via google about hd-dvd and 10.7 but only found links/forum posts from 2009 and older.

paulisme
Jan 23, 2012, 08:23 AM
Was the HD-DVD drive plug and play, like BluRay drives are? I tried to find something via google about hd-dvd and 10.7 but only found links/forum posts from 2009 and older.

Yep. I just plugged it in and it worked just like any other drive. Out of my 20 or so HD DVDs, I only had 1 that wouldn't rip using MakeMKV (which was U2: Rattle and Hum).

chidlebaugh
Jan 31, 2012, 07:35 PM
Mac.Jedi,

Quick question. If I wanted to change the Contant Quality that you use for Ripping movies from 20 to 18 how would I go about doing that? Is it as simple as just editing your BatchEncodeTmp.sh file? Also can you think of a good way to automate it so its uses 20 for SD dvds but ifs its an BluRay Rip to make it 18?

Thanks!

Your Padawan (yeah, the geek kinda of got out on that one...) chidlebaugh

mauros
Jan 31, 2012, 08:08 PM
Mac.jedi,

I have a question and I need to report an error that appears at the end of BatchRip.sh

Although the process is completed, the error appears every time I use batchrip. I am using 1.09 (built 262). By default Growl is not enabled but I did.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PROCESSING COMPLETE
/Applications/Batch Rip Actions for Automator.app/Contents/Library/Automator/Batch Rip.action/Contents/Resources/batchRip.sh: line 409: /tmp/batchRip_935/growlMessageRIP.txt: No such file or directory
End: Sat Jan 21 17:41:47 EST 2012
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

logout

[Process completed]


Have you tried VLC 2.0 (RC1) which soon will be released??

Thanks,

MS

SheepWorrier
Feb 9, 2012, 06:43 AM
I've been a long-time user of these great tools through several versions. When I upgraded my OS to Lion on release day, I had problems using the workflows, as there seemed to be an issue with Lion running workflows that were not built in Lion. I worked around this by editing each workflow, undo-ing the edit and then saving changes.

This was working fine, with the exception of the Batch Rip and Batch Encode workflows, which I had to run from within Automator to get them to work. However, the workflows I mainly used - Add TV Tags - were working fine from the right-click menu in Finder...until a few days ago.

Now, when I try and Add TV Tags, there's no spinning cog at the top of the screen to let me know something's happening and the TV file does not get updated with the tags and DVD cover.

I've download the new v1.0.9 installer and re-installed the services, but still have the same issue. I've examined the addTvTags.log, but can't see anything obviously wrong.

Any suggestions?

SheepWorrier
Feb 9, 2012, 07:57 AM
After a bit more digging, it appears the ~/Library/Logs/BatchRipActions/addTvTags.log is only being updated when I run the workflow in Automator.

When I try to run it in Finder, the following message appears in the system log:

09/02/2012 13:47:28.596 com.apple.automator.xpc.workflowServiceRunner 2012-02-09 13:47:28.591 WorkflowServiceRunner[5856:170b] The action “Add TV Tags” could not be loaded because the application “Batch Rip Actions for Automator” was not found.

This is strange because that app is definitely installed in /Applications/

SheepWorrier
Feb 9, 2012, 03:24 PM
Deleted the app, deleted the workflows, reinstalled and working great!

habu281
Feb 9, 2012, 04:00 PM
Quick question.... how does the batch rip handle the older DVDs that have multiple sides... Side A & Side B ? Gettysburgh, Ben Hur...etc ?

Are they separate movies and if so can they be merged onto a single movie file ?

Leesy
Feb 10, 2012, 03:38 AM
Are they separate movies and if so can they be merged onto a single movie file ?

I imagine those will come out as separate movies. I had this with the TV adaptation of Terry Pratchett's The Colour Of Magic (http://www.themoviedb.org/movie/13541-the-colour-of-magic). On TV it was done as two separate shows & the disk reflected this, so two separate files where produced. But on TheMovieDB it's listed as a single movie so I had to merge the files myself. It's quite easy to do and if you've got all the dependencies installed for Mac.Jedi's workflows, you should already have all you need - MKVToolNix which gives you MKVMerge. Load that application up and from there you can add your files to combine into one MKV file. Then tag the final output using the tag tv action.

habu281
Feb 10, 2012, 08:25 AM
I imagine those will come out as separate movies. I had this with the TV adaptation of Terry Pratchett's The Colour Of Magic (http://www.themoviedb.org/movie/13541-the-colour-of-magic). On TV it was done as two separate shows & the disk reflected this, so two separate files where produced. But on TheMovieDB it's listed as a single movie so I had to merge the files myself. It's quite easy to do and if you've got all the dependencies installed for Mac.Jedi's workflows, you should already have all you need - MKVToolNix which gives you MKVMerge. Load that application up and from there you can add your files to combine into one MKV file. Then tag the final output using the tag tv action.

Great Thank you ! I do have all of the dependencies loaded, but haven't gotten much deeper than the basic rip and encode and haven't needed to until now.

Wezzle69
Feb 10, 2012, 11:43 AM
Hi Guys,

I've been using this great automator for a long time on Snow Leopard.

Recently I installed it for a friend on a new iMac on Lion. I got the error No videos found on simple home dvd recorded dvd's ripped to harddisk. I am sure this has to do with permissions in Lion, also the Batch encode workflow needs to be "unlocked" before edits are allowed. I found an older suggestion to set up a new user account and I got it working.

For the last two days I am trying the same for another friend on a new MBPro.
I did all I can think of but it refuses to take dvd ripped to the internal HD. It does take the dvd itself in the optical drive, but whats the use of batch ripping when you have to do dvd's one-by-one :).

What am I doing wrong that I get this error.

Wessel

kcossabo
Feb 12, 2012, 10:12 AM
My TV Shows are in the form

Show - 1x01

Does anyone know of an alteration to the automator script for tagging TV shows, or a automator script to convert the the one that the automator wants

Show - S01E01

thank you

mauros
Feb 12, 2012, 03:26 PM
My TV Shows are in the form

Show - 1x01

Does anyone know of an alteration to the automator script for tagging TV shows, or a automator script to convert the the one that the automator wants

Show - S01E01

thank you

I use this script to rename my Lost episodes.
Hope this help

MS

kcossabo
Feb 13, 2012, 02:21 PM
I use this script to rename my Lost episodes.
Hope this help

MS

Thank You. So manual on the Season, then it changes the episodes, but must have all of them, and start at 1?

Correct?

mauros
Feb 13, 2012, 03:55 PM
Thank You. So manual on the Season, then it changes the episodes, but must have all of them, and start at 1?

Correct?

Your episodes must be already in order. This scrip allows you to rename your files sequentially only, it does not order them.

Since this allow your to select the files to rename, try with a couple of them before a full run.

You build and lunch the script. Make sure that you change the "new name" to a more appropriate file name (i.e Show - S01E) my was for Lost.
Navigate to the location of your files, select all all of them.

MS

nerdkill
Feb 20, 2012, 07:03 PM
Hi, I'm new to this site and Mac. I'm trying to set this program up on my imac, but it's not to use with an Apple product. I'm using with Plex. I have my presets that I want to use in handbrake but it doesn't give me that choice in batch encode - "select an encode target, then choose a preset". I see that I can do a custom insert handbrake cli argument to create a custom preset. I have gone on the handbrakecli wiki as the instructions say to but I'm still lost in trying to figure it out.

If anyone could help me I'd really appreciate it, been googling and reading through comments for a few hours now. Handbrake and HandbrakeCLI are in my applications folder and the preset I want to use is titled Blu-Ray. Thanks!