There two built-in presets for Android: small screen device and bigger screen device. You can use those presets either via CLI (Command Line Interface) or via GUI (Graphical User Interface).
1. Converting via GUI
First thing first, please download the HandBrake GUI (handbrake-gtk) from here and select the latest version available. Once downloaded, run the following command to install HandBrake:
Once installed, simply open the app and under "Presets" option, select "Devices > Android Mid or Android High" to suit your need (look at the first figure).
- sudo dpkg -i handbrake-gtk_0.9.6ppa1~oneiric1_i386.deb
2. Converting via CLI
Although there is a GUI which provides easy interface to get everything done, CLI is still beloved by many users, especially for those who like performing automatic tasks by using bash script or something like that. Well, you can convert video for Android via CLI too.
Please download the HandBrake CLI (handbrake-cli) from here, select the latest version available and then type the following command to install:
Once installed, run the following command to start converting:
- sudo dpkg -i handbrake-cli_0.9.6ppa1~oneiric1_i386.deb
For small screen
For bigger screen
- # Android Small Device (screen size <= 480x...)
- HandBrake -i video_in -o video_out.mp4 -Z "Android Mid"
via: Xubuntu Geek
- # Android Big Device (screen size >= 720x...)
- HandBrake -i video_in -o video_out.mp4 -Z "Android High"
0 comments:
Post a Comment