help.txt

(12 KB) Pobierz
NVEncC (x64) 2.07 by rigaya [NVENC API v6.0], build May 29 2016 23:27:29
 reader: raw, avs, vpy, avcuvid [H.264/AVC, MPEG1, MPEG2]
Usage: NVEncC.exe [Options] -i <input file> -o <output file>

Input can be avs, raw YUV, YUV4MPEG2(y4m).
When Input is in raw format, fps, input-res is required.

Ouput format will be in raw H.264/AVC or H.265/HEVC ES.

Example:
  NVEncC -i "<avsfilename>" -o "<outfilename>"
  avs2pipemod -y4mp "<avsfile>" | NVEncC --y4m -i - -o "<outfilename>"

Information Options: 
-h,-? --help                    print help
-v,--version                    print version info
   --check-device               show DeviceId for GPUs available on system   --check-hw [<int>]           check NVEnc codecs for specefied DeviceId
                                  if unset, will check DeviceId #0
   --check-features [<int>]     check for NVEnc Features for specefied DeviceId
                                  if unset, will check DeviceId #0
   --check-environment          check for Environment Info
   --check-avversion            show dll version
   --check-codecs               show codecs available
   --check-encoders             show audio encoders available
   --check-decoders             show audio decoders available
   --check-formats              show in/out formats available
   --check-protocols            show in/out protocols available
   --check-filters              show filters available


Basic Encoding Options: 
-d,--device <int>               set DeviceId used in NVEnc (default:0)

-i,--input <filename>           set input filename
-o,--output <filename>          set output filename

 Input formats (auto detected from extension of not set)
   --raw                        set input as raw format
   --y4m                        set input as y4m format
   --avs                        set input as avs format
   --vpy                        set input as vpy format
   --vpy-mt                     set input as vpy(mt) format
   --avcuvid [<string>]         use libavformat + cuvid for input
                                 this enables full hw transcode and resize.
                                 avcuvid mode could be set as a  option
                                  - native (default)
                                  - cuda
   --avcuvid-analyze <int>      set time (sec) which reader analyze input file.
                                 default: 5 (seconds).
                                 could be only used with avqsv reader.
                                 use if reader fails to detect audio stream.
   --audio-source <string>      input extra audio file
   --audio-file [<int>?][<string>:]<string>
                                extract audio into file.
                                 could be only used with avqsv reader.
                                 below are optional,
                                  in [<int>?], specify track number to extract.
                                  in [<string>?], specify output format.
   --trim <int>:<int>[,<int>:<int>]...
                                trim video for the frame range specified.
                                 frame range should not overwrap each other.
   --seek [<int>:][<int>:]<int>[.<int>] (hh:mm:ss.ms)
                                skip video for the time specified,
                                 seek will be inaccurate but fast.
-f,--format <string>            set output format of output file.
                                 if format is not specified, output format will
                                 be guessed from output file extension.
                                 set "raw" for H.264/ES output.
   --audio-copy [<int>[,...]]   mux audio with video during output.
                                 could be only used with
                                 avqsv reader and avcodec muxer.
                                 by default copies all audio tracks.
                                 "--audio-copy 1,2" will extract
                                 audio track #1 and #2.
   --audio-codec [<int>?]<string>
                                encode audio to specified format.
                                  in [<int>?], specify track number to encode.
   --audio-bitrate [<int>?]<int>
                                set encode bitrate for audio (kbps).
                                  in [<int>?], specify track number of audio.
   --audio-ignore-decode-error <int>  (default: 10)
                                set numbers of continuous packets of audio decode
                                 error to ignore, replaced by silence.
   --audio-ignore-notrack-error ignore error when audio track is unfound.
   --audio-samplerate [<int>?]<int>
                                set sampling rate for audio (Hz).
                                  in [<int>?], specify track number of audio.
   --audio-resampler <string>   set audio resampler.
                                  swr (swresampler: default), soxr (libsoxr)
   --audio-stream [<int>?][<string1>][:<string2>][,[<string1>][:<string2>]][..
       set audio streams in channels.
         in [<int>?], specify track number to split.
         in <string1>, set input channels to use from source stream.
           if unset, all input channels will be used.
         in <string2>, set output channels to mix.
           if unset, all input channels will be copied without mixing.
       example1: --audio-stream FL,FR
         splitting dual mono audio to each stream.
       example2: --audio-stream :stereo
         mixing input channels to stereo.
       example3: --audio-stream 5.1,5.1:stereo
         keeping 5.1ch audio and also adding downmixed stereo stream.
       usable simbols
         mono       = FC
         stereo     = FL + FR
         2.1        = FL + FR + LFE
         3.0        = FL + FR + FC
         3.0(back)  = FL + FR + BC
         3.1        = FL + FR + FC + LFE
         4.0        = FL + FR + FC + BC
         quad       = FL + FR + BL + BR
         quad(side) = FL + FR + SL + SR
         5.0        = FL + FR + FC + SL + SR
         5.1        = FL + FR + FC + LFE + SL + SR
         6.0        = FL + FR + FC + BC + SL + SR
         6.0(front) = FL + FR + FLC + FRC + SL + SR
         hexagonal  = FL + FR + FC + BL + BR + BC
         6.1        = FL + FR + FC + LFE + BC + SL + SR
         6.1(front) = FL + FR + LFE + FLC + FRC + SL + SR
         7.0        = FL + FR + FC + BL + BR + SL + SR
         7.0(front) = FL + FR + FC + FLC + FRC + SL + SR
         7.1        = FL + FR + FC + LFE + BL + BR + SL + SR
         7.1(wide)  = FL + FR + FC + LFE + FLC + FRC + SL + SR
   --audio-filter [<int>?]<string>
                                set audio filter.
                                  in [<int>?], specify track number of audio.
   --chapter-copy               copy chapter to output file.
   --chapter <string>           set chapter from file specified.
   --sub-copy [<int>[,...]]     copy subtitle to output file.
                                 these could be only used with
                                 avqsv reader and avcodec muxer.
                                 below are optional,
                                  in [<int>?], specify track number to copy.

   --avsync <string>            method for AV sync (default: through)
                                 through  ... assume cfr, no check but fast
                                 forcecfr ... check timestamp and force cfr.
-m,--mux-option <string1>:<string2>
                                set muxer option name and value.
                                 these could be only used with
                                 avqsv reader and avcodec muxer.
   --input-res <int>x<int>        set input resolution
   --crop <int>,<int>,<int>,<int> crop pixels from left,top,right,bottom
                                    left crop is unavailable with avcuivid reader
   --output-res <int>x<int>     set output resolution
   --fps <int>/<int> or <float> set framerate

-c,--codec <string>             set ouput codec
                                  h264 (or avc), h265 (or hevc)
   --profile <string>           set codec profile
                                  H.264: baseline, main, high(default)
                                  HEVC : main
   --level <string>             set codec level
                                - H.264: auto(default), 1, 1b, 1.1, 1.2, 1.3
                                         2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1, 4.2
                                         5, 5.1, 5.2
                                - HEVC:  auto(default), 1, 2, 2.1, 3, 3.1, 4
                                         4.1, 5, 5.1, 5.2, 6, 6.1, 6.2
   --sar <int>:<int>            set SAR ratio
   --dar <int>:<int>            set DAR ratio

   --cqp <int> or               encode in Constant QP mode
         <int>:<int>:<int>        Default: <I>:<P>:<B>=<20>:<23>:<25>
   --vbr <int>                  set bitrate for VBR mode (kbps)
   --vbr2 <int>                 set bitrate for VBR2 mode (kbps)
   --cbr <int>                  set bitrate for CBR mode (kbps)
                                  Default: 7500 kbps

...
Zgłoś jeśli naruszono regulamin