NSV Command Line Interface
Originally written by
Updated by Sankt
For more information on using the computer command line please
Video File Encoding
Open the command prompt and change the directory to the NSVtool folder.
(Default C:\Program Files\NSVtools).
At the command prompt, type "nsvenc /config".
This command opens the "NSVenc configuration" window.
To select and configure the audio and video encoders, click the "NSV Encoder Configuration".
Select the audio and video codec you want to encode with, and configure their specific encoding settings.
You can choose the MP3 (The LAME encoder installs with NSV Tools), AAC or AAC+ codec to encode the NSV audio. You must install the AAC or AAC+ encoder dll to encode content with these audio codecs.
For MP3 audio encoding you must configure the following:
- Mode : (CBR or VBR) Continuous or Variable Bit Rate encoding.
- Stereo / Mono
- Bitrate : (Encoding rate of audio.)
- Quality : (It is suggested you use "Normal".)
You can find out more about audio encoding here.
You can choose the VP3 (VP3 video codec installs with NSV Tools), VP6 or H.264 codec to encode the NSV video. VP3 is free for commercial or non commercial use. Both VP6 and H.264 are proprietary codecs and must be licensed for commercial use.
For VP3 video encoding you must configure the following:
- Bitrate : (Encoding rate of video.)
- Keyframe Bitrate : (Encoding rate for frames that hold a complete image.)
- Allow Dropped Frames : (This provides for Continuous Bitrate encoding.)
- Auto Keyframe : (This automatically inserts keyframe.)
- Threshhold : (This determines how much contrast there is between neighboring pixels in the video, which affects the sharpness of the video.)
- Minimum Distance : (Minimum amount of video distortion allowed while encoding.)
- Maximum Distance : (Maximum amount of video distortion allowed while encoding.)
- Noise Sensitivity : (The ability to control visual noise, such as bright lights or sudden changes in lighting.)
- Sharpness : (The ability to control the sharpness or crispness of the encoded video.)
You can find out more information about VP3 and VP6.2 video codec configuration here
Click "OK" again to exit.
Encoding is then straight forward.
Syntax - nsvenc input.ext output.nsv
Example - nsvenc my_great_move.avi my_great_movie.nsv
The VP3, VP6 and H.264 video codecs are variable-bitrate in nature, so the bitrate won't be constant. If you need to lower the frame rate or the resolution try the option in the previous NSVenc configuration window. (These settings will increase CPU usage).
Any DirectShow decodable file (AVI, MPEG, etc.) can be transcoded into NSV, assuming the computer has the proper DirectShow filters. You can use the Gspot Codec Information Appliance to find out what video and audio codecs were used for encoding a source video file.
FFDSHOW is a DirectShow decoding filter that can be used in conjunction with NSV to transcode video that was encoded using "exotic" multimedia codecs. (Such as DivX, Xvid etc.)
If you have any encoding problems, you can force some video properties using the "source settings" and "directshow settings" switches from the command line. Just type nsvenc with no parameters for a full switch listing.