So I mainly use Linux, but for some tasks I turn to Windows. In this particular case it was setting up my iPad so that my wife could take it to Spain with her, packed with movies, to entertain the kids. This included the use of iTunes. I’m sure there’s some way to make it work in Linux as well, but I thought I’d write a post based on a solution I found in Windows, for once.
Handbrake Batch Convert Mac

I needed to convert existing .avi-files to the format the iPad uses. This is where the program Handbrake comes into play. It’s excellent for converting from one format to another, but it’s the batch-convert part that isn’t too good. So how to solve this? Well, first install Handbrake, then proceed to create a .bat-script in the directory that contains the .avi-files. I do realize that Handbrake has a Add to queue function, but that sort of takes away the point of batch-converting. Rather I specify a folder, then it convert every file in it, than me adding a file manually one by one.
Open up Notepad, and place the following bit of text in it:


When saving the file, remember to select All files on the Save as type-field. Then type in script.bat in the File Name field.
HandBrake – Convert Files with GPU/Nvenc Rather than CPU I don’t know exactly when HandBrake added the capability of using the GPU for encoding, but it was somewhere between 1.3.1 (current version in the Ubuntu repositories) and 1.3.3 ( current version on PPA ). I've started to convert all my files to MP4 for Plex but found it somewhat cumbersome due to these issues: Is there a way to automate the conversion process to process all folders, rather than specifying one folder at a time via the queue mechanism? If I leave the default output file path blank, Handbrake asks for a path, so I assume there is no way to specify using the same folder as the. Convert Multiple Files in HandBrake (Batch Conversion) Though the process is a bit different for batch conversion in HandBrake, it is rather simple. Before proceeding, put all the video files that you’d like to convert into a single folder. First, open HandBrake by searching for it in the start menu.
So when you’re done with this, it’s just a case of double-clicking the script to batch convert all of the .avi-files in the directory the script is placed in.
Handbrake Batch Convert Mac
Oh, another word of advice. Make sure your Windows-machine doesn’t hibernate or go to sleep. I learned that the hard way.