View previous topic :: View next topic |
Author |
Message |
maikon
Joined: 30 Mar 2010 Posts: 2
|
Posted: Tue Mar 30, 2010 12:47 am Post subject: how to install nsv :S |
|
|
using centos 5.4 and with awesome help from the icecast is installed
but now my goal is to let client to upload their video files to ftp and allow the files to autoconvert to nsv and play on video cast
but how is it that i can do that?
i checked this page http://www.scvi.net/nsv_linux.htm
how do ieven install http://www.scvi.net/download/download.php?nsvscsrc-linux.tar.gz :S
but i got really lost, im very novice with linux so if anyone can guide me please
Quote: |
<icecast>
<limits>
<clients>1000</clients>
<sources>20</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>--</source-password>
<relay-password>---</relay-password>
<admin-user>admin</admin-user>
<admin-password>----</admin-password>
</authentication>
<!-- Uncomment this if you want directory listings -->
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<hostname>domain.com</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
-->
<mount>
<mount-name>/music.mp3</mount-name>
<!-- Source password for this mount, maybe commented if usng global pass -->
<password>-----</password>
<max-listeners>500</max-listeners>
<burst-size>65536</burst-size>
</mount>
<mount>
<mount-name>/videos.nsv</mount-name>
<max-listeners>500</max-listeners>
<fallback-mount>/no_direct_show.nsv</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>
<fileserve>1</fileserve>
<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>/usr/share/icecast</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>/var/log/icecast</logdir>
<webroot>/usr/share/icecast/web</webroot>
<adminroot>/usr/share/icecast/admin</adminroot>
<pidfile>/var/run/icecast/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<playlistlog>playlist.log</playlistlog>
<loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>
|
|
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Mar 30, 2010 1:13 am Post subject: |
|
|
I'm assuming the source client there is a source package which will need building, probably ./configure; make; make install. It's not one of ours so I cannot say for sure, but I suspect it is a shoutcast source client so for icecast, you will need to specify the <shoutcast-mount> setting in <listen-socket>, that way the 2 ports will be defined for you.
karl. |
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Tue Mar 30, 2010 10:05 am Post subject: |
|
|
Hi,
nsv linux is a statically built binary package.
This page gives full instructions for installing it and configuring icecast, using shoutcast-mount.
Quote: |
but now my goal is to let client to upload their video files to ftp and allow the files to autoconvert |
For this part, you'll need some script using mencoder or transcode to normalize files so they fit nsv. Direct FTP upload would be somewhat cumbersome. You could use PHP or Perl script for uploading, and add a trigger calling your conversion script after upload.
Then, last part, adding newly converted files to a playlist... This implies some custom development, et least some scripts. _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
Back to top |
|
|
maikon
Joined: 30 Mar 2010 Posts: 2
|
Posted: Tue Mar 30, 2010 7:51 pm Post subject: |
|
|
jcr helped me alot, when the instruction on that scvi didnt give me the correct installation tutorial jcr helped me how..
i coudlnt get this installed if it wasnt for his expertees |
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Tue Mar 30, 2010 7:54 pm Post subject: |
|
|
Thanks, kind of you. I know scvi documentation is crappy. But not so difficult _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
Back to top |
|
|
logodesignlondon
Joined: 06 Apr 2010 Posts: 1 Location: London
|
Posted: Mon May 10, 2010 11:11 am Post subject: |
|
|
thanks for posting this .. _________________ <a href="http://www.newlogodesignlondon.co.uk">logo design London</a> |
|
Back to top |
|
|
|