1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 00:17:56 +01:00
tldr/pages/common/HandBrakeCLI.md

20 lines
467 B
Markdown
Raw Normal View History

2014-05-30 21:09:29 +02:00
# HandBrakeCLI
> Video conversion tool
- Convert a video file to MKV (AAC 160kbit audio and x264 CRF20 video)
`HandBrakeCLI -i {{input.avi}} -o {{output.mkv}} -e x264 -q 20 -B 160`
- Resize a video file to 320x240
`HandBrakeCLI -i {{input.mp4}} -o {{output.mp4} -w 320 -l 240`
- List available presets
`HandBrakeCLI --preset-list`
- Convert an AVI video to MP4 using the Android preset
`HandBrakeCLI --preset="Android" -i {{input.ext}} -o {{output.mp4}}`