TranslateProject/sources/tech/20180720 Convert video using Handbrake.md
2018-07-24 16:49:40 +08:00

3.8 KiB

Convert video using Handbrake

Recently, when my son asked me to digitally convert some old DVDs of his high school basketball games, I immediately knew I would use Handbrake. It is an open source package that has all the tools necessary to easily convert video into formats that can be played on MacOS, Windows, Linux, iOS, Android, and other platforms.

Handbrake is open source and distributable under the GPLv2 license. It's easy to install on MacOS, Windows, and Linux, including both Fedora and Ubuntu. In Linux, once it's installed, it can be launched from the command line with $ handbrake or selected from the graphical user interface. (In my case, that is GNOME 3.)

Handbrake's menu system is easy to use. Click on Open Source to select the video source you want to convert. For my son's basketball videos, that is the DVD drive in my Linux laptop. After inserting the DVD into the drive, the software identifies the contents of the disk.

As you can see next to Source in the screenshot above, Handbrake recognizes it as a DVD with a 720x480 video in 4:3 aspect ratio, recorded at 29.97 frames per second, with one audio track. The software also previews the video.

If the default conversion settings are acceptable, just press the Start Encoding button and (after a period of time, depending on the speed of your processor) the DVD's contents will be converted and saved in the default format, M4V (which can be changed).

If you don't like the filename, it's easy to change it.

Handbrake has a variety of output options for format, size, and disposition. For example, it can produce video optimized for YouTube, Vimeo, and other websites, as well as for devices including iPod, iPad, Apple TV, Amazon Fire TV, Roku, PlayStation, and more.

You can change the video output size in the Dimensions menu tab. Other tabs allow you to apply filters, change video quality and encoding, add or modify an audio track, include subtitles, and modify chapters. The Tags menu tab lets you identify the author, actors, director, release date, and more on the output video file.

If you want to set Handbrake to produce output for a specific platform, you can use the included presets.

You can also use the menu options to create your own format, depending on the functionality you want.

Handbrake is an incredibly powerful piece of software, but it's not the only open source video conversion tool out there. Do you have another favorite? If so, please share in the comments.


via: https://opensource.com/article/18/7/handbrake

作者:Don Watkins 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出