View Single Post
Old 6th February 2005, 21:17   #1
ken52787
Major Dude
 
ken52787's Avatar
 
Join Date: Aug 2003
Posts: 1,297
Send a message via AIM to ken52787
NSVx - Read if you're a coder

Here is a little something I whipped up yesterday. It is an ActiveX control that you can import into a Visual Basic project or another language that supports ActiveX, that'll handle the actual streaming of the NSV files so you can concentrate on writing the actual program.

All you need to do is tell it the shoutcast address, port, password, and some details about the stream for use in the header. You can then use functions such as Connect and Disconnect and it'll handle all the gritty details with the Shoutcast server. You can then use the StreamVideo function and give it the path of the file and it'll stream the video for you. For all the commands you can use, read the readme.txt in the zip.

Features:
- Smart(er) video streaming. Rather than just send out the data at a specified rate which'll cause buffering, NSVx actually parses through the frames, so it always streams at the correct speed, even on VBR files that have a highly irratic bitrate.
- Low resource usage. Peaked at 2% on my AMD 1.83 GHz processor, staying at 0% most of the time.

The zip includes a sample Visual Basic project that'll help teach you how to use it.

DOWNLOAD HERE

NSV downloads
An in-depth step by step guide for newbies, coming soon.
ken52787 is offline   Reply With Quote