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
Old 17th February 2005, 00:40   #2
ken52787
Major Dude
 
ken52787's Avatar
 
Join Date: Aug 2003
Posts: 1,297
Send a message via AIM to ken52787
NSVx has been updated to version 0.1.1

This update has two major improvements:
-First off, a huge thanks goes out to Slavas who took the time to explain how the hell those damned fractional framerates work. Because of this, I've fixed the way NSVx detects these, and now it can detect any framerate no matter what kind it is. Because of this, the StreamVideo function won't accept a framerate from you anymore since it doesn't need to. Thanks again Slavas.
-Basic title streaming. You can now pass along a Title when you call the StreamVideo function and NSVx will update the Title information on the server. In the next version, I hope to make it so that NSVx updates the title without you telling it what to say. If you don't supply a title, it'll get it out of the NSV header or use the filename if no headers are available.

Minor change:
-You now tell NSVx the listener port rather than the service port of the Shoutcast server. Nearly all NSV programs have you enter the listener port so I figured it'd be easier if thats what NSVx accepted.

DOWNLOAD HERE

NSV downloads
An in-depth step by step guide for newbies, coming soon.
ken52787 is offline   Reply With Quote
Old 22nd February 2005, 00:22   #3
slavas
Major Dude
 
Join Date: Apr 2003
Location: kaimas šalia Anykščių
Posts: 680
looked today, few suggestions if possible split Setup() into main - address,port,pass and generic icy stuff. Probably use AnsiString instead of Widestring(=unicode?)

icy headers - aim,icq,etc probably would be easier to pass as single string like "96398163\nN/A\nblah", because lot of them are optional
slavas is offline   Reply With Quote
Old 22nd February 2005, 00:59   #4
ken52787
Major Dude
 
ken52787's Avatar
 
Join Date: Aug 2003
Posts: 1,297
Send a message via AIM to ken52787
Thanks for the suggestions. I was thinking about splitting Setup() earlier, but was too lazy. Now that someone else suggested it, I'll actually do it.

As for the ICY headers, I think its best as seperate strings because VB pops up a tooltip that shows you what to enter. You don't need to fill it entirely out, leaving blanks works.

There was a bug or two that I need to fix anyway, so I'll see if I can't get another update out tomorrow.

NSV downloads
An in-depth step by step guide for newbies, coming soon.
ken52787 is offline   Reply With Quote
Old 22nd February 2005, 14:03   #5
thetron
Junior Member
 
Join Date: Dec 2004
Posts: 31
Could people stop making ActiveX stuff and start making Java applets. :Hold firefox flag high:
thetron is offline   Reply With Quote
Old 22nd February 2005, 19:09   #6
slavas
Major Dude
 
Join Date: Apr 2003
Location: kaimas šalia Anykščių
Posts: 680
thetron: it has nothing todo with browsers, it's component for developing sourcers
slavas is offline   Reply With Quote
Old 24th February 2005, 17:43   #7
thetron
Junior Member
 
Join Date: Dec 2004
Posts: 31
Still doesm't matter
thetron is offline   Reply With Quote
Old 24th February 2005, 19:53   #8
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
of course it does! When developing a win32 app it is far easier to integrate an activex object then java.

If you want a java control for your browser that plays the stream to your listeners then you are barking in the wrong thread.
Jay is offline   Reply With Quote
Old 24th February 2005, 20:37   #9
ken52787
Major Dude
 
ken52787's Avatar
 
Join Date: Aug 2003
Posts: 1,297
Send a message via AIM to ken52787
I don't think thetron understands. ActiveX in this sense has absolutely nothing to do with browsers or the internet.

If I wanted, I could change a few options have this be an EXE. However, that wouldn't do any good as you couldn't incorporate it in your programs easily. If I compiled it as an EXE rather than ActiveX, would you still suggest I make it in Java?

Anyways, I will release a new update in a few days.

NSV downloads
An in-depth step by step guide for newbies, coming soon.
ken52787 is offline   Reply With Quote
Old 26th February 2005, 16:14   #10
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
This is great!

Has anybody asked about "live encoder" compatability?

I always wanted to make a live VJ set up and this tool is killer. the live encode capability would be the icing on the cake.
Smelter is offline   Reply With Quote
Old 26th February 2005, 18:54   #11
ken52787
Major Dude
 
ken52787's Avatar
 
Join Date: Aug 2003
Posts: 1,297
Send a message via AIM to ken52787
Smelter, the next version may have something you'd like. Keep an eye out

NSV downloads
An in-depth step by step guide for newbies, coming soon.
ken52787 is offline   Reply With Quote
Old 5th March 2005, 02:04   #12
retrostation
Senior Member
 
Join Date: Oct 2003
Posts: 170
cant download now, is there an update?
Waiting anxiously.
retrostation is offline   Reply With Quote
Old 5th March 2005, 03:38   #13
ken52787
Major Dude
 
ken52787's Avatar
 
Join Date: Aug 2003
Posts: 1,297
Send a message via AIM to ken52787
Yea, I'm having some troubles with my website ATM. Here is a direct link for you: http://nsv.no-ip.com/e107_files/downloads/NSVx.zip

Haven't had time for the update, but it's coming soon.

NSV downloads
An in-depth step by step guide for newbies, coming soon.
ken52787 is offline   Reply With Quote
Old 5th March 2005, 18:51   #14
retrostation
Senior Member
 
Join Date: Oct 2003
Posts: 170
looking forward to it...
very very nice so far. If i can help, let me know.

can the features be applied to nsvgui and have the one app running?

Last edited by retrostation; 5th March 2005 at 21:13.
retrostation is offline   Reply With Quote
Old 6th July 2006, 20:12   #15
TEC_Ghost
Junior Member
 
Join Date: Jun 2006
Posts: 21
Is there any new frontier on this App with Live Streams? Im codeing a new Front end for Streaming in VB, but I thought itd be cleaner to have all the stuff done inside the program instead of just covering up the NSVenc.
TEC_Ghost is offline   Reply With Quote
Old 8th July 2006, 17:02   #16
slavas
Major Dude
 
Join Date: Apr 2003
Location: kaimas šalia Anykščių
Posts: 680
wow u fast, just learned what 0x20 is, now coding capture app...
slavas is offline   Reply With Quote
Old 29th July 2007, 15:28   #17
robertut
Junior Member
 
Join Date: Jun 2007
Posts: 32
Links are dead... any mirrors out there...?
robertut is offline   Reply With Quote
Old 12th March 2012, 09:02   #18
pumbaa2
Junior Member
 
Join Date: Mar 2012
Posts: 42
Yes, the project is no longer maintained. I've taken over maintaining it. You can obtain the latest copy of his code or download my revised and updated version at:

http://www.raylinenetworks.com/
pumbaa2 is offline   Reply With Quote
Old 30th May 2013, 10:04   #19
lincon
Junior Member
 
Join Date: May 2013
Posts: 7
of course it does! When developing a win32 app it is far easier to integrate an activex object then java.

If you want a java control for your browser that plays the stream to your listeners then you are barking in the wrong thread.
lincon is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast TV / Nullsoft Video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump