HandBrakeCLI命令(google翻譯)

Syntax: HandBrakeCLI [options] -i -o


### General Handbrake Options------------------------------------------------                        一般選項


    -h, --help              Print help                                                                                                幫助文檔
    -u, --update            Check for updates and exit                                                              檢查更新並退出
    -v, --verbose <#>       Be verbose (optional argument: logging level)                        詳細記錄(#)設定日志的級別                            
    -Z. --preset   Use a built-in preset. Capitalization matters, and                 使用內置的預設置。大寫項目,並且如果预设名称中有空格,
                            if the preset name has spaces, surround it with                                   用雙引號括起來                         
                            double quotation marks
    -z, --preset-list       See a list of available built-in presets                                            查看可用内置的预设列表
        --no-dvdnav         Do not use dvdnav for reading DVDs                                            不要使用的dvdnav读取的DVD


### Source Options-----------------------------------------------------------                                   來源選項


    -i, --input    Set input device                                                                                設定輸入的文件來源
    -t, --title    Select a title to encode (0 to scan all titles only,                       选择标题进行编码( 0只掃描所有標題,默认值:1 )
                            default: 1)
        --min-duration      Set the minimum title duration (in seconds). Shorter               最小持续时间设置最小称号持续时间(以秒为单位)。
                            titles will not be scanned (default: 10).                                                     短标题将不会被扫描(默认值:10 ) 。
        --scan              Scan selected title only.                                                                         扫描选定的唯一称号。
        --main-feature      Detect and select the main feature title.                                       检测和选择的主要特征標題
    -c, --chapters Select chapters (e.g. "1-3" for chapters                                   选择章节(如“1-3”的章节
                            1 to 3, or "3" for chapter 3 only,                                                                  1至3,或“3”为仅第3章                                      
                            default: all chapters)                                                                                     默认:所有章节)
        --angle    Select the video angle (DVD or Blu-ray only)                          选择视频角度( DVD或只有蓝光)
        --previews <#:B>    Select how many preview images are generated,                   选择有多少是生成的预览图像,
                            and whether or not they're stored to disk (0 or 1).                                   以及是否它们存储到磁盘( 0或1)。                     
                            (default: 10:0)                                                                                                (默认: 10:0 )
    --start-at-preview <#>  Start encoding at a given preview.                                            开始编码在一个给定的预览。
    --start-at      Start encoding at a given frame, duration (in seconds),            在一个给定帧中,持续时间(以秒为单位)开始编码,
                            or pts (on a 90kHz clock)                                                                             或点(在90kHz的时钟)                
    --stop-at      Stop encoding at a given frame, duration (in seconds),          停止于在一个给定帧中,持续时间停止编码(以秒计) 
                            or pts (on a 90kHz clock)                                                                             或点(在90kHz的时钟)                             
### Destination Options------------------------------------------------------


    -o, --output   Set output file name                                                                        設定輸出的文件名                                                     
    -f, --format   Set output format (mp4/mkv, default:                                           設定輸出視頻格式(mp4/mkv,默認:從文件名自動檢測)
                            autodetected from file name)
    -m, --markers           Add chapter markers                                                                        添加章節標記
    -4, --large-file        Create 64-bit mp4 files that can hold more than 4 GB                   大文件创建64位的MP4文件,可容纳超过4 GB数据。
                            of data. Note: breaks pre-iOS iPod compatibility.                                    注:在休息前的iOS iPod的兼容性。
    -O, --optimize          Optimize mp4 files for HTTP streaming ("fast start")                    HTTP流的优化优化的MP4文件(“快速启动”)                   
    -I, --ipod-atom         Mark mp4 files so 5.5G iPods will accept them                            标记的mp4文件,所以5.5G iPod播放器会接受他们


### Video Options------------------------------------------------------------                                      視頻選項


    -e, --encoder  Set video library encoder                                                              設置視頻編碼庫
                            Options: x264/ffmpeg4/ffmpeg2/theora
                            (default: ffmpeg4)
        --x264-preset       When using x264, selects the x264 preset:                                    当使用X264,选用X264预置設定:                               
                   ultrafast/superfast/veryfast/faster/fast/
                            medium/slow/slower/veryslow/placebo
        --x264-tune         When using x264, selects the x264 tuning:                                      当使用X264,选用X264调整:
                   film/animation/grain/stillimage/psnr/ssim/
                            fastdecode/zerolatency
    -x, --encopts  Specify advanced encoder options in the                                    指定高级编码器选项
                            same style as mencoder (x264 and ffmpeg only):
                            option1=value1:option2=value2
        --h264-profile      When using x264, ensures compliance with the                             当使用X264,确保符合规定的H.264的配置文件:                       
                   specified H.264 profile:
                            auto/high/main/baseline
        --h264-level        When using x264, ensures compliance with the                             当使用X264,确保符合指定H.264级别:
                   specified H.264 level:
                            auto/1.0/1b/1.1/1.2/1.3/2.0/2.1/2.2/3.0/3.1/
                            3.2/4.0/4.1/4.2/5.0/5.1/5.2
    -q, --quality  Set video quality                                                                             设置视频质量
    -b, --vb         Set video bitrate (default: 1000)                                                         设置视频比特率(默认是:1000)
    -2, --two-pass          Use two-pass mode                                                                            使用2pass模式
    -T, --turbo             When using 2-pass use "turbo" options on the                                   当使用一号通2通使用“涡轮”选项来提高速度(仅适用于X264)
                            1st pass to improve speed (only works with x264)
    -r, --rate              Set video framerate (5/10/12/15/23.976/24/25/29.97/30/50/59.94/60) 設定視頻幀數
                            Be aware that not specifying a framerate lets                                               请注意,不指定帧率让手刹保留源的时间戳,可能会创建可变帧率视频
                            HandBrake preserve a source's time stamps,                    
                            potentially creating variable framerate video
    --vfr, --cfr, --pfr     Select variable, constant or peak-limited                                                选择变量,常量或峰值限制帧速率控制。目视保留源时机。CFR使输出恒定
                            frame rate control. VFR preserves the source                                             的速率由-r标志给出的利率(或源的平均速率,如果没有-r给出)。PFR不
                            timing. CFR makes the output constant rate at                                           允许的速度走了过来与-r标志指定的速率,但不会改变源时机,如果是低
                            the rate given by the -r flag (or the source's                                                 于这个速度。如果没有这些标志的给出,默认是 - 当CFR-R,并给出 - V
                            average rate if no -r is given). PFR doesn't                                                   FR否则
                            allow the rate to go over the rate specified
                            with the -r flag but won't change the source
                            timing if it's below that rate.
                            If none of these flags are given, the default
                            is --cfr when -r is given and --vfr otherwise


### 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
                               ffflac24
                               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         Set audio bitrate(s) (default: depends on the
                            selected codec, mixdown and samplerate)
                            Separated by commas for more than one audio track.
    -Q, --aq      Set audio quality metric (default: depends on the
                            selected codec)
                            Separated by commas for more than one audio track.
    -C, --ac  Set audio compression metric (default: depends on the
                            selected codec)
                            Separated by commas for more than one audio track.
    -6, --mixdown  Format(s) for audio downmixing/upmixing:
                               mono
                               left_only
                               right_only
                               stereo
                               dpl1
                               dpl2
                               5point1
                               6point1
                               7point1
                               5_2_lfe
                            Separated by commas for more than one audio track.
                            Defaults:
                               faac             up to dpl2
                               ffaac            up to dpl2
                               ffac3            up to 5point1
                               lame             up to dpl2
                               vorbis           up to dpl2
                               ffflac           up to 7point1
                               ffflac24         up to 7point1
        --normalize-mix     Normalize audio mix levels to prevent clipping.
                    Separated by commas for more than one audio track.
                            0 = Disable Normalization (default)
                            1 = Enable Normalization
    -R, --arate             Set audio samplerate(s) (8/11.025/12/16/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.
        --gain      Amplify or attenuate audio before encoding.  Does
                            NOT work with audio passthru (copy). Values are in
                            dB.  Negative values attenuate, positive values
                            amplify. A 1 dB difference is barely audible.
        --adither  Apply dithering to the audio before encoding.
                            Separated by commas for more than one audio track.
                            Only supported by some encoders (ffflac).
                            Options:
                               auto (default)
                               none
                               rectangular
                               triangular
                               triangular_hp
                               triangular_ns
    -A, --aname    Audio track name(s),
                            Separated by commas for more than one audio track.


### 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.
    --display-width         Set the width to scale the actual pixels to
                   at playback, for custom anamorphic.
    --keep-display-aspect   Preserve the source's display aspect ratio
                            when using custom anamorphic
    --pixel-aspect          Set a custom pixel aspect for custom anamorphic
     
                            (--display-width and --pixel-aspect are mutually
                             exclusive and the former will override the latter)
    --itu-par               Use wider, ITU pixel aspect values for loose and
                            custom anamorphic, useful with underscanned sources
    --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)
    -M, --color-matrix      Set the color space signaled by the output
                            Values: 709, pal, ntsc, 601 (same as ntsc)
                            (default: detected from source)


### Filters---------------------------------------------------------


    -d, --deinterlace       Deinterlace video with Libav, yadif or mcdeint
          or omitted (default settings)
           or
              (default 0:-1:-1:1)
    -5, --decomb            Selectively deinterlaces when it detects combing
          or omitted (default settings)
           or
         
          (default: 7:2:6:9:80:16:16:10:20:20:4:2:50:24:1:-1)
    -9, --detelecine        Detelecine (ivtc) video with pullup filter
                            Note: this filter drops duplicate frames to
                            restore the pre-telecine framerate, unless you
                            specify a constant framerate (--rate 29.97)
          (default 1:1:4:4:0:0:-1)
    -8, --denoise           Denoise video with hqdn3d filter
          or omitted (default settings)
           or
              (default 4:3:6:4.5)
    -7, --deblock           Deblock video with pp7 filter
                     (default 5:2)
        --rotate            Flips images axes
                        (default 3)
    -g, --grayscale         Grayscale encoding


### Subtitle Options------------------------------------------------------------


    -s, --subtitle Select subtitle track(s), separated by commas
                            More than one output track can be used for one
                            input.
                            Example: "1,2,3" for multiple tracks.
                            A special track name "scan" adds an extra 1st pass.
                            This extra pass scans subtitles matching the
                            language of the first audio or the language 
                            selected by --native-language.
                            The one that's only used 10 percent of the time
                            or less is selected. This should locate subtitles
                            for short foreign language segments. Best used in
                            conjunction with --subtitle-forced.
    -F, --subtitle-forced   Only display subtitles from the selected stream if
                   the subtitle has the forced flag set. The values in
                            "string" are indexes into the subtitle list
                            specified with '--subtitle'.
                            Separated by commas for more than one subtitle track.
                            Example: "1,2,3" for multiple tracks.
                            If "string" is omitted, the first track is forced.
        --subtitle-burned   "Burn" the selected subtitle into the video track
                   If "number" is omitted, the first track is burned.
                            "number" is an index into the subtitle list
                            specified with '--subtitle'.
        --subtitle-default  Flag the selected subtitle as the default subtitle
                   to be displayed upon playback.  Setting no default
                            means no subtitle will be automatically displayed
                            If "number" is omitted, the first track is default.
                            "number" is an index into the subtitle list
                            specified with '--subtitle'.
    -N, --native-language   Specifiy your language preference. When the first
                   audio track does not match your native language then
                            select the first subtitle that does. When used in
                            conjunction with --native-dub the audio track is
                            changed in preference to subtitles. Provide the
                            language's iso639-2 code (fre, eng, spa, dut, et cetera)
        --native-dub        Used in conjunction with --native-language
                            requests that if no audio tracks are selected the
                            default selected audio track will be the first one
                            that matches the --native-language. If there are no
                            matching audio tracks then the first matching
                            subtitle track is used instead.
        --srt-file SubRip SRT filename(s), separated by commas.
        --srt-codeset       Character codeset(s) that the SRT file(s) are
                   encoded in, separated by commas.
                            Use 'iconv -l' for a list of valid
                            codesets. If not specified, 'latin1' is assumed
        --srt-offset        Offset (in milliseconds) to apply to the SRT file(s),
                   separated by commas. If not specified, zero is assumed.
                            Offsets may be negative.
        --srt-lang Language as an iso639-2 code fra, eng, spa et cetera)
                            for the SRT file(s), separated by commas. If not specified,
                            then 'und' is used.
        --srt-default       Flag the selected srt as the default subtitle
                   to be displayed upon playback.  Setting no default
                            means no subtitle will be automatically displayed
                            If "number" is omitted, the first srt is default.
                            "number" is an 1 based index into the srt-file list

你可能感兴趣的:(HandBrakeCLI命令(google翻譯))