Forrest logo
back to the handbrakecli tool

handbrakecli:tldr:66387

handbrakecli: Convert an AVI video to MP4 using the Android preset.
$ handbrakecli --preset="Android" --input ${input-ext} --output ${output-mp4}
try on your machine

The given command is using the HandBrake CLI (Command Line Interface) tool to convert a video file into a format compatible with Android devices. Here's an explanation of each part of the command:

  • handbrakecli: This is the command to execute the HandBrake CLI tool.

  • --preset="Android": This flag specifies the preset to be used for the conversion. In this case, the preset is set to "Android," which is a predefined configuration optimized for Android devices.

  • --input ${input-ext}: This flag specifies the path or location of the input video file. ${input-ext} is likely a placeholder that should be replaced with the actual path to the input video file.

  • --output ${output-mp4}: This flag specifies the path or location where the output converted video file should be saved. ${output-mp4} is likely a placeholder that should be replaced with the desired output file name and path. The output file is specified to be in the MP4 format.

In summary, the command uses HandBrake CLI with the "Android" preset to convert a video file (specified by ${input-ext}) into an Android-compatible video format and save it as an MP4 file (specified by ${output-mp4}).

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the handbrakecli tool