mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 07:55:32 +02:00
Added HandbrakeCLI and MP4Box
This commit is contained in:
parent
66b8ce3fc6
commit
86e66afef9
2 changed files with 35 additions and 0 deletions
19
pages/common/HandBrakeCLI.md
Normal file
19
pages/common/HandBrakeCLI.md
Normal 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
16
pages/common/MP4Box.md
Normal 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}`
|
||||
|
Loading…
Add table
Reference in a new issue