Encode High Quality Movies and Videos Using Handbrake

Encode High Quality Movies and Videos Using Handbrake

HandBrake is a free, open source, and multi-platform video transcoder tool that can be used to convert videos of any format to modern, and widely supported codecs. It works well on popular operating systems, including GNU/Linux, Mac OS X, and Microsoft Windows. Believe me or not, Handbrake helped me to encode a video of size 1.7 GB shot from Canon Camera (.mov file) to just 50 MB (.mp4 format).

Now let me show you how I did it.

Getting and Installing Handbrake

On Ubuntu and derivatives like Linux Mint, Elementary OS, you can install it using its official PPA as shown below.

sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo apt-get update
sudo apt-get install handbrake-gtk

If you want command line version, run:

sudo apt-get install handbrake-cli

On Arch Linux and derivatives, you can install using command:

sudo pacman -S handbrake

To install CLI version, run:

sudo pacman -S handbrake-cli

For other distributions, get the latest version of Handbrake from here, and compile and manually install it yourself.

After installing Handbrake, launch it. The handBrake GUI should look like below.

handbrake

Encoding Videos

  • Click “Source” button in the top left corner, Select the videos which you want to encode.
  • Select the destination where you want to save the encoded video and choose the output format of your choice such as .mp4 or .mkv.
  • In the “Summary” section you will see the video details like video dimensions, frame rate, Aspect ratio and codecs.
HandBrake
  • Now choose the preferred “presets” in the right corner. If you are a beginner and don’t know to select which preset, just select “Normal” preset. This is the handbrake default preset. Every settings will be changed automatically after you selected a preset. I strongly suggest you do not change any settings until you’re familiar with Handbrake presets.

If you want to play videos in any ordinary mobile phones, check the supported video dimensions, video and audio bit rate, Frame rate etc from manufacturers site.

  • Click the “Video” tab, select the video encoder. If you want to play the videos in your mobile or ipad choose “mpeg-4” in the “video encode” dropdown box. Select the frame rate and bit rate or leave the defaults.

HandBrake

  • Click the “Audio” tab and select the encoder, bit rate etc.

HandBrake

  • Go to “Subtitles” tab and select the subtitle for your videos if you have one. Select whether the subtitle should be hardcoded or softcoded.
  • Click “Advanced” tab, change the values as per you need or just leave them as it is. Here, I have given some advanced string settings which are taken from the Handbrake website. Just copy and paste them in the “Current x264 Advanced Option String” column box.

Ultrafast:

ref=1:bframes=0:cabac=0:8x8dct=0:weightp=0:me=dia:subq=0:rc-lookahead=0:mbtree=0:analyse=none:trellis=0:aq-mode=0:scenecut=0:no-deblock=1

Superfast:

 ref=1:weightp=1:me=dia:subq=1:rc-lookahead=0:mbtree=0:analyse=i4x4,i8x8:trellis=0

Veryfast:

 ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0

Faster:

 ref=2:mixed-refs=0:weightp=1:subq=4:rc-lookahead=20

Slow:

ref=5:b-adapt=2:direct=auto:me=umh:subq=8:rc-lookahead=50

Slower:

ref=8:b-adapt=2:direct=auto:me=umh:subq=9:rc-lookahead=60:analyse=all:trellis=2

Very Slow:

ref=16:bframes=8:b-adapt=2:direct=auto:me=umh:merange=24:subq=10:rc-lookahead=60:analyse=all:trellis=2
  • Click the “Picture Settings tab and set dimensions that supports your device.

HandBrake

Start Conversion

Now click “Start” button to start converting video. If you have many videos to convert, simply click “Add to Queue” button to queue these and start task from the “Encode Queue” dialog.

That’s it. Have a good day!!

Resource:

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You may also like...

  • Pingback: Install Curlew multimedia converter in Linux mint 14/13 and Ubuntu 13.04/12.10/12.04 « ostechnix()

  • Pingback: WinFF – An Open source Video Converter for Linux and Windows « ostechnix()

  • Pingback: FFMulticonverter – An awsome multi converter for Audio/Video, Images and Documents | Ostechnix()