Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Batch convert VIDEO_TS Rips with Handbrake

Batch convert VIDEO_TS Rips with Handbrake
Thread Tools
Dedicated MacNNer
Join Date: Jul 2007
Status: Offline
Reply With Quote
Feb 23, 2008, 04:28 PM
 
Does anyone know of a way in which I can batch convert VIDEO_TS Rips with Handbrake using one of the supplied presets?

Any suggestions would be greatly appreciated... Thanks!
     
m021478  (op)
Dedicated MacNNer
Join Date: Jul 2007
Status: Offline
Reply With Quote
Feb 24, 2008, 12:41 AM
 
So to "partially" answer my own question, I came across this link, which apparently provides a perl script to automate the batch conversion of VIDEO_TS rips using Handbrake...

YEAH!

Now perhaps someone might be willing to help me out part 2 of this equation, which I have no idea how to accomplish...How do I use this perl script??

Specifically, here are some questions which I have no idea how to address (quoted items below are copied from the hint description at the link above):

then you can use this Perl wrapper to convert as many VIDEO_TS folders as you like
How exactly do I "use" a perl wrapper? I downloaded the "mediaforker_pl.txt" file, so how does one use this to performs the batch conversion?

It processes every single title on every single VIDEO_TS folder that it finds
I had a quick look a the perl script mentioned in the link above and from what I gather it appears that there are a couple lines of the script that can be edited to configure it to run on a folder of your choosing...

Can someone confirm whether or not the following section of the script (below) is what I should to tweak to run it on my chosen folder (which contains multiple VIDEO_TS rips) - if so, have I tweaked it properly? - if so, is that all I have to tweak in the entire script if I do want to use the default output settings?
Code:
# Process input args # my $narg = scalar( @ARGV ); my $compressargs = ""; my $allargs = ""; my $infolder = "/Users/micahdiamond/Movies/Ripped\ DVDs/TEST"; my $outfolder = "/Users/micahdiamond/Movies/Ripped\ DVDs/TEST-OUTPUT"; my $ext = ".mp4";
What would need to be tweaked in the script if I wanted to instead output files using handbrake's default 'iPhone Profile'?

Also, you only have to set the flags only once...
When do I do this?
  • Is it done in the perl script itself, by editing it and re-saving it?
  • or am I supposed to open handbrake and configure it how I want it, then run the script and it will proceed to batch process using the settings I configure for that first opened file?
  • or does it basically open handbrake and target the first VIDEO_TS folder in the list of folders that will be batch processed, at which point it pauses and waits for me to insert my settings and click 'Start' after which it will use those settings for the batch conversion?
  • or is it done somewhere else entirely?
Don't forget to chmod u+x mediaforker.pl before you try to run it
I have heard this kind of instruction mentioned so many times for so many different things over the years, and I still have no idea how the heck to chmod something?? Can someone spell this one out for me in plain English (the total dummy version), step-by-step?

Any suggestions would be greatly appreciated... Thanks!
     
Dedicated MacNNer
Join Date: Feb 2004
Status: Offline
Reply With Quote
Feb 24, 2008, 12:33 PM
 
I don't quite understand. Can't you just use the queue option? I batch encode multiple video_TS files all the time via the queue.
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Feb 24, 2008, 02:16 PM
 
Given the questions you're asking, that script is not the right solution for someone of your skill level.

What are you trying to do?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:09 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2