HandBrakeCLI

BDMV_2_MKV:

[bash]
HandBrakeCLI -i ./<INPUT_DIR> -f mkv -o /<OUTPUT.mkv> –no-dvdnav -4 -e x264 –x264-preset medium –x264-tune film -x –x264-profile high -m -q 20 -vfr -a 7 -E ffac3 -B 320 -6 dpl1 -w 1920 -l 1080 –strict-anamorphic –main-feature
[/bash]

DVD_2_MKV:

[bash]
HandBrakeCLI -i "./<INPUT>"/ -f mkv -o /<OUTPUT>.mkv –no-dvdnav -4 -e x264 –x264-preset ultrafast –x264-tune film -x –x264-profile high -m -q 20 -vfr -a 1 -E ffac3 -B 320 -6 dpl1 –strict-anamorphic –main-feature
[/bash]

Guide to Anamorphic Encoding in HandBrake
Using HandBrakeCLI

### Video Options————————————————————

-e, –encoder Set video library encoder
Options: x264/ffmpeg4/ffmpeg2/theora
(default: ffmpeg4)
–x264-preset When using x264, selects the x264 preset:
ultrafast/superfast/veryfast/faster/fast/
medium/slow/slower/veryslow/placebo
–x264-tune When using x264, selects the x264 tuning:
film/animation/grain/stillimage/psnr/ssim/
fastdecode/zerolatency
-q, –quality Set video quality

### Audio Options———————————————————–

-a, –audio Select audio track(s), separated by commas
(„none“ for no audio, „1,2,3“ for multiple
tracks, default: first one).
Multiple output tracks can be used for one input.
-E, –aencoder Audio encoder(s):
faac
ffaac
copy:aac
ffac3
copy:ac3
copy:dts
copy:dtshd
lame
copy:mp3
vorbis
ffflac
copy
copy:* will passthrough the corresponding
audio unmodified to the muxer if it is a
supported passthrough audio type.
Separated by commas for more than one audio track.
(default: faac for mp4, lame for mkv)
–audio-copy-mask Set audio codecs that are permitted when the
„copy“ audio encoder option is specified
(aac/ac3/dts/dtshd/mp3, default: all).
Separated by commas for multiple allowed options.
–audio-fallback Set audio codec to use when it is not possible
to copy an audio track without re-encoding.
-B, –ab <kb/s> Set audio bitrate(s) (default: depends on the
selected codec, mixdown and samplerate)
Separated by commas for more than one audio track.
-6, –mixdown Format(s) for surround sound downmixing
Separated by commas for more than one audio track.
(mono/stereo/dpl1/dpl2/6ch, default: up to 6ch for ac3,
up to dpl2 for other encoders)
-R, –arate Set audio samplerate(s) (22.05/24/32/44.1/48 kHz)
Separated by commas for more than one audio track.
-D, –drc Apply extra dynamic range compression to the audio,
making soft sounds louder. Range is 1.0 to 4.0
(too loud), with 1.5 – 2.5 being a useful range.
Separated by commas for more than one audio track.

### Filters———————————————————

-d, –deinterlace Deinterlace video with yadif/mcdeint filter
(default 0:-1:-1:1)
or
<fast/slow/slower>
-5, –decomb Selectively deinterlaces when it detects combing

(default: 7:2:6:9:80:16:16:10:20:20:4:2:50:24:1:-1)

### Picture Settings———————————————————

-w, –width Set picture width
-l, –height Set picture height
–crop Set cropping values (default: autocrop)
–loose-crop Always crop to a multiple of the modulus
<#> Specifies the maximum number of extra pixels
which may be cropped (default: 15)
-Y, –maxHeight <#> Set maximum height
-X, –maxWidth <#> Set maximum width
–strict-anamorphic Store pixel aspect ratio in video stream
–loose-anamorphic Store pixel aspect ratio with specified width
–custom-anamorphic Store pixel aspect ratio in video stream and
directly control all parameters.
–modulus Set the number you want the scaled pixel dimensions
to divide cleanly by. Does not affect strict
anamorphic mode, which is always mod 2 (default: 16)

### Source Options———————————————————–

-i, –input Set input device

### Destination Options——————————————————

-o, –output Set output file name
-f, –format Set output format (mp4/mkv, default:
autodetected from file name)
-m, –markers Add chapter markers (mp4 and mkv output formats only)
-4, –large-file Use 64-bit mp4 files that can hold more than
4 GB. Note: Breaks iPod, PS3 compatibility.

Dieser Beitrag wurde unter Allgemein, bash veröffentlicht. Setze ein Lesezeichen auf den Permalink.