-
-
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
x32
orx64
folder, typecmd
into the URL bar at the top, and hitENTER
to open Command Prompt in the current folder. (Or open Command Prompt, type cd and enter the full folder directory) - Then, typing "nv" and hit
TAB
to enter either "NVEncC" or "NVEncC64" automatically. PressSPACE
and type either-h
or--help
, and hitENTER
to read the full help file. This includes everything the command will run.
- Open
settings.cfg
with 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 to0
to use a custom audio codec (Use AudioCodec below), or no audio in output. -
AudioCodec Chooses an output audio codec (Only use when
audiocopy
is0
). Default:BLANK
. Example:AudioCodec=aac
-
Suffix Set your output file's suffix.
_Proxy
is the default. Setting it to_Proxy
will transcodetest.mp4
intotext_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.
640x320
is default. Example: 1280x720 -
FPS Sets the output FPS.
60
is default. Example: 30 -
VideoCodec: Sets the output codec.
h264
is default. Example: h264- To see what arguments are available, enter either
x32
orx64
, and runnvencc --check-formats
orNVEncC64 --check-formats
- To see what arguments are available, enter either
-
EncoderProfile Sets the encoder's profile.
high
is default. Example: baseline -
Level Sets the encoder's level.
auto
is default. Example: 4.2 -
Preset Sets the encoder's preset.
performance
is default. Example: quality -
OutputDepth Sets the encoder's Bit Depth.
8 is default
-
CUDASchedule Sets how aggressively NVEncC will use your CPU.
spin
is default, and is the most demanding. NVEncC's default issync
-
SampleAspectRatio
1:1
is default. - Lookahead Sets the number of frames NVEncC looks ahead.
-
GOPLength A higher number has more compression, but less quality.
0
is default. -
BFrames: Sets the number of consecutive B-frames.
3
is default. -
ReferenceFrames
3
is default. -
MVPrecision
Q-pel
is default (and the highest quality). Other options are half-pel and full-pel, decreasing in quality in that order. -
Colormatrix Sets the Colormatrix profile.
undef
is default.
Make sure to set these to OFF if you're using HEVC or another codec.
-
CABAC
1
uses CABAC. Blank does not add --CABAC flag.1
is default.0
if you're using a different codec. -
Deblock Adds --deblock filter flag.
on
default.off
to use --no-deblock flag.BLANK
if you're using a different codec.
-
Bitrate Sets the bitrate, and/or encoding mode.
cqp 15
default. Can change tovbr 3000
for 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
-1
when not using VBR.
-
GPU Manually set which GPU to use.
BLANK
by 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
-d
or--devices
flag.
-
OSBit Manually set Windows x32 or x64 here.
BLANK
by default. -
OtherArgs: Set other arguments to be appended to the end of the command string here.
BLANK
by 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
input
andoutput
files, 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
0
by 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"