PDA

View Full Version : NSVscsrc equiv for linux


cowboy219
13th July 2003, 07:13
is there an nsvscsrc.exe equivalent for linux? I checked the nsv download site but couldnt find brodcasting tools for linux. I did find sourcing tools for linux for regular mp3 audio from shoutcast.com. Would those tools work? if so, what kind of settings/bitrates do i need to broadcast the .nsv video files to the SHOUTcast server?

Thanks in advance,
cowboy

Sawg
13th July 2003, 07:18
Nothing for NSV exists for Linux yet. (Though if you could code and knew what you were doing I doubt it is that complex of a program).

But the MP3 tools (sc_trans_posix) is just for MP3 streams and not NSV.

You might be able to use nsvscsrc and nsvenc with Wine, though.

For NSV steaming the standard SC server settings are fine and you need enough bandwidth for the video and the users, just like Mp3 streaming.

cowboy219
13th July 2003, 07:27
Thanks sawg,
I can code a data forwarder if thats all nsvscsrc does. Im testing video streaming on planet-lab.org and Wine is not installed. Do you know where I could find documentation on the protocol used to send data from the source to the shoutcast server? If its the same as the one used by the clients then I can simply use code that I wrote for the clients.

Thanks,
cowboy

Sawg
13th July 2003, 07:56
NSV isn't really documented yet.
SHOUTcast Standard (http://forums.radiotoolbox.com/viewtopic.php?t=74) for MP3 at least.

headers are the same except for the addition of the content-type header.

But I am not sure how NSVscsrc works. If it does extra stuff or just sends out the NSV files chained together.

Jay
13th July 2003, 10:16
from what I have seen all nsvscsrc does is

connect to a shoutcast server
send headers
send \r\n\r\n
pic a NSV file from the directory
strip it's headers (they are not needed for streaming)
pass the data at the proper data rate or bitrate
pic another NSV file from the directory
strip it's headers.... and so on and so on.

I wrote a script that pretty much does this but cannot find enough on bitrate attributes to actually extract and choke the data rate properly.

sankt
13th July 2003, 11:20
http://www.pcisys.net/~melanson/codecs/nsv-format.txt

Description of the Nullsoft Video (NSV) Format
by Mike Melanson

This is a technical paper describing NSV, might be of use.

Zonaxx
17th July 2003, 01:39
Originally posted by Sawg
You might be able to use nsvscsrc and nsvenc with Wine, though.

I've installed the wine RPM for RedHat 7.3 on my rackshack system.

Upon attempting to run the exe (just to see if it would output anything) I got the following:
root@server [/path/to/shoutcast]# wine nsvscsrc.exe
Could not stat /mnt/floppy (No such file or directory), ignoring drive A:
x11drv: Can't open display:
root@server [/path/to/shoutcast]#

I could care less about the floppy drive mounting, there is no floppy drive =), and none is required.

I know that x11drv is some sort of graphics driver. (obviously, right?)

I'm doing this all at the command prompt, knowing that wine is built for an X Windows environment, but hey, this was a CPanel installable RPM and I know others have used it for command line applications.

I tried this just for good measure:
root@server [/path/to/shoutcast]# wine -- nsvscsrc.exe -winver win31 -dosver 6.22
Could not stat /mnt/floppy (No such file or directory), ignoring drive A:
x11drv: Can't open display:
root@server [/path/to/shoutcast]#

Does anyone know if there is a way to disable the display driver and just have all output sent to the SSH screen?

Thanks,
Zonaxx

PS: If anyone thinks I should move this to a separate thread please say so... I don't want to pirate this one.

acmewar
17th July 2003, 08:46
did you pick up the latest version of wine ?

cause they're doing well now with a setup interface, it's quick and easy =)

you should test it ;)

AcmeWar