If you see a banner ad above this text, you're helping to support this site. Click here to read more.

1080p Blu-ray Settings - Original

This guide is written for Handbrake 1.0.7. on Windows 10 for the first generation Roku.

When you open Handbrake, you will see the Source Selection menu. You can choose Folder (batch scan) to load multiple movies or File to load a single movie. Choose your option and navigate to the folder/file, select and click the open button to load the movie. Alternately, you can click on the cancel button in the source selction menu and then drag and drop a single movie file or a whole folder onto Handbrake to load them.

Presets
On the right side of the screen you will see the presets column. Locate the Legacy section and select the High Profile preset.

Source
Here you can select your titles if you have loaded a folder of movies. You don't need to worry about angle or chapters, leave them be.

Destination
Click the browse button and navigate to the folder where you want to save your soon to be compressed movie. Type in a name for your movie and click the save button. I recommend you save in a different folder to avoid saving over your source file. To save yourself time in Windows, click on Tools>Prefrences>Output Files. Here you can set and save your default path for completed movies.

Output Settings
Select MP4 and put a check mark in the web optimized box.

Now you are ready to configure your Handbrake tabs with the settings below. You can check your settings against the screenshot for each tab. Please note the screenshots will open in a new tab in your web browser.

Picture Tab | screenshot
Size/Source Leave this alone, the anamorphic setting below will take care of this for you.
Anamorphic Automatic.
Modulus Leave this at 2.
Cropping Automatic.

 

Filters Tab | screenshot
Detelecine Off.
Deinterlace This is set to the Decomb option with both Presets and Interlace detection set to default. This will add a little bit of time to your encoding process, but it will keep your video looking normal. If you know your video is progressive and not interlaced, you can set Deinterlace to Off.
Denoise Off.
Deblock Off.
Grayscale Encoding I leave it unchecked, but it could be useful if you are encoding black and white source material.
Rotate Leave it set to 0 and leave Flip unchecked.

 

Video Tab | screenshot
Video Codec H.264 (x264)
Framerate (FPS)

23.976, 25 or 29.97 with Constant Framerate. I recommend manually setting your FPS to ensure the audio and video stay in sync. This also helps alleviate buffering issues experienced on the 1st generation Roku boxes and even other devices. Use MediaInfo to find the FPS of your source video so you can select the correct FPS for Handbrake.

Quality Use Constant Quality. I use RF:21 as a starting point for my Blu-ray encoding. RF settings between 20 and 22 work well for 1080p encoding and generally keep the video file size in the 4 to 6 gig range. Your video size will vary depending on the movie you are encoding. You can play with the RF slider to find your own preference. Moving the slider to the left will give you a smaller file size, but it will degrade video quality. Moving to the right will increase file size but also retain more video quality.
Encoder Preset Medium.
Encoder Tune None.
Fast Decode Leave unchecked.
Encoder Profile High.
Encoder Level Change this to 4.0.
Extra Options Copy and paste the following code string into the text field:
b-adapt=2:rc-lookahead=50:direct=auto.

 

Audio Tab | screenshot

I encode my movies with two audio tracks to allow compatibility with Android/Apple devices and more. The first track is two channel stereo (converted from Dolby/DTS 5.1/2.0) as it is commonly supported by a wide range of devices. The second track is the original (core) 5.1 Dolby/DTS surround sound soundtrack. Dolby Digital (AC3) is always copied while DTS is converted to AC3. To hear 5.1 surround sound, your Roku must be connected via HDMI or optical cable (see this guide.) Your Roku must be set to Digital 5.1 audio mode (surround sound) in the settings menu (failure to do so will give you video playback with no sound.)

Handbrake can convert DTS to Dolby Digital (AC3) audio. Follow the DTS to AC3 settings coded in blue (screenshot.) You will need to create two separate presets, One to Auto Passthru AC3 and one to convert DTS to AC3.

Configure Defaults (button) Press the Configure Defaults button to open the audio defaults panel. This is where you will set and save your audio options for this preset. This is new for Handbrake 1.0, previous versions set audio options directly on the audio tab. You can still do that, but the adjustments are only tempoary and do not save.
Choose Behavior This feature is useful if you plan to create a preset that pulls in multiple audio tracks with specific rules as to how they are ordered and converted/formatted. I do not use this feature since I only rip and use the main/core audio track (Dolby/DTS 5.1/2.0) from my movies. If you rip more than one audio track, you may need to preview your ripped movie in VLC media player to ensure you are using the main movie track and not a commentary track.
Audio Codec 1st track: AAC (avcodec).
2nd trackSelect Auto Passthru for AC3 audio.
For DTS to AC3 conversion, select AC3.
Bitrate 1st track128 or 160.128 ensures better compatibility with other devices.
2nd track: N/A with Auto Passthru and AC3 soundtrack.
For DTS to AC3 conversion, select 640.
Mixdown 1st track: Stereo. Dolby Pro Logic II surround sound will work too, but the mixdown is not perfect. I've had a few encodes where the voice for the front channel ends up on the rear channels.
2nd track: N/A with Auto Passthru and AC3 soundtrack.
For DTS to AC3 conversion, select None.
Samplerate 1st trackAuto
2nd track: N/A with Auto Passthru and AC3 soundtrack.
For DTS to AC3 conversion, select Auto.
DRC 1st track1 to 1.5 for a AC3 audio track, 2 to 2.5 for a DTS audio track.
2nd track: N/A with Auto Passthru and AC3 soundtrack.
For DTS to AC3 conversion, set it to 0.
DRC stands for Dynamic Range Compression. This setting will do it's best to increase the volume of softer (quieter) sound in movie sound tracks. This is handy for movies where the volume fluctuates from scene to scene. The Handbrake documentation states this only works on Dolby Digital (AC3,) but I also hear a difference when converting DTS to stereo.
Gain (dB)

1st track: Set to 2 for AC3 and 3 for DTS. You may need to adjust this to your preference.
2nd track: N/A with Auto Passthru and AC3 soundtrack.
For DTS to AC3 conversion, set it to 0.

Now click the save button to close this panel and go back the the audio tab. You will notice that the settings have not changed (sceenshot.). You will not see your newly saved default settings appear on this tab untill you save the preset at the end of this guide.

 

Subtitles Tab | screenshot

Many movies have subtitles appear on screen when a character speaks a foreign language. These foreign subtitles may be hardcoded (embedded) into the movie or they may be in a soft subtitle (non-embedded) track on the DVD/blu-ray disc. Soft foreign language subtitles must be burned in during the encoding process so they appear on screen when watching your movie. I use Foreign Audio Scan to find and burn in any foreign subtitles from the main subtitle track. The Foreign Audio Scan method works for most movies, but fails with disc's that use a separate soft subtitle track for foreign language. The Marvel movies use a separate track for foreign language. The tricky part is figuring out which subtitle track contains the foreign language. This Google spreadsheet lists the foreign language subtitle track for over 1000 movies and TV shows. If your movie is listed on the spreadsheet, it will tell you which subtitle track contains the foreign language. I recommend using VLC media player to verify the information from the spreadsheet. If your movie is not listed in the spreadsheet, use VLC to cycle through your subtitles and determine which track and method you need to use.

Click here to read more about Roku and subtitles.

Configure Defaults (button) Press the Configure Defaults button to open the subtitle defaults panel. This is where you will set and save your subtitle options for this preset. This is new for Handbrake 1.0, previous versions set subtitle options directly on the subtitle tab. You can still do that, but the adjustments are only tempoary and do not save.
Track Selection Behavior Select None.
Burn-in Behavior Select Foreign Audio Track. Leave Closed Captions unchecked. Put a checkmark in the Add Foreign Audio Scan box.
Now click the save button to close this panel and go back the the subtitles tab. You will notice that the settings have not changed (sceenshot.). You will not see your newly saved default settings appear on this tab untill you save the preset at the end of this guide.
You now have Foreign Audio Scan as the default method in your preset, which will cover about 90% of you movies. If you find that your movie has a separate foreign language track, you will need to manually adjust the main subtitles tab before encoding. These manual adjustments are tempoary and will need to be set for each movie that requires it. Follow the setting below when your movie requires it (screenshot.)
Source Select the separate subtitle track that contains only the foreign subtitles.
Forced Only Leave this unchecked.
Burn In Put a check in this box to burn in the foreign language subtitles.
Default Leave this unchecked.

 

Chapters Tab | screenshot

I include chapters on every movie that I encode.

The Roku does not support chapter markers in movies, but Apple and Android devices do, so why not include them.

Chapter Markers Put a checkmark in this box.

 

Now that you have your tabs configured, save them as a preset. Click on the add button, located in the lower right hand corner of Handbrake under the preset column. Enter a name for your preset (description is optional) and set Picture Size to always use source resolution. There is no need to edit defaults for Audio and Subtitles, you already have them set (screenshot.) Click the add button to save your preset and close out the panel. The next time you need this preset, you simply click on it, name your video and press the start button.

 

Need guides for prior versions of Handbrake? Check the Archive.

About Rokoding

Rokoding is a site devoted to video encoding for the Roku Streaming Player, with compatibility for Android and Apple devices as well. This site is designed to help you spend less time learning how to encode video and more time enjoying your movies.

ROKODING.COM

Site Info

Launch: 2011.4.22
Version: 4.0
View: Responsive
Code: HTML5, CSS3, JavaScript
Browser: Modern
Webmaster: Destructo