Old 18th August 2002, 05:26   #1
Keyare
Junior Member
 
Join Date: Aug 2002
Location: under the porch
Posts: 11
SHOUTcast Stream NSV's?

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??
Keyare is offline   Reply With Quote
Old 20th August 2002, 18:54   #2
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
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.:


code:

[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
justin is offline   Reply With Quote
Old 4th October 2002, 19:11   #3
Keyare
Junior Member
 
Join Date: Aug 2002
Location: under the porch
Posts: 11
Thanks!

That works awesome!
Keyare is offline   Reply With Quote
Old 15th October 2002, 01:58   #4
Silly22
Junior Member
 
Join Date: Feb 2002
Location: Edmonton, Canada
Posts: 16
An article about Real Player, AOL, and .nsv (nullsoft streaming video). Interesting...

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

Quote:
"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/ma...html?ref=bonus
Silly22 is offline   Reply With Quote
Old 8th November 2002, 00:54   #5
robcamp
Junior Member
 
Join Date: Nov 2002
Posts: 2
Quote:
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
robcamp is offline   Reply With Quote
Old 8th November 2002, 02:01   #6
Keyare
Junior Member
 
Join Date: Aug 2002
Location: under the porch
Posts: 11
It doesn't seem to..
Keyare is offline   Reply With Quote
Old 8th November 2002, 06:21   #7
Sawg
Guest
 
Posts: n/a
The browser downloads the PLS. Winamp3 downloads the NSV file. Winamp3 doesn't cache.
  Reply With Quote
Old 8th November 2002, 17:35   #8
robcamp
Junior Member
 
Join Date: Nov 2002
Posts: 2
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
robcamp is offline   Reply With Quote
Old 8th November 2002, 18:05   #9
Keyare
Junior Member
 
Join Date: Aug 2002
Location: under the porch
Posts: 11
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 is offline   Reply With Quote
Old 8th November 2002, 18:41   #10
Keyare
Junior Member
 
Join Date: Aug 2002
Location: under the porch
Posts: 11
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="javascriptlay_video1();" onmouseover="status='The VIDEO'; return true;" onmouseout="status='';">Watch the Video</a><br>

<a href="javascriptlay_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?
Keyare is offline   Reply With Quote
Old 13th December 2002, 21:46   #11
Bean-Net-Ken
Senior Member
 
Join Date: Sep 2002
Location: PA,USA
Posts: 137
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!
Bean-Net-Ken is offline   Reply With Quote
Old 13th December 2002, 21:51   #12
Sawg
Guest
 
Posts: n/a
All above is for pre-made NSV files. You want to do live? That's different. Not too hard, but different. 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
  Reply With Quote
Old 13th December 2002, 21:57   #13
PhatTommy39
Member
 
Join Date: Aug 2002
Location: www.commorragh.org
Posts: 86
Send a message via ICQ to PhatTommy39 Send a message via AIM to PhatTommy39 Send a message via Yahoo to PhatTommy39
Stuff

Hey wait a minute!

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

How is it possible to stream NSV using SHOUTcast Server?
PhatTommy39 is offline   Reply With Quote
Old 13th December 2002, 22:00   #14
Sawg
Guest
 
Posts: n/a
NSVenc in NSVtools supports connecting to the SHOUTcast server (1.9.2 and above).
  Reply With Quote
Old 13th December 2002, 22:25   #15
PhatTommy39
Member
 
Join Date: Aug 2002
Location: www.commorragh.org
Posts: 86
Send a message via ICQ to PhatTommy39 Send a message via AIM to PhatTommy39 Send a message via Yahoo to PhatTommy39
NSVenc?

Quote:
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.
PhatTommy39 is offline   Reply With Quote
Old 13th December 2002, 22:31   #16
Sawg
Guest
 
Posts: n/a
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.
  Reply With Quote
Old 13th December 2002, 22:34   #17
PhatTommy39
Member
 
Join Date: Aug 2002
Location: www.commorragh.org
Posts: 86
Send a message via ICQ to PhatTommy39 Send a message via AIM to PhatTommy39 Send a message via Yahoo to PhatTommy39
What are the commands?
PhatTommy39 is offline   Reply With Quote
Old 13th December 2002, 22:39   #18
Sawg
Guest
 
Posts: n/a
type nsvenc and it will print out the help.

[edit]
code:

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>

  Reply With Quote
Old 13th December 2002, 22:47   #19
PhatTommy39
Member
 
Join Date: Aug 2002
Location: www.commorragh.org
Posts: 86
Send a message via ICQ to PhatTommy39 Send a message via AIM to PhatTommy39 Send a message via Yahoo to PhatTommy39
dude how do u change the directory in Win2000 Command Prompt?

NEVER MIND
PhatTommy39 is offline   Reply With Quote
Old 13th December 2002, 22:54   #20
Sawg
Guest
 
Posts: n/a
code:

cd \
cd "Program Files"
cd NSVenc



Just got there in the tutorial. Cool

http://www.public.asu.edu/~abarber2/wa/NSV/dir.png
  Reply With Quote
Old 13th December 2002, 23:03   #21
Bean-Net-Ken
Senior Member
 
Join Date: Sep 2002
Location: PA,USA
Posts: 137
Is there A way I contact you threw live chat AIM/ICQ Ect
Bean-Net-Ken is offline   Reply With Quote
Old 13th December 2002, 23:05   #22
PhatTommy39
Member
 
Join Date: Aug 2002
Location: www.commorragh.org
Posts: 86
Send a message via ICQ to PhatTommy39 Send a message via AIM to PhatTommy39 Send a message via Yahoo to PhatTommy39
AIM: PhatTommy39
PhatTommy39 is offline   Reply With Quote
Old 14th December 2002, 01:34   #23
Bean-Net-Ken
Senior Member
 
Join Date: Sep 2002
Location: PA,USA
Posts: 137
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?
Bean-Net-Ken 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