Ubuntu

How to Install and Use the Handbrake on Ubuntu 22.04

HandBrake is a fantastic tool for capturing videos and converting them to other formats. This video transcoder supports a variety of codecs and formats such as MP4, MKV, or WebM. HandBrake also has the feature to compress the videos to make them suitable to save the disk space. Moreover, this tool also supports the easy conversion approach so that the users can easily control the conversion process. HandBrake tool also has cross-platform support, which means you can use Linux, Windows, and macOS. Here are a few basic features that HandBrake includes:

  1. Convert any source video into MP4, MKV, or WebM format
  2. Resize and crop the original video
  3. Restore the old video
  4. The artifacts that are caused by telecine and interlacing are removed
  5. Mix the discrete surround sound with stereo or matrixed surround
  6. Adjust the audio volume levels and the dynamic range of audio types
  7. Add or remove the subtitles and preserve the existing ones
  8. Compress the size of the original video

In this tutorial, we will explain the different methods to install and use HandBrake on Ubuntu 22.04

How to Install and Use HandBrake on Ubuntu 22.04

Let’s divide this section into multiple parts to explain every possible information to install and use HandBrake.

Install HandBrake from the Repository
First, you need to update the system as per the latest updates available:

sudo apt update

Now, run the following command to start the installation process of HandBrake:

sudo apt install handbrake –y

Install HandBrake from Flatpak
Let’s start the process by installing Flatpak in the system:

sudo apt install flatpak –y

After installing Flatpak, reboot the system. Then, run the following command to install HandBrake:

flatpak install flathub fr.handbrake.ghb –y

Once you are done, execute any of the following commands to launch the HandBrake right from the terminal:

handbrake
Or
ghb

If you want to launch HandBrake through Flatpak, run the following command:

flatpak run fr.handbrake.ghb

Alternatively, you can launch HandBrake from the “Application Menu” and search for it in the “Search Menu”.

How to Use HandBrake
First, click “Open Source” to select the video that you want to convert. After selecting the file, you can now click on “Presents” and then select the format as per your needs:

Finally, click on the “Start” button to start the conversion process of the video file:

How to Uninstall HandBrake
To uninstall HandBrake from your Ubuntu machine, you can run the following command in the terminal:

sudo apt-get remove handbrake –y

Similarly, you can uninstall the HandBrake from Flatpak, but you must first find the Application ID. Hence, run the following command:

flatpak list

Once you get the Application ID, use the following command to remove HandBrake:

flatpak uninstall <application-id>

Conclusion

We explained everything about HandBrake and how to use it in Ubuntu. It is a fantastic tool to convert and compress the videos. HandBrake also supports various features which you can use to easily change your video file’s format. Moreover, we walked you through the simple approach to opening and using HandBrake with no issues.

About the author

Prateek Jangid

A passionate Linux user for personal and professional reasons, always exploring what is new in the world of Linux and sharing with my readers.