PDA

View Full Version : SHOUTcast Stream NSV's?


Keyare
18th August 2002, 04:26
Can it?
Will it?

Could it?
Should it?

I just Compressed a video to WAY less than a quarter of it's original size with NSV, but if I post it on a site, it still downloads it. How are you serving them so they stream??

justin
20th August 2002, 17:54
To stream a NSV via HTTP and not have it download, make a .pls file that will download to the machine and Winamp3 will open to stream. i.e.:



[playlist]
numberofentries=1
File1=http://my.server.com/file.nsv


make it have the extenion .pls, and make sure your mime type is audio/x-scpls

One further note.. streaming live NSV through shoutcast servers is possible, and we'll hopefully release to accomplish it soon.

-Justin

Keyare
4th October 2002, 18:11
Thanks!

That works awesome!

Silly22
15th October 2002, 00:58
An article about Real Player, AOL, and .nsv (nullsoft streaming video). Interesting...

Article lacks mention of Winamp as a big player in music playback.

"To combat the Real threat, FORTUNE has learned, AOL has been quietly developing its own music player using a set of audio and video standards called Ultravox and .nsv, developed by Nullsoft and others. (Nullsoft, founded by wunderkind and WinAmp creator Justin Frankel, was snapped up by AOL in 1999.) What AOL plans to do with all this is still unclear; neither AOL nor Real would comment."


Quoted from http://www.business2.com/articles/mag/0,1640,41617,00.html?ref=bonus

robcamp
7th November 2002, 23:54
Originally posted by justin
[B]To stream a NSV via HTTP and not have it download, make a .pls file that will download to the machine and Winamp3 will open to stream. i.e.:



If it is an HTTP stream, wouldn't it leave a cache version of the video on the client machine?

- Rob

Keyare
8th November 2002, 01:01
It doesn't seem to..

Sawg
8th November 2002, 05:21
The browser downloads the PLS. Winamp3 downloads the NSV file. Winamp3 doesn't cache.

robcamp
8th November 2002, 16:35
I'm trying to figure out a way to protect the videos from being downloaded.

If it caches the .pls file, then you leave a hole open to the location of the files on your webserver.

Is there a way to encript or hide the information in the .pls file?

Thanks

- Rob

Keyare
8th November 2002, 17:05
Try a .js script

Put the links as variables on your page but the actual locations in a .js script and protect that from being world readable.

Keyare
8th November 2002, 17:41
Crap - your' right. That doesn't work either it still caches the .pls

This is what I use on my site:

Here's the index.html
-----------------------------------------------
<html><head><title>Video</title>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="video.js" TYPE='text/javascript'></SCRIPT>
</head>

<body>
<a href="javascript:play_video1();" onmouseover="status='The VIDEO'; return true;" onmouseout="status='';">Watch the Video</a><br>

<a href="javascript:play_video2();" onmouseover="status='The OTHER VIDEO'; return true;" onmouseout="status='';">Watch the Video</a><br>
<p><br>

Requires <a href="http://download.nullsoft.com/winamp/client/winamp3_0-full.exe">WINAMP
3</a></p></body></html>


---------------------------------------------------

Here's the video.js script:
----------------------------------------------------
function play_video1() {
popUpWin = window.open('video1.pls');
}
function play_video2() {
popUpWin = window.open('video2.pls");
}
-------------------------------------------------------------------

BUT it still caches the .pls file

Any ideas?

Bean-Net-Ken
13th December 2002, 20:46
Im not understanding this, can You please exsplain more? What do I have to do to make this work, can I send video VIA threw Winamp to server and broadcast?

Thanks!

Sawg
13th December 2002, 20:51
All above is for pre-made NSV files. You want to do live? That's different. Not too hard, but different. :D Live is capturing from an input plug into your system and encoding and streaming.

Kind of long instructions, if you want them it will take a bit for me to make them easy to read :D

PhatTommy39
13th December 2002, 20:57
Hey wait a minute!

SHOUTcast is only available for Winamp 2.x!!!

How is it possible to stream NSV using SHOUTcast Server?

Sawg
13th December 2002, 21:00
NSVenc in NSVtools supports connecting to the SHOUTcast server (1.9.2 and above).

PhatTommy39
13th December 2002, 21:25
NSVenc in NSVtools supports connecting to the SHOUTcast server (1.9.2 and above).

Yeah but how would I do such a thing?

When I run NSVenc it flashes a DOS prompt and shuts down.

Sawg
13th December 2002, 21:31
It's a command line application.

Open a command prompt (Start > Run > cmd > OK or command in 9X/ME) and change to the NSVenc folder and start it there.

basic instructions are slowly coming.

PhatTommy39
13th December 2002, 21:34
What are the commands?

Sawg
13th December 2002, 21:39
type nsvenc and it will print out the help.

[edit]

C:\Program Files\NSVenc>nsvenc
NSVenc v0.54 (11/12/02) - Copyright (C) 2001-2002, Nullsoft Inc.
usage: nsvenc [/options] [input_file.ext|cap:[vd,[ad]] [out.nsv|sc:host:port:hea
ders.txt[+out.nsv]]]

/config brings up NSV output configuration (for codec selection and config)
/idle sets the process priority class to idle (useful for background encoding)

-- source settings --
/DS forces DirectShow, /QT forces Quicktime, default is autodetect
/fr=XX.XX overrides the framerate of the input. Only use this when NSVenc
gives the error "error determining framerate".

-- directshow settings --
/sr=XXXXX forces the samplerate of the directshow input (use if it picks a
less than ideal samplerate -- HACK this should go away)
/cfgcap brings up capture configuration before capture begins (dshow capture onl
y)
/ignoredrops ignores frame drops from source (dshow only)


C:\Program Files\NSVenc>

PhatTommy39
13th December 2002, 21:47
dude how do u change the directory in Win2000 Command Prompt?

NEVER MIND

Sawg
13th December 2002, 21:54
cd \
cd "Program Files"
cd NSVenc


Just got there in the tutorial. Cool :D

http://www.public.asu.edu/~abarber2/wa/NSV/dir.png

Bean-Net-Ken
13th December 2002, 22:03
Is there A way I contact you threw live chat AIM/ICQ Ect

PhatTommy39
13th December 2002, 22:05
AIM: PhatTommy39

Bean-Net-Ken
14th December 2002, 00:34
How can I make it more clean sawg, I can't seem to find somthing that makes it clear and clean, it always chops and what not, any suggestion?