Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How do I add multiple files into the queue at once in HandBrake?

I heard that multiple files can be added to the queue by selecting the folder. But when I select the folder as source, only the first file is added, rather than all the files.

Am I missing something?

share|improve this question
1  
Does this guide help you in isolating a step that gives you an error so we can help further? osomac.com/apps/osx/handbrake-batch –  user24673 Jun 30 '12 at 19:53
add comment

5 Answers 5

After adding the folder as the source, File>Add All Titles To Queue

share|improve this answer
    
I can't get the settings to apply to all the files. I select add all titles to queue, then it asks if I want to use the current settings, I click yes, but the settings seem to be reset. –  Harry Jan 19 '13 at 6:28
add comment

I've wondered about automating HandBrake using the command line interface (CLI) and Automator. Here's a tutorial that covers lots of details of using the CLI, though I think it only processes one file at a time, rather than building a queue: http://www.mactalk.com.au/18/87490-guide-convert-movies-ipod-format-one-click-finder.html

While looking for a solution to answer this question, I came upon a thread about using Hazel (instead of Automator - not free): http://www.noodlesoft.com/forums/viewtopic.php?f=4&t=859&p=3356#p3356

For the amount of labor I go through when converting videos, I'm considering giving this a try since it can help with other tasks such as copying to iTunes and my NAS.

For reference, here's a link to HandBrake's CLI Guide: https://trac.handbrake.fr/wiki/CLIGuide

share|improve this answer
add comment

Here's your answer. It's a Handbrake add-on for Automator.

Download the most recent zip, open it, double-click on the automator action to add the Handbrake action to Automator.

share|improve this answer
add comment

If you want more control over the HandBrake/Automator integration, I wrote a blog post covering a custom Service I made with Automator that uses AppleScript to talk to the CLI.

http://dovfrankel.com/post/37269517618/using-handbrake-on-a-list-of-files

share|improve this answer
    
Hi can you modify your script to include subtitles please? –  Harry Dec 6 '12 at 23:21
    
@Harry I can't think of a good general-purpose way to add subtitles, which would work for everybody. If you'd like more information to add it to the AppleScript it runs, this link should help: trac.handbrake.fr/wiki/CLIGuide#SubtitleOptions That way, you will get your subtitles exactly how you like them. –  Dov Dec 8 '12 at 2:02
    
@Harry this tool is incredible. I shall pour over it to learn. :-) –  Danijel J Dec 18 '13 at 13:25
add comment

The only way to set up multiple files for processing is to use the 'Add to Queue' button (or the B shortcut) in Handbrake.

This is by design as Handbrake requires you specify a destination folder and file name for the converted video file. If you were able to add all files in a folder, how would Handbrake know the unique output location and name for each rendered file? It doesn't make any guesses about those things, it requires the user to specify them for each render.

Once you've staged each file in the queue you can use the Start button (or the S shortcut) to tell Handbrake to begin processing the queue.

share|improve this answer
    
Thanks, I appreciate your answer, but come on, If you were able to add all files in a folder, how would Handbrake know the unique output location and name for each rendered file? Same location as the previous file? Don't change the name? Lol. –  Harry Dec 18 '11 at 20:04
    
@Harry you'll have to take that up with the Handbrake developers. They've written in no logic to guess an output file name. You'll notice that's the case when you load new input files, output stays the same. I didn't write it, so your complaints are lost on me. –  Ian C. Dec 19 '11 at 2:51
    
Actually, it ALWAYS guesses an output name when selecting a source file. It is the same as the original file name with a new suffix. –  Andreas Wederbrand Aug 4 '12 at 17:16
    
@andreas yes, it's been improved since this question and answer were written. –  Ian C. Aug 4 '12 at 23:49
add comment

protected by Daniel Lawson Jun 30 '12 at 20:02

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.