-
-
Notifications
You must be signed in to change notification settings - Fork 2
Settings
Wesley Pyburn (TechNobo) edited this page Aug 21, 2019
·
8 revisions
The best way to understand the settings file is to Google search everything you don't fully understand.
However, here are some basics to get you started. Things that aren't mentioned here can be gone through by yourself, but this will get you started on your way.
- Entering either the
x32orx64folder, typecmdinto the URL bar at the top, and hitENTERto open Command Prompt in the current folder. (Or open Command Prompt, type cd and enter the full folder directory) - Then, typing "nv" and hit
TABto enter either "NVEncC" or "NVEncC64" automatically. PressSPACEand type either-hor--help, and hitENTERto read the full help file. This includes everything the command will run.
- Open
settings.cfgwith a text editor of your choice. Some are mentioned on the Getting Started page.
You will see 2 types of lines in the file:
- "Option=Value" Where settings are given values
-
#Here is some helpful info Lines starting with
#are ignored by the program
These are the variables you'll be changing. You don't need to change any other file except for this one.
- OutputFormat Sets the output file format. Example: mp4
-
CopyAudio Chooses to copy audio (will keep format, disable if errors or incompatible a/v formats). Default:
1. Set to0to use a custom audio codec (Use AudioCodec below), or no audio in output. -
AudioCodec Chooses an output audio codec (Only use when
audiocopyis0). Default:BLANK. Example:AudioCodec=aac -
Suffix Set your output file's suffix.
_Proxyis the default. Setting it to_Proxywill transcodetest.mp4intotext_Proxy.mp4(Or the format you set above) -- This is Adobe Premiere Pro's default. -
OutputDirectory Sets the output directory.
Blank by default. Leave it blank will save your transcoded files to the input file's folder. Example:D:\Documents -
Resolution Sets the output resolution.
640x320is default. Example: 1280x720 -
FPS Sets the output FPS.
60is default. Example: 30 -
VideoCodec: Sets the output codec.
h264is default. Example: h264- To see what arguments are available, enter either
x32orx64, and runnvencc --check-formatsorNVEncC64 --check-formats
- To see what arguments are available, enter either
-
EncoderProfile Sets the encoder's profile.
highis default. Example: baseline -
Level Sets the encoder's level.
autois default. Example: 4.2 -
Preset Sets the encoder's preset.
performanceis default. Example: quality -
OutputDepth Sets the encoder's Bit Depth.
8 is default -
CUDASchedule Sets how aggressively NVEncC will use your CPU.
spinis default, and is the most demanding. NVEncC's default issync -
SampleAspectRatio
1:1is default. - Lookahead Sets the number of frames NVEncC looks ahead.
-
GOPLength A higher number has more compression, but less quality.
0is default. -
BFrames: Sets the number of consecutive B-frames.
3is default. -
ReferenceFrames
3is default. -
MVPrecision
Q-pelis default (and the highest quality). Other options are half-pel and full-pel, decreasing in quality in that order. -
Colormatrix Sets the Colormatrix profile.
undefis default.
Make sure to set these to OFF if you're using HEVC or another codec.
-
CABAC
1uses CABAC. Blank does not add --CABAC flag.1is default.0if you're using a different codec. -
Deblock Adds --deblock filter flag.
ondefault.offto use --no-deblock flag.BLANKif you're using a different codec.
-
Bitrate Sets the bitrate, and/or encoding mode.
cqp 15default. Can change tovbr 3000for a 3,000 Kbps VBR file, for example. See settings.bat for more info. -
VBRQuality If using VBR, enter a value, otherwise leave it
-1. Set to a VBR target quality between 0 and 51. -
MaxBitrate Sets the max bitrate, when using VBR. Leave it
-1when not using VBR.
-
GPU Manually set which GPU to use.
BLANKby default, will pick the best card to use automatically.
To see which cards you can use, run the command "NVEncC --check-device" or "NVEncC64 --check-device", or run the program with the
-dor--devicesflag.
-
OSBit Manually set Windows x32 or x64 here.
BLANKby default. -
OtherArgs: Set other arguments to be appended to the end of the command string here.
BLANKby default. -
Override OVERRIDES EVERY SETTING PRIOR EXCEPT FOR OTHERARGS
This lets you set everything yourself in the string here. Only do this if you understand what is being run.
The program will only add the
inputandoutputfiles, as well as pick the right NVEncC encoder (x32 or x64). Everything entered here will be stuck right on the end of the string, to be run by the encoder. Default is0 -
DeleteOldQueue Deletes queue once it has been processed, instead of renaming it and keeping it incase something was missed (default is to keep). Setting is
0by default. -
AfterCompletion Runs a command after a file is processed (happens with every file that is run. Every variable in TcNo-Transcoder.bat can be used here, but the one you'll likely use is
%outF%, which is the output file of the transcode. For example:AfterCompletion=ffmpeg -i "%outF%" "%outF%.mp3"will be run asffmpeg -i "D:\Videos\p_Proxy.mp4" "D:\Videos\p_Proxy.mp4.mp3"