tldr/pages/common/handbrakecli.md

20 lines
464 B
Markdown
Raw Normal View History

2014-05-30 20:09:29 +01: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`
2015-10-22 08:31:52 +01:00
- List available presets
2014-05-30 20:09:29 +01:00
`HandBrakeCLI --preset-list`
- Convert an AVI video to MP4 using the Android preset
2015-10-22 08:31:52 +01:00
`HandBrakeCLI --preset="Android" -i {{input.ext}} -o {{output.mp4}}`