ОсновноеRadiotalkПользовательское
Технологии вещания, софт, скрипты
7   •   Посмотреть все темы

SHOUTcast

 

4
6aToH @6aToH
не как не могу настроеть sc_trans под win32 и мануалов не нашел :( :o

0
2605
Александр @AlexIT
Он не для винды.

0
1
RustB @RustB
доброй ночи. следующая проблема. когда запускаю во фрибсд 7.0
sc_trans_freebsd sc_trans.conf
пишет sc_trans_freebsd command not found..
библиотеки совместимости compat4x поставлены.

0
1400
Pheoru @Pheoru
Это истерика, товарищ. )))
./sc_trans_freebsd sc_trans.conf
:))

0
4
Bop @Bop
Edit SHOUTcast DNAS configuration

Как правильно настроить конфиг что бы он выводить статистику на других сайтах?
и
Как настроить нон-стоп?

Добавлено спустя 2 минуты 33 секунды:
Что бы он брал с иного адреса ********** нон-стоп

0
332
Игорь @JamStyle
Первый вопрос не совсем понял, а насчет второго, так это зависит от Вашей оси...Если Линуха стоит то ices, если ХеПешка, то ставишь БРОДкастер и просто напросто вещаешь:) Говорю лишь по своему опыту:) Возможно кто-то еще круче задвинет ;)

0
4
Bop @Bop
статистика пошит где он стоит этот шаут делаем на другой саит не работает че делать не пойму вот конфиг и немогу разобратся как поставить нон стоп

  1. ; SHOUTcast Distributed Network Audio Server configuration file
  2. ; Copyright (C) 1998-2004 Nullsoft, Inc.
  3. ; All Rights Reserved.
  4. ; Last modified Mar 17 2004
  5. ; If you want to manage multiple configurations, just copy
  6. ; this file to another name, and run sc_serv with that name
  7. ; such as:
  8. ; sc_serv.exe sc_leet.conf
  9. ; ***************************
  10. ; Required stuff
  11. ; ***************************
  12. ; MaxUser. The maximum number of simultaneous listeners allowed.
  13. ; Compute a reasonable value for your available upstream bandwidth (i.e. if
  14. ; you have 256kbps upload DSL, and want to broadcast at 24kbps, you would
  15. ; choose 256kbps/24kbps=10 maximum listeners.) Setting this value higher
  16. ; only wastes RAM and screws up your broadcast when more people connect
  17. ; than you can support.
  18. MaxUser=32
  19. ; Password. While SHOUTcast never asks a listener for a password, a
  20. ; password is required to broadcast through the server, and to perform
  21. ; administration via the web interface to this server. This server should
  22. ; consist of only letters and numbers, and is the same server your broadcaster
  23. ; will need to enter in the SHOUTcast Source Plug-in for Winamp. THIS VALUE
  24. ; CANNOT BE BLANK.
  25. Password=changeme
  26. ; PortBase. This is the IP port number your server will run on. The
  27. ; value, and the value + 1 must be available. If you get a fatal error when
  28. ; the DNAS is setting up a socket on startup, make sure nothing else on the
  29. ; machine is running on the same port (telnet localhost portnumber -- if you
  30. ; get connection refused then you're clear to use that port). Ports < 1024
  31. ; may require root privledges on *nix machines. The default port is 8000.
  32. PortBase=8000
  33. ; ***************************
  34. ; Optional Parameters
  35. ; ***************************
  36. ; ***************************
  37. ; Logging configuration
  38. ; ***************************
  39. ; LogFile: file to use for logging. Can be '/dev/null' or 'none'
  40. ; or empty to turn off logging. The default is ./sc_serv.log
  41. ; on *nix systems or sc_serv_dir\sc_serv.log on win32.
  42. ; Note: on win32 systems if no path is specified the location is
  43. ; in the same dir as the executable, on *nix systems it is in the
  44. ; current directory.
  45. LogFile=sc_serv.log
  46. ; RealTime displays a status line that is updated every second
  47. ; with the latest information on the current stream (*nix and win32
  48. ; console systems only)
  49. RealTime=1
  50. ; ScreenLog controls whether logging is printed to the screen or not
  51. ; on *nix and win32 console systems. It is useful to disable this when
  52. ; running servers in background without their own terminals. Default is 1
  53. ScreenLog=1
  54. ; ShowLastSongs specifies how many songs to list in the /played.html
  55. ; page. The default is 10. Acceptable entries are 1 to 20.
  56. ShowLastSongs=10
  57. ; TchLog decides whether or not the DNAS logfile should track yp
  58. ; directory touches. Adds and removes still appear regardless of
  59. ; this setting.
  60. ; Default is yes
  61. ; TchLog=yes
  62. ; WebLog decides whether or not hits to http:// on this DNAS will
  63. ; be logged. Most people leave this off because the DSP plug-in
  64. ; uses http:// calls to update titles and get the listener count,
  65. ; which takes up a lot of log space eventually. If you want to
  66. ; see people making hits on your admin.cgi or index pages, turn
  67. ; this back on. Note that this setting does NOT affect XML stats
  68. ; counters for hits to http:// pages.
  69. ; Default is no.
  70. ; WebLog=no
  71. ; W3CEnable turns on W3C Logging. W3C logs contain httpd-like accounts
  72. ; of every track played for every listener, including byte counts those listeners
  73. ; took. This data can be parsed with tools like Analog and WebTrends, or given
  74. ; to third parties like Arbitron and Measurecast for their reporting systems.
  75. ; Default is Yes (enabled).
  76. W3CEnable=Yes
  77. ; W3CLog describes the name of the logfile for W3C logging. Default logfile is
  78. ; sc_w3c.log, in the same directory wherever the DNAS gets started from.
  79. W3CLog=sc_w3c.log
  80. ; ***************************
  81. ; Network configuration
  82. ; ***************************
  83. ; SrcIP, the interface to listen for source connections on (or to make relay
  84. ; connections on if relaying). Can and usually will be ANY or 127.0.0.1
  85. ; (Making it 127.0.0.1 will keep other machines from being able to
  86. ; broadcast using your shoutcast server )
  87. SrcIP=ANY
  88. ; DestIP, IP to listen for clients on (and to contact yp.shoutcast.com)
  89. ; can and usually will be be ANY. If your machine has multiple IP addresses,
  90. ; set this to the one you want it to be accessed by.
  91. DestIP=ANY
  92. ; Yport, port to connect to yp.shoutcast.com on. For people behind caching
  93. ; webproxies, change this to the alternate port (666 is what it might be,
  94. ; check www.shoutcast.com if you have problems). Otherwise, leave this at 80.
  95. ; We're actively working on re-opening port 666, but as of release the only
  96. ; working port is port 80.
  97. Yport=80
  98. ; NameLookups. Specify 1 to perform reverse DNS on connections.
  99. ; This option may increase the time it takes to connect to your
  100. ; server if your DNS server is slow. Default is 0 (off).
  101. NameLookups=0
  102. ; RelayPort and RelayServer specify that you want to be a relay server.
  103. ; Relay servers act as clients to another server, and rebroadcast.
  104. ; Set RelayPort to 0, RelayServer to empty, or just leave these commented
  105. ; out to disable relay mode.
  106. ; RelayPort=8000
  107. ; RelayServer=192.168.1.58
  108. ; ***************************
  109. ; Server configuration
  110. ; ***************************
  111. ; AdminPassword. This password (if specified) changes the
  112. ; behavior of Password to be a broadcast-only password, and
  113. ; limits HTTP administration tasks to the password specified
  114. ; here. The broadcaster, with the password above, can still
  115. ; log in and view connected users, but only the AdminPassword
  116. ; will grant the right to kick, ban, and specify reserve hosts.
  117. ; The default is undefined (Password allows control for both
  118. ; source and admin)
  119. AdminPassword=adminpass
  120. ; AutoDumpUsers controls whether listeners are disconnected if the source
  121. ; stream disconnects. The default is 0.
  122. AutoDumpUsers=0
  123. ; AutoDumpSourceTime specifies how long, in seconds, the source stream is
  124. ; allowed to be idle before the server disconnects it. 0 will let the source
  125. ; stream idle indefinately before disconnecting. The default is 30.
  126. AutoDumpSourceTime=30
  127. ; ContentDir specifies the directory location on disk of where to stream
  128. ; on-demand content from. Subdirectories are supported as of DNAS 1.8.2.
  129. ; Default is ./content, meaning a directory named content in the same directory
  130. ; as where sc_serv was invoked from.
  131. ; ContentDir=./content
  132. ; IntroFile can specify a mp3 file that will be streamed to listeners right
  133. ; when they connect before they hear the live stream.
  134. ; Note that the intro file MUST be the same samplerate/channels as the
  135. ; live stream in order for this to work properly. Although bitrate CAN
  136. ; vary, you can use '%d' to specify the bitrate in the filename
  137. ; (i.e. C:\intro%d.mp3 would be C:\intro64.mp3 if you are casting at 64kbps).
  138. ; The default is no IntroFile
  139. ; IntroFile=c:\intro%d.mp3
  140. ; BackupFile can specify a mp3 file that will be streamed to listeners over
  141. ; and over again when the source stream disconnects. AutoDumpUsers must be
  142. ; 0 to use this feature. When the source stream reconnects, the listeners
  143. ; are rejoined into the live broadcast.
  144. ; Note that the backup file MUST be the same samplerate/channels as the
  145. ; live stream in order for this to work properly. Although bitrate CAN
  146. ; vary, you can use '%d' to specify the bitrate in the filename
  147. ; (i.e. C:\backup%d.mp3 would be C:\backup32.mp3 if you are casting at 32kbps).
  148. ; The default is no BackupFile
  149. ; BackupFile=C:\intro%d.mp3
  150. ; TitleFormat specifies a format string for what title is sent to the listener.
  151. ; For example, a string of 'Justin Radio' forces the title 'Justin Radio' even
  152. ; when the source changes the title. You can use up to one '%s' in the string
  153. ; which lets you contain the title from the source. For example, if your
  154. ; TitleFormat is 'Justin Radio: %s', and the source plug-in's title is
  155. ; 'Billy plays the blues', then the net title is
  156. ; 'Justin Radio: Billy plays the blues'. Note: only works on non-relay servers.
  157. ; The default is no format string.
  158. ; TitleFormat=Justin Radio: %s
  159. ; URLFormat specifies a format string for what url is sent to the listener.
  160. ; Behaves like TitleFormat (see above).
  161. ; The default is no format string.
  162. ; URLFormat=http://www.server.com/redirect.cgi?url=%s
  163. ; PublicServer can be always, never, or default (the default, heh)
  164. ; Any setting other than default will override the public status
  165. ; of the source plug-in or of a SHOUTcast server that is being relayed.
  166. PublicServer=default
  167. ; AllowRelay determines whether or not other SHOUTcast servers will be
  168. ; permitted to relay this server. The default is Yes.
  169. AllowRelay=Yes
  170. ; AllowPublicRelay, when set to No, will tell any relaying servers not
  171. ; to list the server in the SHOUTcast directory (non-public), provided
  172. ; the relaying server's Public flag is set to default. The default is
  173. ; Yes.
  174. AllowPublicRelay=Yes
  175. ; MetaInterval specifies how often, in bytes, metadata sent.
  176. ; You should really leave this at the default of 8192, but the option is
  177. ; provided anyway.
  178. MetaInterval=8192
  179. ; *****************************
  180. ; Access Control
  181. ; *****************************
  182. ; ListenerTimer is a value in minutes of maximum permitted time for
  183. ; a connected listener. If someone is connected for longer than this
  184. ; amount of time, in minutes, they are disconnected. When undefined,
  185. ; there is no limit defined. Default is undefined.
  186. ; ListenerTimer=600
  187. ; BanFile is the text file sc_serv reads and writes to/from
  188. ; for the list of clients prohibited to connect to this
  189. ; server. It's automatically generated via the web
  190. ; interface.
  191. ; BanFile=sc_serv.ban
  192. ; RipFile is the text file sc_serv reads and writes to/from
  193. ; for the list of client IPs which are *ALWAYS* permitted
  194. ; to connect to this server (useful for relay servers).
  195. ; This file is automatically generated via the web
  196. ; interface. Note that if your server is FULL, and someone
  197. ; from a Reserved IP connects, the DNAS will force the person
  198. ; listening for the longest time off to make room for the new
  199. ; connection.
  200. ; RipFile=sc_serv.rip
  201. ; RIPOnly, when set to Yes, will only allow IP addresses listed in the Reserved
  202. ; IP list to connect and relay. All other connections for listening will be denied.
  203. ; This is really only useful for servers whose sole purpose is to provide the
  204. ; primary feed to all public relays. Setting this value to Yes also forces the
  205. ; server into Private mode, since listing this server in the directory would
  206. ; be pointless. Default is No.
  207. ; RIPOnly=No
  208. ; *****************************
  209. ; Extended Logging
  210. ; *****************************
  211. ; The old features previously at this location, HistoryLog and CurrentLog, are
  212. ; no longer used and succeded by W3C Logging and XML, respectively.
  213. ; ***************************
  214. ; Mass Configuration
  215. ; ***************************
  216. ; Unique: assigns a variable name for use in any config item which points to a
  217. ; file. Useful for servers running lots of SHOUTcast servers that have similar
  218. ; configuration parameters, excepting logfile names, banfile names, etc. Any
  219. ; parameter that takes a pathname can include the character $, which will
  220. ; substitute $ for the variable assigned here. Keep in mind that the unique
  221. ; variable can only be used after it is defined, so don't try to use a unique
  222. ; variable substitution in a path before you define it. For example, you
  223. ; could set:
  224. ; Unique=my_server
  225. ; and then define Log=/usr/local/shoutcast/$.log in an included configuration
  226. ; file. Default is Unique=$, so that by default any file with $ in the name
  227. ; won't substitute anything at all.
  228. ; Include: instructs the sc_serv to read from the named configuration file,
  229. ; *at the point of insertion of the Include statement*, and process as though
  230. ; the included file was part of itself. Note that all configuration parameters
  231. ; in the DNAS config file are processed first to last, so if an item is defined
  232. ; twice in a configuration, the last item to process will be the one that takes
  233. ; effect. For this reason, it's usually a good idea to use the Includes first
  234. ; in a config file.
  235. ; example:
  236. ; Include=/usr/local/shoutcast/common.conf
  237. ; Default is not applicable.
  238. ; *****************************
  239. ; Tweaks
  240. ; *****************************
  241. ;
  242. ; DON'T MESS WITH THIS STUFF UNLESS YOU REALLY KNOW WHAT YOU'RE DOING.
  243. ; DON'T COMPLAIN TO US IF YOU MESS WITH IT AND THINGS BREAK.
  244. ; HAVE A NICE DAY.
  245. ; CpuCount is used to explicitly limit the DNAS to dominating a finite
  246. ; amount of processors in multiprocessor systems. By default,
  247. ; SHOUTcast creates one thread for every processor it detects in the
  248. ; host system, and assigns listeners equally across all the threads.
  249. ; In the event SHOUTcast doesn't correctly determine the number of
  250. ; CPUs in your host, or if you for whatever reason want to force
  251. ; the DNAS to not use other processors, you can say so here.
  252. ; Default behavior is to use as many processors as the DNAS detects on
  253. ; your system.
  254. ; CpuCount=1
  255. ; Sleep defines the granularity of the client threads for sending data.
  256. ; DNAS 1.7.0, per client thread, will send up to 1,024 bytes of data
  257. ; per socket (or less depending on the window available), and then
  258. ; sleep for the provided duration before repeating the whole process.
  259. ; Note that making this value smaller will vastly increase CPU usage on
  260. ; your machine. Increasing reduces CPU, but increasing this value too far
  261. ; will cause skips. The value which seems most optimal for 128kbps
  262. ; streaming is 833 (833 microseconds per client poll) on our test labs.
  263. ; We wouldn't recommend setting it any lower than 100, or any higher than
  264. ; 1,024. If you have a slower machine, set this number lower to fix
  265. ; skips.
  266. ; Default value is 833.
  267. ; Sleep=833
  268. ; CleanXML strips some whitespace and linefeeds from XML output which
  269. ; confuses some (poorly written) XML parsers. If you get XML rendering errors,
  270. ; try turning this on. Default is No (off).
  271. ; CleanXML=No
  272. ;
  273. ; TAG RULES


Добавлено спустя 3 минуты 12 секунд:
а да и как сделать что бы с одного копа выдавала на все саиты статистику каму я поставлю он не выдает он только выдает на том же сервер где он стоит и все почему не пойму помогите пожалуйста

0
2605
Александр @AlexIT
С конфигом всё впорядке, какая у Вас проблема я так и не понял. Научитесь излагать свои мысли в более понятной форме.

0
4
Bop @Bop
Извините я немогу настроить нон стоп и вывести статистика. 1 работает на моем компе статистика ставлю SHOUTcast Stats Script 2.1 все работает. 2 не работает когда я ставлю на сайт другому чтобы там показывала кто ща и какая играет песня он не показывает скрипт ставлю этот SHOUTcast Stats Script 2.1 не работает. у меня стоит SHOUTcast DNAS и как поставить нон стоп что бы играла с этого радио ********** . заранее спасибо

0
2605
Александр @AlexIT
Шоуткаст не может ретранслировать айскаст потоки, коим является поток по предложенной Вами ссылке.
Статистика если на другом сайте не работает, то там скорее всего поддержки PHP нету, а если есть - выкладывайте хотя бы то что выдает вам скрипт, какие ошибки... Мы не телепаты...

0
4
Bop @Bop
AlexIT пишет:

Шоуткаст не может ретранслировать айскаст потоки, коим является поток по предложенной Вами ссылке.
Статистика если на другом сайте не работает, то там скорее всего поддержки PHP нету, а если есть - выкладывайте хотя бы то что выдает вам скрипт, какие ошибки... Мы не телепаты...

ошибок нет и не чего не показывает вот в чем дела говорит что радио онлаин но кто щас ведет и какая играет нету пусто все помогите настроить конфиг. что бы было все чики чики. заранее благодарен.

Добавлено спустя 2 минуты 1 секунду:
********** это я просто хочу что бы бал нон стоп от него и все статистику мне пофик мне на да от этого потока сделать нон стоп и все.

0
1
djslav @djslav
я создал радио shout cast, а почему то она кроме моей сети больше нигде не играет?

0
1400
Pheoru @Pheoru
Вероятно из-за отсутствия внешнего айпи, также есть варианты с NAT и блокировкой на уровне провайдера.

0
1
logon @logon
Всем доброго времени суток!!!
Я бы хотел узнать как вешать не только в винампе но и в wmp и есле можно в отдельном окне с плеером в браузере.
Извини если не по теме!!!

0
1400
Pheoru @Pheoru
В вмп вещать нельзя.

0
1
darksol @darksol
Возможна ли трансляция из-под роутера?
Дело в том что роутер во внешний мир выдаёт "локальный" адрес. Если ввести этот адрес в shoutcast плагин то он соединяется с сервером, всё ок. НО ясное дело что дальше локальной сети роутера не будет видно из интернета.
В свою очередь если ввести правильный, внешний адрес в shoutcast plugin то он просто не соединяется (видно сервер не воспринимает этот адрес при рабочем роутере...).
Есть какие либо варианты?

0
66
rost-angeles @rost-angeles
Здраствуйте))
Помогите пожалуйсто
Shotcast Выдаёт в окне самого Shotcast вот такую строчку что это значит?
<04/09/09@14:20:55> [dest: 93.178.71.234] starting stream (UID: 4)[L: 1]{A: WinampMPEG/5.55, Ultravox/2.1}(P: 0)
<04/09/09@14:25:36> [dest: 93.178.71.234] connection closed (281 seconds) (UID: 4)[L: 0]{Bytes: 3702784}(P: 0)

0
2
ramzes @ramzes
Привет всем! Вопрос такой:
Сейчас почемуто в браузере ОПЕРА не открывает адрес: ********** -- раньше открывало
Я уже не говорю про **********
В ИЕ все открывает нормально....

0
2605
Александр @AlexIT
darksol возможна, если рутер настроите нормально.

rost-angeles это значит что слушатель подключился в 14:20, послушал радио пять минут и отключился в 14:25

ramzes что то не так у вас с оперой, и вообще ссылки такого вида нужно открывать аудио-плеерами а не браузерами.

0
66
rost-angeles @rost-angeles
AlexIT
Спасибо большое)))

Но у меня появиласб новая проблема выдаёт вот такое
Event log:
<04/14/09@15:14:06> [SHOUTcast] DNAS/win32 v1.9.2 (Nov 25 2002) starting up...
<04/14/09@15:14:06> [main] loaded config from G:\Program Files\SHOUTcast\sc_serv.ini
<04/14/09@15:14:06> [main] initializing (usermax:50 portbase:8000)...
<04/14/09@15:14:06> [main] No ban file found (sc_serv.ban)
<04/14/09@15:14:06> [main] No rip file found (sc_serv.rip)
<04/14/09@15:14:06> [main] opening source socket
<04/14/09@15:14:06> [main] error opening source socket! FATAL ERROR! Some other process is using this port!

0