Project – NSV Tools

NSV Tools(Not to be mistaken for the original NSVTools from Nullsoft) is a collection of tools to help you use and manipulate NSV files. The tools were originally made to test the NSV Library.

All these tools is cross-platform to a certain point.

NSV Demuxer

The NSV Demuxer enables you to open an NSV file and pick out the individual streams inside it. Let’s say you heard a really neat song inside an NSV file you downloaded, but didn’t want to re-encode it, or have the video with it. You could just start up the NSV demuxer by writing: PATH/nsv_demuxer.exe -i “my nsv file.nsv” -nv -nx -o “myaudio”

You have to exchange PATH with the path to the nsv demuxer(ex: C:/NSV/) and the filenames of the input and output as you wish. What it does is: -i is for the input filename(or path), -nv means to not demux video, -nx means to not demux AUX(Like subtiles) and then -o for where to put it and what name it is to have.

Heres the command you can use:
-i Input file
-o Output file
-nv/-na/-nx No Video /No Audio /No Aux
-d Directory/Path to output the file into(This way you don’t need to put path at the -o)
-x Where to put the AUX files. There can be a lot of them, so it’s wise to put them in a separate folder.
-of Numeric offset to start demuxing(offset in seconds)
-l Length to demux(length in seconds)
-k Advanced: wether or not to start from nearest keyframe when demuxing.

nsv_demuxer.exe -i “test.nsv” -d “output_av” -x “output_x” -of 10 -l 360 -k -o “test”

That will demux audo and video to the folder “output_av” and the aux to “output_x” and will start demuxing with an offset of 10 seconds, and will demux 360 seconds worth. It will also start at nearest keyframe, and then output it all to the file “test”. after running that command(presuming the file test.nsv exists) you should have two folders, with the files test_audio.(audiocodec) and test_video.(videocodeck) and x number of aux files if anny existed in the NSV file.

Be warned, not all formats will play after being demuxed, and not having a holder.
You should be able to play AACP files by renaming them to (.aac) and mp3 files should run as is. Only the h264 video format will run after being demuxed.


Tested for:
Windows and FreeBSD.

The latest version can always be found at the NSV library project page at HERE

I will later give out an Demuxer in GUI and with the ability to pack the streams into other holders, at a later time.

NSV Muxer

The NSV muxer will allow you to take video, audio and subtitle streams that you’ve allready encoded into different formats, and put them into an NSV file.

The NSV Muxer was almost completed, but had random crashes and hard to use, so it was put on hold untill the completion of the NSV library rewrite.

Tested for:
Windows – too bugged



NSV Encoder

An cross platform encoder for NSV under construction.

NSV Muxer Old



4 Responses to Project – NSV Tools

  1. Hello,

    Can your NSV Library to be use to broadcast Live TV thru a ShoutCast server in a powerful Linux dedicated server?

    Best regards,

    Jorge Machado

  2. surya2surya says:

    dude you r really doing awesome workman

  3. mysoogal says:

    GUI versions please 😀 lol doing all that on cmd gives me a headech

  4. wildex999 says:

    I have the NSV demuxer GUI finished soon, and the NSV Muxer GUI I’m starting on soon, but I have a quite heavy school year, and especially now in the exam weeks, I don’t have time to program more on NSV =/

    I will have out soon enough 😉 I now cmd can be a hassle in the length 😛

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: