How To Install HandBrake on openSUSE
In this tutorial, we will show you how to install HandBrake on openSUSE. HandBrake is a powerful open-source video transcoder available for Linux, Mac, and Windows, which allows users to convert videos from nearly any format to a selection of modern, widely supported codecs. It’s particularly useful for converting videos to formats suitable for portable devices or for web publishing.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the HandBrake video transcoder on openSUSE.
Prerequisites
- A server running one of the following operating systems: openSUSE.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- You will need access to the terminal to execute commands. openSUSE provides the Terminal application for this purpose. It can be found in your Applications menu.
- You’ll need an active internet connection to download HandBrake and its dependencies.
- You’ll need administrative (root) access or a user account with sudo privileges.
Install HandBrake on openSUSE
Step 1. Before proceeding with the installation, make sure your system is up-to-date by running the following command:
sudo zypper refresh sudo zypper update
Step 2. Adding the Packman Repository.
The Packman repository is a popular source for multimedia-related packages in openSUSE. Now add the Packman repository with the following command, replacing $$releasever$$
with your specific version of openSUSE (e.g., 15.2
, Tumbleweed
):
sudo zypper addrepo --refresh https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$$releasever$$/ packman
After adding the repository, refresh your package lists to ensure your system recognizes the new repository:
sudo zypper refresh
Step 3. Installing HandBrake on openSUSE.
With the Packman repository enabled, you can now install HandBrake. There are two versions of HandBrake available: the CLI and the GUI version. You can install either or both depending on your needs.
- Install the HandBrake CLI with the following command:
sudo zypper install handbrake-cli
- If you prefer a graphical user interface, install the GUI version as well:
sudo zypper install handbrake-gui
After installation, verify that HandBrake is correctly installed by checking its version:
handbrake --version
Step 4. Accessing HandBrake on openSUSE.
To convert a video file using HandBrake CLI, use a command similar to the following example:
HandBrakeCLI -i input_video.mp4 -o output_video.mkv -e x264 -q 20 -B 160
This command specifies the input file (-i
), output file (-o
), video encoder (-e
), video quality (-q
), and audio bitrate (-B
).
For more advanced usage, refer to the HandBrake CLI documentation.
Congratulations! You have successfully installed HandBrake. Thanks for using this tutorial for installing the HandBrake open-source video transcoder on your openSUSE system. For additional or useful information, we recommend you check the official HandBrake website.