Added HandbrakeCLI and MP4Box

waldyrious/alt-syntax
Peter Tripp 2014-05-30 12:09:29 -07:00
parent 66b8ce3fc6
commit 86e66afef9
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# 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}}`

16
pages/common/MP4Box.md Normal file
View File

@ -0,0 +1,16 @@
# MP4Box
> MPEG-4 Systems Toolbox - Muxes streams into MP4 container
- Display information about an existing MP4 file
`MP4Box -info {{filename}}`
- Add an SRT subtitle file into an MP4 file
`MP4Box -add {{input-subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}`
- Combine audio from one file and video from another
`MP4Box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}`