Convert Single Video Files or Create a Queue with Handbrake

handbrake Need to convert a video or two into a different format? Have some MKV files you’d like to play on an extender as MP4 files? Handbrake has the solution for you. Handbrake is a free, open-source program with more features for converting and encoding video than you’ll likely ever need. The interface, however, is easy enough to for basic users to jump right in.

To get started you’ll need to download and install a copy of Handbrake. It’s available for a number of platforms including Windows, OS X and Linux. Command line versions are available as well but for this we will be using the Windows GUI version. Once you’ve got Handbrake installed open up the GUI by selecting HandBrake from the programs menu.

Once inside the first thing we need to do is select the source video. To do this press the “Source” button in the toolbar then select “video file” from the drop down menu. Next set the output file in the Destination File input, you may either select the output type in the Save as type drop down box in the file save window or select the type in the main window.

Configure Video Source

After setting your source and destination files, make sure that the Format listed under Output Settings is set to the correct format. If you are converting videos to use on an extender it will most likely be necessary to select an MPEG-4 Codec on the video tab. Switch to the Video tab and select “MPEG-4 (FFmpeg)”. For converting to MPG4 to play on an extender these are the most compatible settings to use.

Select Video Codec to Use

To begin converting a single file simply select “Start” from the toolbar. For multiple conversions you may want to setup a queue, which will allow you to add multiple source videos and output files to a batch process. Settings for each conversion can be set individually, simply press “Add to Queue” then go through the same steps for each video.

When you’ve finished adding videos to the queue, press the “Show Queue” button to bring up the queue listing. Check to make sure there are no errors in the listing, for instance non-alphanumeric characters in filenames will cause blank entries. These should be removed and re-entered so as to not cause problems in the process.

Video Conversion Queue

From the “Show Queue” window you have the option to begin the conversion process by pressing the “Encode” button. Alternatively, you can save or load Queues from the “Queue” drop down box. Also, you will be given the option to create a .bat file which can be executed from outside the Handbrake GUI. This .bat file can be used to run a scheduled task or for any other reason you may want to do a batch conversion without the GUI.

That’s all there is to doing some basic conversion using Handbrake. Simple to use with plenty of extra options, including advanced options for h.264 if you should choose to use a compatible codec. The ability to setup conversion queues and batch files for scheduled processing make the possibilities even greater. Include the fact that this is free, open-source software and there’s no reason to not give Handbrake a try.

You can use Handbrake to rip video from your DVDs too, check out this guide on Bringing DVDs to your Media Center with Handbrake!

Bringing your DVDs to Media Center

Hard drive space isn’t necessarily expensive, that is until you consider the amount of disk space required to archive your 300+ disk DVD collection to your Media Center pc. With each regular DVD clocking in at around 4gb, let’s not even mention bluray disks, the cost can add up quickly.

So what we need is a way to compress those movies while keeping the quality but saving some space (and cash!). This is where a little program called Handbrake comes in. Handbrake is an open-source program free to download from their site for a variety of platforms.

Handbrake User Interface

At first glance the user interface may seem slightly confusing but it’s actually quite a simple affair to get started with some basic DVD ripping (DVD encryptions are not circumvented by Handbrake and will require a separate program such as AnyDVD from Slysoft).

Step one after you’ve inserted your original DVD is to set Handbrake to the appropriate source. To do this simply click the source button located at the upper left hand corner of the interface and select your DVD from the dropdown menu that appears.

Handbrake Source Menu

Handbrake will then scan the disk for track information and select what it believes is the main track containing the movie. If you believe for some reason it has selected incorrectly you can adjust the selection under the drop box labeled “Title.” Then under “Destination” hit the browse button to set the location you want your compressed DVD file to be located.

Next we set our video and audio settings, including the amount of compression we want on our disk. These settings will effect the quality of the file we get back, more compression means a lower quality file being output. Picture settings can typically be left at their default settings unless you have a particular reason for changing a setting such as deinterlacing or noise reduction. Selecting the Video tab will bring up the options for video compression that we will be looking at first.

Handbrake Video Settings

Here we can set either the output size or the average bitrate of the output file we want. Typically a 1/4 compression will result in minimal picture loss, for a typical DVD 850mb-1gb is generally a good range for the target output size. Entering a target size in MB will tell the program to automatically calculate the average output bitrate making our task a little simpler on us. Then we can move on to the audio settings.

Handbrake Audio Settings

On this tab you can select your audio encoding preferences, high quality audio isn’t a problem when encoding DVDs to your hard disk as the audio will only add a few megs to the output size. Selecting AC3 under the Audio Codec drop box will set the output audio to a format that will lose no data from the original DVD and is an optimal setting.

Finally, hit the Start button located at the top and the conversion process will start. A cmd dialog will appear and show you the status of your encoding. This process can take anywhere from an hour to several depending on how powerful your pc and the settings you’ve chosen. Once the dialog has closed your encoding is complete and you can navigate to your destination directory to give it a play and be sure the output is to your liking.

There are a large number of additional options in Handbrake not covered here that you are free to play around with including a number of presets on the right hand side. At this point, however, that is up to your own experimentation, have fun!

Hack7MC Has Moved!

Hack7MC has left Blogspot for a new home. Following the original address @ http://www.hack7mc.com will take you to the new home page.