NVEncC (x64) 4.68 (r1402) by rigaya, Mar 7 2020 13:54:44 (VC 1916/Win/avx2) [NVENC API v9.1, CUDA 10.1] reader: raw, avi, avs, vpy, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1, MPEG1, MPEG4] Usage: NVEncC.exe [Options] -i -o Input can be avi, 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 "" -o "" avs2pipemod -y4mp "" | NVEncC --y4m -i - -o "" Information Options: -h,-? --help print help -v,--version print version info --check-device show DeviceId for GPUs available on system --check-hw [] check NVEnc codecs for specified DeviceId if unset, will check DeviceId #0 --check-features [] check for NVEnc Features for specified 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-profiles show profile names available for specified codec --check-formats show in/out formats available --check-protocols show in/out protocols available --check-filters show filters available Basic Encoding Options: -d,--device set DeviceId used in NVEnc (default:-1 as auto) use --check-device to show device ids. -i,--input set input filename -o,--output set output filename Input formats (auto detected from extension of not set) --raw set input as raw format --y4m set input as y4m format --avi set input as avi format --avs set input as avs format --vpy set input as vpy format --vpy-mt set input as vpy(mt) format --avhw use libavformat + hw decode for input --avsw set input to use avcodec + sw decoder --input-res x set input resolution --crop ,,, crop pixels from left,top,right,bottom left crop is unavailable with avhw reader --output-res x set output resolution --fps / or set framerate --interlace set input as interlaced tff, bff -c,--codec set output codec h264 (or avc), h265 (or hevc) --profile set codec profile H.264: baseline, main, high(default), high444 HEVC : main, main10, main444 --tier set codec tier HEVC : main, high --lossless for lossless (YUV444 only) / default: off --level 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 --output-depth set output bit depth ( 8(default), 10 ) --sar : set Sample Aspect Ratio --dar : set Display Aspect Ratio --cqp or encode in Constant QP mode :: default: :

:=<20>:<23>:<25> --vbr set bitrate for VBR mode (kbps) --vbrhq set bitrate for VBR (High Quality) mode (kbps) --cbr set bitrate for CBR mode (kbps) --cbrhq set bitrate for CBR (High Quality) mode (kbps) default: 7500 kbps -u,--preset set encoder preset default, performance, quality --vbr-quality target quality for VBR mode (0-51, 0=auto) --max-bitrate set Max Bitrate (kbps) --dynamic-rc :,=[,=][...] change the rate control mode within the specified range of output frames params cqp= or :: vbr= vbrhq= cbr= cbrhq= max-bitrate= vbr-quality= --qp-init or set initial QP :: default: auto --qp-max or set max QP :: default: unset --qp-min or set min QP :: default: unset --gop-len set GOP Length / default: 0 frames (auto) --lookahead enable lookahead and set lookahead depth (1-32) default: 16 frames --strict-gop avoid GOP len fluctuation --no-i-adapt disable adapt. I frame insertion --no-b-adapt disable adapt. B frame insertion for lookahead mode only, default: off -b,--bframes set number of consecutive B frames default: 3 frames --ref set ref frames / default 3 frames --multiref-l0 set multiple ref frames (L0) --multiref-l1 set multiple ref frames (L1) --weightp enable weighted prediction for P frame --nonrefp enable adapt. non-reference P frame insertion --mv-precision set MV Precision / default: auto auto, Q-pel (High Quality), half-pel, full-pel (Low Quality, not recommended) --slices number of slices, default 0 (auto) --vbv-bufsize set vbv buffer size (kbit) / default: auto --(no-)aq enable spatial adaptive quantization --aq-temporal enable temporal adaptive quantization --aq-strength set aq strength (weak 1 - 15 strong) default: 0 = auto --bref-mode set B frame reference mode - disabled (default) - each - middle --direct [H264] set B Direct mode auto(default), none, spatial, temporal --(no-)adapt-transform [H264] set adaptive transform mode (default=auto) --cabac [H264] use CABAC --cavlc [H264] use CAVLC (no CABAC) --bluray [H264] for bluray / default: off --(no-)deblock [H264] enable(disable) deblock filter --cu-max [HEVC] set max CU size --cu-min [HEVC] set min CU size 8, 16, 32 are avaliable warning: it is not recommended to use --cu-max or --cu-min, leaving it auto will enhance video quality. --aud insert aud nal unit to ouput stream. --pic-struct insert pic-timing SEI with pic_struct. --chromaloc set chroma location flag [ 0 ... 5 ] default: 0 = unspecified --videoformat undef, auto, ntsc, component, pal, secam mac default: undef --colormatrix undef, auto, auto_res, bt709, smpte170m bt470bg, smpte240m, YCgCo, fcc, GBR bt2020nc, bt2020c, derived-ncl, derived-cl ictco, 2100-lms default: undef --colorprim undef, auto, auto_res, bt709, smpte170m bt470m, bt470bg, smpte240m, film, bt2020 st428, st431-2, st432-1, ebu3213-e default: undef --transfer undef, auto, auto_res, bt709, smpte170m bt470m, bt470bg, smpte240m, linear, log100 log316, iec61966-2-4, bt1361e, iec61966-2-1 bt2020-10, bt2020-12, smpte2084, smpte428 arib-std-b67 default: undef --colorrange undef, limited, tv, full, pc, auto default: undef --max-cll , set MaxCLL/MaxFall in nits. e.g. "1000,300" --master-display set Mastering display data. e.g. "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --dhdr10-info apply dynamic HDR10+ metadata from json file. --input-analyze set time (sec) which reader analyze input file. default: 5 (seconds). could be only used with avhw/avsw reader. use if reader fails to detect audio stream. --video-track set video track to encode in track id 1 (default) highest resolution video track 2 next high resolution video track ... -1 lowest resolution video track -2 next low resolution video track ... --video-streamid set video track to encode in stream id --audio-source input extra audio file. --audio-file [?][:] extract audio into file. could be only used with avhw/avsw reader. below are optional, in [?], specify track number to extract. in [?], specify output format. --trim :[,:]... trim video for the frame range specified. frame range should not overwrap each other. --seek [:][:][.] (hh:mm:ss.ms) skip video for the time specified, seek will be inaccurate but fast. --input-format set input format of input file. this requires use of avhw/avsw reader. -f,--output-format 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 [[,...]] mux audio with video during output. could be only used with avhw/avsw reader and avcodec muxer. by default copies all audio tracks. "--audio-copy 1,2" will extract audio track #1 and #2. --audio-codec [?] encode audio to specified format. in [?], specify track number to encode. --audio-profile [?] specify audio profile. in [?], specify track number to apply. --audio-bitrate [?] set encode bitrate for audio (kbps). in [?], specify track number of audio. --audio-ignore-decode-error (default: 10) set numbers of continuous packets of audio decode error to ignore, replaced by silence. --audio-samplerate [?] set sampling rate for audio (Hz). in [?], specify track number of audio. --audio-resampler set audio resampler. swr (swresampler: default), soxr (libsoxr) --audio-delay [?] set audio delay (ms). --audio-stream [?][][:][,[][:]][.. set audio streams in channels. in [?], specify track number to split. in , set input channels to use from source stream. if unset, all input channels will be used. in , 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 symbols 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 [?] set audio filter. in [?], specify track number of audio. --chapter-copy copy chapter to output file. --chapter set chapter from file specified. --key-on-chapter set key frame on chapter. --sub-source input extra subtitle file. --sub-copy [[,...]] copy subtitle to output file. these could be only used with avhw/avsw reader and avcodec muxer. below are optional, in [?], specify track number to copy. --caption2ass [] enable caption2ass during encode. !! This feature requires Caption.dll !! supported formats ... srt (default), ass --data-copy [[,...]] copy data stream to output file. --avsync method for AV sync (default: cfr) cfr ... assume cfr forcecfr ... check timestamp and force cfr vfr ... honor source timestamp and enable vfr output. only available for avsw/avhw reader, and could not be used with --trim. --input-option : set input option name and value. these could be only used with avhw/avsw reader. -m,--mux-option : set muxer option name and value. these could be only used with avhw/avsw reader and avcodec muxer. --vpp-deinterlace set deinterlace mode / default: none none, bob, adaptive (normal) available only with avhw reader --vpp-afs [=][,=][...] enable auto field shift deinterlacer params preset= default, triple, double, anime, cinema, min_afterimg, 24fps, 24fps_sd, 30fps ini= read setting from ini file specified (output of afs.auf) !! params from preset & ini will be overrided by user settings below !! Aviutl???????? top= (?) clip range to scan (default=16) bottom= (?) clip range to scan (default=16) left= (?) clip range to scan (default=32) right= (?) clip range to scan (default=32) left & right must be muitiple of 4 method_switch= (???) (default=0, 0-256) coeff_shift= (???) (default=192, 0-256) thre_shift= (?(???)) stripe(shift)thres (default=128, 0-1024) thre_deint= (?(??)) stripe(deint)thres (default=48, 0-1024) thre_motion_y= (Y??) Y motion threshold (default=112, 0-1024) thre_motion_c= (C??) C motion threshold (default=224, 0-1024) level= (??Lv) set deint level (default=3, 0-4 shift= (????????) enable field shift (default=on) drop= (????) enable frame drop (default=off) smooth= (??????) enable smoothing (default=off) 24fps= (24fps?) force 30fps->24fps (default=off) tune= (?????) show scan result (default=off) rff= rff flag aware (default=off) timecode= output timecode (default=off) log= output log (default=off) --vpp-nnedi [=][,=][...] enable nnedi deinterlacer params field= auto (default) Generate latter field from first field. top Generate bottom field using top field. bottom Generate top field using bottom field. nns= Neurons of neural net (default: 32) 16, 32, 64, 128, 256 nszie=x Area size neural net uses to generate a pixel. 8x6, 16x6, 32x6, 48x6, 8x4, 16x4, 32x4(default) quality= quality settings fast (default), slow prescreen= (default: new_block) none No pre-screening is done and all pixels will be generated by neural net. original Runs prescreener to determine which pixel to apply new neural net, other pixels will be generated from simple interpolation. original_block GPU optimized ver of original/new. new_block errortype= Select weight parameter for neural net. abs (default), square prec= Select calculation precision. auto (default), fp16, fp32 weightfile= Set path of weight file. By default (not specified), internal weight params will be used. --vpp-yadif [=] enable yadif deinterlacer params mode= auto (default) Generate latter field using first field. tff Generate bottom field using top field. bff Generate top field using bottom field. bob Generate one frame from each field. bob_tff Generate one frame from each field assuming tff. bob_bff Generate one frame from each field assuming bff. --vpp-rff apply rff flag, with avhw reader only. --vpp-colorspace [=][,=][...] Converts colorspace of the video. params matrix=: bt709, smpte170m, bt470bg, smpte240m, YCgCo, fcc, GBR, bt2020nc, bt2020c colorprim=: bt709, smpte170m, bt470m, bt470bg, smpte240m, film, bt2020 transfer=: bt709, smpte170m, bt470m, bt470bg, smpte240m, linear, log100, log316, iec61966-2-4, iec61966-2-1, bt2020-10, bt2020-12, smpte2084, arib-srd-b67 range=: limited, full hdr2sdr= Enables HDR10 to SDR. hable, mobius, reinhard, none source_peak= (default: 1000.0) ldr_nits= (default: 100.0) --vpp-resize default, nn, npp_linear, cubic, super lanczos, bilinear, nearest, spline16 spline36, spline64, lanczos2, lanczos3 lanczos4 default: default --vpp-gauss disabled, 3, 5, 7 default: disabled --vpp-knn [=][,=][...] enable denoise filter by K-nearest neighbor. params radius= radius of knn (default=3) strength= strength of knn (default=0.08, 0.0-1.0) lerp= balance of orig & blended pixel (default=0.20) lower value results strong denoise. th_lerp= edge detect threshold (default=0.80, 0.0-1.0) higher value will preserve edge. --vpp-pmd [=][,=][...] enable denoise filter by pmd. params apply_count= count to apply pmd denoise (default=2) strength= strength of pmd (default=100.00, 0.0-100.0) threshold= threshold of pmd (default=100.00, 0.0-255.0) lower value will preserve edge. --vpp-unsharp [=][,=][...] enable unsharp filter. params radius= filter range for edge detection (default=3, 1-9) weight= strength of filter (default=0.50, 0-10) threshold= min brightness change to be sharpened (default=10.00, 0-255) --vpp-edgelevel [=][,=][...] edgelevel filter to enhance edge. params strength= strength (default=0, -31 - 31) threshold= threshold to ignore noise (default=20.0, 0-255) black= allow edge to be darker on edge enhancement (default=0.0, 0-31) white= allow edge to be brighter on edge enhancement (default=0.0, 0-31) --vpp-deband [=][,=][...] enable deband filter. params range= range (default=15, 0-127) sample= sample (default=1, 0-2) thre= threshold for y, cb & cr thre_y= threshold for y (default=15, 0-31) thre_cb= threshold for cb (default=15, 0-31) thre_cr= threshold for cr (default=15, 0-31) dither= strength of dither for y, cb & cr dither_y= strength of dither for y (default=15, 0-31) dither_c= strength of dither for cb/cr (default=15, 0-31) seed= rand seed (default=1234) blurfirst blurfirst (default=off) rand_each_frame generate rand for each frame (default=off) --vpp-tweak [=][,=][...] apply brightness, constrast, gamma, hue adjustment. params brightness= (default=0.0, -1.0 - 1.0) contrast= (default=1.0, -2.0 - 2.0) gamma= (default=1.0, 0.1 - 10.0) saturation= (default=1.0, 0.0 - 3.0) hue= (default=0.0, -180 - 180) --vpp-pad ,,, add padding to left,top,right,bottom (in pixels) --vpp-select-every [,offset=] select one frame per specified frames and create output. --vpp-subburn [=][,=][...] Burn in specified subtitle to the video. params track= subtitle track of the input file to burn in. filename= subtitle file path to burn in. charcode= subtitle charcter code. shaping= rendering quality of text. scale= scaling multiplizer for bitmap subtitles. transparency= adds additional transparency. (default=0.0, 0.0 - 1.0) brightness= modifies brightness of the subtitle. (default=0.0, -1.0 - 1.0) contrast= modifies contrast of the subtitle. (default=1.0, -2.0 - 2.0) vid_ts_offset= add timestamp offset to match the first timestamp of the video file (default: on) (when "track" is used this options is always on) ts_offset= add offset in seconds to subtitle timestamps. --vpp-delogo set delogo file path --vpp-delogo-select set target logo name or auto select file or logo index starting from 1. --vpp-delogo-pos : set delogo pos offset --vpp-delogo-depth set delogo depth [default:128] --vpp-delogo-y set delogo y param --vpp-delogo-cb set delogo cb param --vpp-delogo-cr set delogo cr param --vpp-perf-monitor check duration of each filter. may decrease overall transcode performance. --ssim calc ssim. --psnr calc psnr. --cuda-schedule set cuda schedule mode (default: sync). auto : let cuda driver to decide spin : CPU will spin when waiting GPU tasks, will provide highest performance but with high CPU utilization. yield : CPU will yield when waiting GPU tasks. sync : CPU will sleep when waiting GPU tasks, performance might drop slightly, while CPU utilization will be lower, especially on HW decode mode. --output-buf buffer size for output in MByte default 8 MB (0-128) --log set log file name --log-level set log level debug, info(default), warn, error --log-framelist output frame info of avhw reader to path --max-procfps limit encoding speed for lower utilization. default:0 (no limit) --output-thread set output thread num -1: auto (= default) 0: disable (slow, but less memory usage) 1: use one thread --perf-monitor [][,]... check performance info of encoder and output to log file select counter from below, default = all counters for perf-monitor all ... monitor all info cpu_total ... cpu total usage (%) cpu_kernel ... cpu kernel usage (%) cpu_main ... cpu main thread usage (%) cpu_enc ... cpu encode thread usage (%) cpu_in ... cpu input thread usage (%) cpu_out ... cpu output thread usage (%) cpu_aud_proc ... cpu aud proc thread usage (%) cpu_aud_enc ... cpu aud enc thread usage (%) cpu ... monitor all cpu info gpu_load ... gpu usage (%) gpu_clock ... gpu avg clock vee_load ... gpu video encoder usage (%) ved_load ... gpu video decoder usage (%) ve_clock ... gpu video engine clock gpu ... monitor all gpu info queue ... queue usage mem_private ... private memory (MB) mem_virtual ... virtual memory (MB) mem ... monitor all memory info io_read ... io read (MB/s) io_write ... io write (MB/s) io ... monitor all io info fps ... encode speed (fps) fps_avg ... encode avg. speed (fps) bitrate ... encode bitrate (kbps) bitrate_avg ... encode avg. bitrate (kbps) frame_out ... written_frames --perf-monitor-interval set perf monitor check interval (millisec) default 500, must be 50 or more