46

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?

1
  • 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
    Commented Jun 30, 2012 at 19:53

6 Answers 6

63

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

5
  • 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
    Commented Jan 19, 2013 at 6:28
  • 2
    @Harry I think you need to save the current settings as a preset. Commented Feb 10, 2016 at 21:55
  • 1
    It's not correct. File>Add Titles To Queue...>Check all titles you want>Add. Also you probably need to go to Preferences>General>Output Files>"Turn on Automatically name output files"
    – Jonny
    Commented Oct 28, 2017 at 16:11
  • The key is that you need to select the FOLDER as your source, THEN add files, which is really counter-intuitive. Should be one or the other, not both.
    – SMBiggs
    Commented Sep 27, 2020 at 21:48
  • What's worked for me (at least on Debian) is Open Source, select a folder containing all the files I want to work on, and then after it finishes processing them, Queue -> Add Multiple, and from there, it uses the loaded preset/settings, and each one I check in the modal, it will add to the Queue once I click "Finish"
    – Mattygabe
    Commented Jul 23, 2021 at 13:21
5

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

4

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.

4

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

3
  • Hi can you modify your script to include subtitles please?
    – Harry
    Commented Dec 6, 2012 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
    Commented Dec 8, 2012 at 2:02
  • @Harry this tool is incredible. I shall pour over it to learn. :-) Commented Dec 18, 2013 at 13:25
0

The Mac OS version has no explicit "open folder" option, however, you can still open a folder and process the content in batch mode.

Click the button "Open Source" and... if you are inside the folder you want to process, "do not select any file", just click the open button.

OR

Select the folder to process and then click open.

-1

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.

4
  • 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
    Commented Dec 18, 2011 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.
    Commented Dec 19, 2011 at 2:51
  • 1
    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. Commented Aug 4, 2012 at 17:16
  • @andreas yes, it's been improved since this question and answer were written.
    – Ian C.
    Commented Aug 4, 2012 at 23:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .