PDA

View Full Version : on-demand streaming video


chkdsk
24th June 2003, 18:02
Hi,

we set up a Shoutcast server on our FreeBSD server and we are OK playing streaming mp3s locally stored on it.

We are not able, however, to play on-demand streaming NSV videos. It is only possible to play streaming NSVs from another (windows) machine, but the NSV plays continously. We would like it to play only ONE time.

Any clues? Any help would be greatly appreciated.

Thanks in advance.

ChkDsk.

Jay
24th June 2003, 21:28
throw up a webserver and use that for on demand

chkdsk
24th June 2003, 21:35
Hi Jay, thanks for replying!

I don't know how to use a webserver for streaming. If I simply put a link to the NSV file, it would be downloaded by the user, right? I would like it to be streamed instead.

How can I do? Can I interact with the Shoutcast server?

I saw the links on Nullsoft's sample videos' section but I don't know how they work (they use pls but I don't know anything about it).

Thanks in advance

ChkDsk.

Sawg
24th June 2003, 21:38
The SHOUTcast server does not support On Demand streaming for NSV files. Put the files up on your web server. Create a .pls or .m3u playlist with the link to the file and put that in the server too. Use the playlist link to give to people.

chkdsk
24th June 2003, 21:41
Hi Sawg,

thanks for replying!

Does the .pls method imply that the NSV is streamed (not downloaded)?

This could be the solution to my problem.

Thanks in advance

ChkDsk.

Jay
24th June 2003, 22:36
winamp doesn't care what server it's on it will stream it if you put the file's url in the Open Location box, therefore using a playlist like PLS or M3U will work to stream it to the user.

chkdsk
25th June 2003, 08:56
I tried the web server solution, and it works. But users can download the nsv video and watch it offline. I would like to disable downloading, but how?

Nullsoft's sample videos are not downloadable if you choose Linkin Park videos: how is it achieved?

Thanks a lot

ChkDsk.

Sawg
25th June 2003, 09:25
They use a PHP Script (not publicly available). If you know PHP you could probally write somthing like it.

chkdsk
25th June 2003, 09:43
Thanks for replying.

Is there a way I can contact them for some advice about the PHP script?

Thanks

ChkDsk.

Jay
25th June 2003, 12:19
if you need an example of how to do it, check out www.radiotoolbox.com/mp3toolbox/

It's written for mp3's but could be modified for NSV use. Or any file type for that matter.

chkdsk
25th June 2003, 16:10
Jay, thanks for replying. I tried to use your script and it is OK for MP3s. However, if I try to stream NSV files, it starts Winamp, who starts playing nothing for 2 secs, then it stops. The script debug says
<06/25/2003 17:57:58> [mode: stream] [dest: 192.168.201.226] [user: ] CONNECT-KILL: The connection has been terminated normally {1secs}

What can I do?

Thanks in advance

ChkDsk.

Jay
27th June 2003, 14:04
Originally posted by KXRM
It's written for mp3's but could be modified for NSV use. I didn't say mp3 toolbox would work, but you can use it to get an idea on how to get the functionality of the on-demand files you have seen here on Nullsoft's site.

chkdsk
27th June 2003, 15:16
Hi Jay, I tried the mp3 toolbox knowing it wouldn't have worked, but I have no clue in adapting it to NSV videos. That's why I called you for help.

Thanks in advance

ChkDsk.

akrall
24th January 2004, 00:53
Originally posted by Sawg
The SHOUTcast server does not support On Demand streaming for NSV files. Put the files up on your web server. Create a .pls or .m3u playlist with the link to the file and put that in the server too. Use the playlist link to give to people.

Sawg.

I see that nullsfot nsv site uses a script for the pls file... like this:

http://www.nullsoft.com/nsv/samples/stream.php?fn=Adara Sings In Tahiti.nsv

What does stream.php do? and where can I find something like that?

Thx!

jackherer
24th January 2004, 00:57
The PHP script just dynamically creates a PLS file cos Nullsoft are showoffs. You can acheive the same affect by creating manual PLS files. Read the answer to your other posts. It realy works i've done it honest. :-)

Jay
24th January 2004, 01:49
Originally posted by jackherer
The PHP script just dynamically creates a PLS file cos Nullsoft are showoffs. nah pls generators are actually a good idea. easier to manage.

jackherer
24th January 2004, 01:54
Well alright true, but akrall doesn't seem like a guy who is well versed in PHP so i thought it would be easier for him to just make pls files.

akrall
24th January 2004, 02:19
Originally posted by jackherer
Well alright true, but akrall doesn't seem like a guy who is well versed in PHP so i thought it would be easier for him to just make pls files.

I do PHP :) which I think I wil end up doing since the URLs on the pls files have to have login:password cause I do .htaccess on the webserver... for memberships.. so a php that pases the commands sounds good ..