NVEncC (x64) 2.00?3 by rigaya [NVENC API v6.0], build Jan  5 2016 23:19:12
  avi reader: disabled
  avs reader: enabled
  vpy reader: enabled
  avcuvid reader: enabled

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>"

Options: 
-h,-? --help                      print help
   --help-ja                      print help in Japanese
   --help-en                      print help in English
-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

-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                      use libavformat + cuvid

   --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
-f,--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

   --max-bitrate <int>            set Max Bitrate (kbps) / Default: 17500 kbps
   --qp-init <int> or             set initial QP
             <int>:<int>:<int>      Default: auto
   --qp-max <int> or              set max QP
            <int>:<int>:<int>       Default: unset
   --qp-min <int> or              set min QP
             <int>:<int>:<int>      Default: unset
   --gop-len <int>                set GOP Length / Default: 0 frames (auto)
-b,--bframes <int>                set B frames / Default 3 frames
   --ref <int>                    set Ref frames / Default 3 frames
   --aq                           enable adaptive quantization
   --mv-precision <string>        set MV Precision / Default: Q-pel
                                    Q-pel    (High Quality)
                                    half-pel
                                    full-pel (Low Quality)
   --vbv-bufsize <int>            set vbv buffer size (kbit) / Default: auto
   --vpp-deinterlace <string>     set deinterlace mode / Default: none
                                    none, bob, adaptive
                                    available only with avcuvid reader
   --fullrange                    set fullrange
   --videoformat <string>         undef, ntsc, component, pal, secam, mac
                                   default: undef
   --colormatrix <string>         undef, auto, bt709, smpte170m, bt470bg
                                  smpte240m, YCgCo, fcc, GBR, bt2020nc
                                  bt2020c
                                   default: undef
   --colorprim <string>           undef, auto, bt709, smpte170m, bt470m
                                  bt470bg, smpte240m, film, bt2020
                                   default: undef
   --transfer <string>            undef, auto, bt709, smpte170m, bt470m
                                  bt470bg, smpte240m, linear, log100, log316
                                  iec61966-2-4, bt1361e, iec61966-2-1
                                  bt2020-10, bt2020-12, smpte-st-2084
                                  smpte-st-428, arib-srd-b67
                                   default: undef

   --log <string>                 set log file name
   --log-level <string>           set log level
                                    debug, info(default), warn, error

H.264/AVC
   --interlaced <string>          interlaced encoding
                                    tff, bff
   --cabac                        use CABAC
   --cavlc                        use CAVLC (no CABAC)
   --bluray                       for bluray / Default: off
   --lossless                     for lossless / Default: off
   --(no-)deblock                 enable(disable) deblock filter

H.265/HEVC
   --cu-max <int>                 set max CU size
   --cu-min  <int>                set min CU size
                                    8, 16, 32 are avaliable