史萊姆論壇

返回   史萊姆論壇 > 教學文件資料庫 > 多媒體影音轉檔燒錄技術文件
忘記密碼?
論壇說明 標記討論區已讀

歡迎您來到『史萊姆論壇』 ^___^

您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的!

請點擊這裡:『註冊成為我們的一份子!』

Google 提供的廣告


 
 
主題工具 顯示模式
舊 2004-05-13, 07:38 PM   #1
psac
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設 用winamp架設自己的電台

1、備齊winamp軟體,還有電台的插件程序,服務端程序。


winamp需要在2.5版以上。另外兩個名字在下面:


shoutcast-1-9-2-windows.exe
shoutcast-dsp-1-8-2b-windows.exe
東西不大,兩個加起來也就476k。


2、安裝軟體
shoutcast-dsp-1-8-2b.exe是winamp電台播放的DSP插件。注意要安裝到winamp的安裝目錄下的plug-in下。


shoutcast-1-9-2-windows.exe是網路電台的網路服務端。隨意安裝吧。


3、設定說明
安裝好兩個東西,執行winamp,按ctrl-p,開啟plug-ins下的DSP-Effect,選項
Nullsoft SHOUTcast Source DSP,出現一設定對話視窗。


3.1切換到OUTPUT頁,這頁主要設定兩個東西,一個是你的電台的連接阜(預設是8000)管理密碼這裡輸入的密碼要記住哦。


再按Yellowpages按鈕輸入你的電台描述,根據你的需要可以提交到shoutcast.com上發佈等。




這裡只要設定一 個Description的,就是別人連入收聽的時候提示的台名啦。

3.2切換到Encoder頁,這頁設定編碼器的音質資訊,根據你的帶寬和準備提供連接的數量,確定電台的音質。


預設是24kbps,22.050kHz,Mono。


3.3現在可以設定伺服器端,執行SHOUTcast DNAS (GUI),在功能表中選項編輯配置功能表。


會用記事本開啟一個配置文件,找到Password=行,輸入你剛才在Nullsoft SHOUTcast Source DSP的密碼,如果你剛才改了連接阜號,你還要改PortBase=的連接阜號,對了還有個差點忘了,找到MaxUser行,這個是設定最大用戶數的。

這個根據你的帶寬設定。


儲存退出,重新啟動服務端。
好了,回到winamp,進入設定dsp,點擊output頁,點擊connect連線到服務端,你可以用winamp播放mp3,正常的話有資料傳送到服務連接阜的。
好了這個電台就可以發佈了。


收聽的時候,需要告訴別人你的ip位址和連接阜號,讓對方在winamp中按ctrl-l輸入ip:連接阜號,
4.電台管理,用瀏覽器開啟電台位址就可以,本機管理可以輸入 http://localhost:連接阜號,如http://localhost:8000,點擊admin ,login,就可以登入管理界面。


shoutcast-dsp-1-8-2b下載位址為:
http://www.shoutcast.com/download/broadcast.phtml

shoutcast最新版下載位址為:
http://www.shoutcast.com/download/serve.phtml
http://www.onlinedown.net/shoutcast.htm


===========================================================================================
使用SHOUTcast來架設電台

  對於Winamp可能大家一定很熟悉了,它是Nullsoft公司推出的一個很不錯的免費的英特網音瀕播放軟體,可以播放MP3、WMA、CDA等大部分格式的音樂。我們將使用Winamp來進行廣播內容的存儲、組織和播放。

SHOUTcast Server則是Nullsoft公司推出的關於Winamp的音瀕流廣播伺服器軟體,採用了MPEG Layer 3(MP3)技術,實現了英特網上的音瀕流的既時廣播或者點播,而且它是完全免費的。

  我們先來看一看SHOUTcast系統的工作原理。整個系統由三個部分組成:

  (1)收聽:聽眾可以使用任何一個相容MP3音瀕流的多媒體播放軟體來收聽節目。

使用者可以通過訪問SHOUTcast的目錄來定位和選項收聽的頻道(音瀕流)。

推薦的播放器軟體:
Winamp(Windows用戶)、Audion(Mac用戶)、X MMS(Linux/X Windows用戶)。

  (2)廣播:如果你想進行廣播,必須首先執行自己的伺服器或者找一個可以使用的SHOUTcast伺服器。


有了一個伺服器以後,就可以使用Winamp(需要安裝一個插件-SHOUTcast Source)來傳送音瀕資訊給伺服器,再由伺服器向收聽者進行廣播了。

  (3)SHOUTcast伺服器:SHOUTcast Server(SHOUTcast分佈式網路音瀕伺服器-DNAS)是整個系統的核心。


這個軟體執行在一台連接在英特網上的電腦上,負責從廣播源那裡接收音瀕資訊,更新SHOUTcast目錄的資訊(廣播源目前播放的內容),向收聽者進行廣播。

  這其實就分別對應著前面所說的英特網電台的三個部分。


而且我們可以看到,系統的工作原理很像現實中的電台:電台要進行播音(廣播源),先得把資訊發到廣播電視塔(SHOUTcast伺服器),再由廣播電視塔向廣大聽眾廣播。

  安裝和設定SHOUTcast Server

  在SHOUTcast的主http://www.shoutcast.com上可以下載到最新版本的Nullsoft SHOUTcast Server軟體。SHOUTcast Server可以執行在多個流行的操作系統平台上:Windows 9x、Windows NT、FreeBSD等等。


SHOUTcast Server自動接收廣播源傳送來的音瀕資訊,更新SHOUTcast目錄,然後向收聽者廣播。


我這裡以Windows平台為例來說明SHOUTcast的安裝和設定?HOUTcast Server的安裝很簡單。


你得到的安裝程序是一個Zip壓縮檔案,把它解壓縮到一個目錄裡就完成安裝了,建議安裝在Program Files\Winamp\SHOUTcast\目錄下,這樣方便搜尋。


解壓縮後得到三個文件:sc_serv.exe、sc_serv.ini和readme.txt,其中前兩個文件就是我們的SHOUTcast Server了,只要點擊執行sc_serv.exe,就可以執行SHOUTcast伺服器了。


可以為sc_serv.exe在桌面新增一個建立捷逕,以便隨時啟動SHOUTcast伺服器。


由於是由SHOUTcast伺服器來進行實際的網路廣播 ,所以最好把SHOUTcast Server執行在網路帶寬比較寬的電腦上,而且需要有類BIOSIP的電腦。

  執行SHOUTcast伺服器之前需要進行一些基本的設定。


SHOUTcast Server並沒有提供方便的可視化設定功能,只能通過手工修改配置文件來設定。


在Windows裡用寫字板或者別的文本編輯器開啟sc_serv.ini,我們看到可以進行以下幾方面設定:日誌、網路、伺服器和擴展日誌。關鍵的一些參數如下:

  * PortBase:廣播的連接阜號,聽眾將使用這個連接阜號來收聽廣播。預設為8000,注意這個連接阜號不能與別的套用衝突。


例如,可以使用8080,寫上「PortBase=8080」即可。

  * MaxUser:允許的最大聽眾同時連接數。這個參數需要根據帶寬和電腦的具體情況來設定。因為每個連接都需要消耗一定的帶寬和系統資源(記憶體、CPU等)。例如,可以設為「MaxUser=100」。

  * Password:連接伺服器的密碼。在一個廣播源向一個伺服器傳送音瀕資訊的時候需要使用這個密碼。

  * Logfile:日誌文件的路徑和檔案名。

  * SrcIP:接收廣播源的網路接頭IP,預設為ANY,在本機的所有網路接頭上都可以接收廣播源的資訊。



如果伺服器所在的電腦有多個網路卡,則可以填入允許接收廣播源的那些網路卡的IP。如果設為「SrcIP=127.0.0.1」,那麼別的電腦將不能使 用這個伺服器來進行廣播。

  * DestIP:進行廣播的網路接頭IP,預設為ANY,向本機的所有網路接頭進行廣播。

  另外,還可以在同一個電腦上同時執行多個SHOUTcast伺服器,只要這些伺服器所使用的連接阜號不衝突即可。



方法是將sc_serv.ini拷貝成多份,更改成別的名字,配置不同的連接阜號,例如sc_serv1.ini,然後以這個配置文件為參數 執行SHOUTcast Server(「sc_serv.exe sc_serv1.ini」)即可啟動另一個伺服器。

  SHOUTcast伺服器還具有動態平衡負載、中繼伺服器、產生HTML格式的日誌、遠端管理等功能,這裡不再一一說明,請參考SHOUTcast伺服器的我的文件。

  做一個電台D.J.

  有了伺服器,現在就來架設我們英特網電台的廣播間,也就是前面提到的廣播源。前面已經提到,我們將使用Winamp來進行廣播。

  首先,需要下載並安裝一個2.05以上版本的Winamp,當然最好是最新版本,因為可以使用到Winamp的一些最新特性。Winamp在它的主www.winamp.com上可以下載,各大FTP站點也有。

  然後,我們需要下載一個Winamp的插件-Nullsoft SHOUTcast Source Plug-in(DSP插件)。



Winamp不能直接與SHOUTcast伺服器打交道,這個SHOUTcast Source插件在Winamp和SHOUTcast伺服器之間起著橋樑的作用,它的工作是:按需要的比特率對音瀕編碼、傳送;與SHOUTcast伺服器聯繫;傳送SHOUTcast目錄資訊。

SHOUTcast Source插件目前只有X86/Win32平台的版本,所以現在我們只能在Windows平台上進行廣播。



插件可以在SHOUTcast的主頁上下載。下載得到的安裝文件是一個Zip壓縮檔案,把它解壓縮到Winamp的插件目錄裡即可。

  SHOUTcast Source插件還需要一個MP3編碼器來產生音瀕流,這裡推薦使用微軟的Netshow Services,可以從微軟主頁或者SHOUTcast主頁上下載,安裝後重新啟動系統就可以了。

  SHOUTcast Source插件安裝好以後,啟動Winamp進入Winamp的插件設定對話視窗,可以看到這個插件。在對話視窗裡點擊它,則會打出SHOUTcast Source視窗,顯示插件的一些狀態資訊,如圖3所顯示。


點擊視窗中Server項旁邊的Set按鈕,則進入伺服器的設定:在這裡填入所使用的SHOUTcast伺服器的IP、連接阜號、密碼及給SHOUTcast目錄的一些資訊(如果希望把你的電 台資訊發佈在yp.shoutcast.com上面的話)。


點擊視窗中Format項旁邊的Set按鈕,則進入格式設定對話視窗:需要設定音瀕流的格式、一些關鍵參數(比特率、音瀕採樣率、立體聲或者單聲道),建議採樣率使用11.25kHz、22 .50kHz或者44.1kHz。



注意:如果沒有安裝MP3編碼器的話,則設定不了格式。設定好伺服器和格式資訊後,如果設定正確的話,點擊Connect按鈕就可以連線到SHOUTcast伺服器上了。

  要做一個真正的電台D.J.,那麼還需要為Winamp安裝一個小插件-Live Recording插件,這個插件同樣可以從SHOUTcast主頁上下載。


這個插件可以讓你使用麥克風來通過Winamp進行廣播。

  現在,我們的播音間就大功告成了,可以開始工作了。


在Winamp裡選項一些MP3、WAV等格式的音瀕文件播放。

當Winamp開始播放的時候,我們的英特網電台就可以正式向全世界播音啦!這時候Winamp的音量調節是不起作用的,但是你可以調節 EQ,增強你的音樂效果。

  做電台D.J.,有時候需要用麥克風說一些話,例如「下面是某某點播的一首老歌」,那麼在Winamp裡按Ctrl-L,輸入liverec://,點擊Open,對著麥克風說話就可以了。說完話後,在Winamp裡選項需要播放的文件播放就可以切換過來。

  你也可以預先錄製好一些講話,然後與其他一些音樂文件(MP3、WAV)一起編排好,然後使用Winamp播放,就可以自動進行一段長時間的廣播了。

  收聽英特網電台

  前面已經提到,可以使用任何一個相容MP3音瀕流的多媒體播放軟體來收聽我們的英特網電台的節目。


以Winamp為例,如果要收聽my.host.com上8080連接阜的伺服器的廣播,那麼在Winamp裡按Ctrl-L,輸http://my.host.com:8080,點擊Open,就可以收聽廣播了。

  也可以通過訪問SHOUTcast的目錄來定位、選項收聽的頻道(音瀕流)。


SHOUTcast目錄[url]http://yp.shoutcast.com上,在這裡你可以看到很多正在廣播的茉/url]^特網電台,以及它們正在播放的內容,只要點擊相應的連接選項,使用Winamp開啟就可以收聽節目了。
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
舊 2004-05-13, 07:41 PM   #2 (permalink)
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

shoutcast relay server(轉發server)設定

--------------------------------------------------------------------------------

引用:
; SHOUTcast Distributed Network Audio Server configuration file
; Copyright (C) 1998-2002 Nullsoft, Inc.
; All Rights Reserved.
; Last modified Jan 16 2002

; If you want to manage multiple configurations, just copy
; this file to another name, and run sc_serv with that name
; such as:
; sc_serv.exe sc_leet.conf

; ***************************
; Required stuff
; ***************************

; MaxUser. The maximum number of simultaneous listeners allowed.
; Compute a reasonable value for your available upstream bandwidth (i.e. if
; you have 256kbps upload DSL, and want to broadcast at 24kbps, you would
; choose 256kbps/24kbps=10 maximum listeners.) Setting this value higher
; only wastes RAM and screws up your broadcast when more people connect
; than you can support.
MaxUser=50
;設定最大用戶數

; Password. While SHOUTcast never asks a listener for a password, a
; password is required to broadcast through the server, and to perform
; administration via the web interface to this server. This server should
; consist of only letters and numbers, and is the same server your broadcaster
; will need to enter in the SHOUTcast Source Plug-in for Winamp. THIS VALUE
; CANNOT BE BLANK.
Password=changeme
;設定廣播密碼,如果作relay伺服器下面還有一個密碼

; PortBase. This is the IP port number your server will run on. The
; value, and the value + 1 must be available. If you get a fatal error when
; the DNAS is setting up a socket on startup, make sure nothing else on the
; machine is running on the same port (telnet localhost portnumber -- if you
; get connection refused then you're clear to use that port). Ports < 1024
; may require root privledges on *nix machines. The default port is 8000.
PortBase=8000
;設定你的對外連接阜,預設還有+1.所以有防火牆的話要開8000和8001
;如果你要開多個server..把本文件複製一份..連接阜改成其他的比如9000,然後
;用sc_serv.exe new.conf來執行

; ***************************
; Optional Parameters
; ***************************

; ***************************
; Logging configuration
; ***************************

; LogFile: file to use for logging. Can be '/dev/null' or 'none'
; or empty to turn off logging. The default is ./sc_serv.log
; on *nix systems or sc_serv_dir\sc_serv.log on win32.
; Note: on win32 systems if no path is specified the location is
; in the same dir as the executable, on *nix systems it is in the
; current directory.
LogFile=sc_serv.log

; RealTime displays a status line that is updated every second
; with the latest information on the current stream (*nix and win32
; console systems only)
RealTime=1

; ScreenLog controls whether logging is printed to the screen or not
; on *nix and win32 console systems. It is useful to disable this when
; running servers in background without their own terminals. Default is 1
ScreenLog=1

; ShowLastSongs specifies how many songs to list in the /played.html
; page. The default is 10. Acceptable entries are 1 to 20.
ShowLastSongs=10

; TchLog decides whether or not the DNAS logfile should track yp
; directory touches. Adds and removes still appear regardless of
; this setting.
; Default is yes
; TchLog=yes

; WebLog decides whether or not hits to http:// on this DNAS will
; be logged. Most people leave this off because the DSP plug-in
; uses http:// calls to update titles and get the listener count,
; which takes up a lot of log space eventually. If you want to
; see people making hits on your admin.cgi or index pages, turn
; this back on. Note that this setting does NOT affect XML stats
; counters for hits to http:// pages.
; Default is no.
; WebLog=no

; W3CEnable turns on W3C Logging. W3C logs contain httpd-like accounts
; of every track played for every listener, including byte counts those listeners
; took. This data can be parsed with tools like Analog and WebTrends, or given
; to third parties like Arbitron and Measurecast for their reporting systems.
; Default is Yes (enabled).
W3CEnable=Yes

; W3CLog describes the name of the logfile for W3C logging. Default logfile is
; sc_w3c.log, in the same directory wherever the DNAS gets started from.
W3CLog=sc_w3c.log


; ***************************
; Network configuration
; ***************************

; SrcIP, the interface to listen for source connections on (or to make relay
; connections on if relaying). Can and usually will be ANY or 127.0.0.1
; (Making it 127.0.0.1 will keep other machines from being able to
; broadcast using your shoutcast server )
SrcIP=ANY

; DestIP, IP to listen for clients on (and to contact yp.shoutcast.com)
; can and usually will be be ANY. If your machine has multiple IP addresses,
; set this to the one you want it to be accessed by.
DestIP=ANY

; Yport, port to connect to yp.shoutcast.com on. For people behind caching
; webproxies, change this to the alternate port (666 is what it might be,
; check www.shoutcast.com if you have problems). Otherwise, leave this at 80.
; We're actively working on re-opening port 666, but as of release the only
; working port is port 80.
Yport=80

; NameLookups. Specify 1 to perform reverse DNS on connections.
; This option may increase the time it takes to connect to your
; server if your DNS server is slow. Default is 0 (off).
NameLookups=0

; RelayPort and RelayServer specify that you want to be a relay server.
; Relay servers act as clients to another server, and rebroadcast.
; Set RelayPort to 0, RelayServer to empty, or just leave these commented
; out to disable relay mode.
RelayPort=8000
RelayServer=be10.ods.org
;如果你要relay我的伺服器(frank)..那麼都不要改其他的了
;如果你要relay其他的伺服器改成對應的位址和連接阜
;比如你要relay dj的改成9000連接阜就可以了

; ***************************
; Server configuration
; ***************************

; AdminPassword. This password (if specified) changes the
; behavior of Password to be a broadcast-only password, and
; limits HTTP administration tasks to the password specified
; here. The broadcaster, with the password above, can still
; log in and view connected users, but only the AdminPassword
; will grant the right to kick, ban, and specify reserve hosts.
; The default is undefined (Password allows control for both
; source and admin)
AdminPassword=adminpass
;你的超級用戶密碼...和樓上的密碼最大的區別是設定這個密碼後後台管理的密碼和廣播密碼就不一樣了..後台管理密碼就是這個密碼了

; AutoDumpUsers controls whether listeners are disconnected if the source
; stream disconnects. The default is 0.
AutoDumpUsers=0

; AutoDumpSourceTime specifies how long, in seconds, the source stream is
; allowed to be idle before the server disconnects it. 0 will let the source
; stream idle indefinately before disconnecting. The default is 30.
AutoDumpSourceTime=30

; ContentDir specifies the directory location on disk of where to stream
; on-demand content from. Subdirectories are supported as of DNAS 1.8.2.
; Default is ./content, meaning a directory named content in the same directory
; as where sc_serv was invoked from.
; ContentDir=./content

; IntroFile can specify a mp3 file that will be streamed to listeners right
; when they connect before they hear the live stream.
; Note that the intro file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\intro%d.mp3 would be C:\intro64.mp3 if you are casting at 64kbps).
; The default is no IntroFile
; IntroFile=c:\intro%d.mp3

; BackupFile can specify a mp3 file that will be streamed to listeners over
; and over again when the source stream disconnects. AutoDumpUsers must be
; 0 to use this feature. When the source stream reconnects, the listeners
; are rejoined into the live broadcast.
; Note that the backup file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\backup%d.mp3 would be C:\backup32.mp3 if you are casting at 32kbps).
; The default is no BackupFile
; BackupFile=C:\intro%d.mp3

; TitleFormat specifies a format string for what title is sent to the listener.
; For example, a string of 'Justin Radio' forces the title 'Justin Radio' even
; when the source changes the title. You can use up to one '%s' in the string
; which lets you contain the title from the source. For example, if your
; TitleFormat is 'Justin Radio: %s', and the source plug-in's title is
; 'Billy plays the blues', then the net title is
; 'Justin Radio: Billy plays the blues'. Note: only works on non-relay servers.
; The default is no format string.
TitleFormat=改成你的個性語言: %s
;title設定...改成你的個性語言
; URLFormat specifies a format string for what url is sent to the listener.
; Behaves like TitleFormat (see above).
; The default is no format string.
;URLFormat=http://www.server.com/redirect.cgi?url=%s

; PublicServer can be always, never, or default (the default, heh)
; Any setting other than default will override the public status
; of the source plug-in or of a SHOUTcast server that is being relayed.
PublicServer=default

; AllowRelay determines whether or not other SHOUTcast servers will be
; permitted to relay this server. The default is Yes.
AllowRelay=Yes

; AllowPublicRelay, when set to No, will tell any relaying servers not
; to list the server in the SHOUTcast directory (non-public), provided
; the relaying server's Public flag is set to default. The default is
; Yes.
AllowPublicRelay=Yes

; MetaInterval specifies how often, in bytes, metadata sent.
; You should really leave this at the default of 8192, but the option is
; provided anyway.
MetaInterval=8192

; *****************************
; Access Control
; *****************************

; ListenerTimer is a value in minutes of maximum permitted time for
; a connected listener. If someone is connected for longer than this
; amount of time, in minutes, they are disconnected. When undefined,
; there is no limit defined. Default is undefined.
; ListenerTimer=600

; BanFile is the text file sc_serv reads and writes to/from
; for the list of clients prohibited to connect to this
; server. It's automatically generated via the web
; interface.
; BanFile=sc_serv.ban

; RipFile is the text file sc_serv reads and writes to/from
; for the list of client IPs which are *ALWAYS* permitted
; to connect to this server (useful for relay servers).
; This file is automatically generated via the web
; interface. Note that if your server is FULL, and someone
; from a Reserved IP connects, the DNAS will force the person
; listening for the longest time off to make room for the new
; connection.
; RipFile=sc_serv.rip

; RIPOnly, when set to Yes, will only allow IP addresses listed in the Reserved
; IP list to connect and relay. All other connections for listening will be denied.
; This is really only useful for servers whose sole purpose is to provide the
; primary feed to all public relays. Setting this value to Yes also forces the
; server into Private mode, since listing this server in the directory would
; be pointless. Default is No.
; RIPOnly=No

; *****************************
; Extended Logging
; *****************************

; The old features previously at this location, HistoryLog and CurrentLog, are
; no longer used and succeded by W3C Logging and XML, respectively.

; ***************************
; Mass Configuration
; ***************************

; Unique: assigns a variable name for use in any config item which points to a
; file. Useful for servers running lots of SHOUTcast servers that have similar
; configuration parameters, excepting logfile names, banfile names, etc. Any
; parameter that takes a pathname can include the character $, which will
; substitute $ for the variable assigned here. Keep in mind that the unique
; variable can only be used after it is defined, so don't try to use a unique
; variable substitution in a path before you define it. For example, you
; could set:
; Unique=my_server
; and then define Log=/usr/local/shoutcast/$.log in an included configuration
; file. Default is Unique=$, so that by default any file with $ in the name
; won't substitute anything at all.

; Include: instructs the sc_serv to read from the named configuration file,
; *at the point of insertion of the Include statement*, and process as though
; the included file was part of itself. Note that all configuration parameters
; in the DNAS config file are processed first to last, so if an item is defined
; twice in a configuration, the last item to process will be the one that takes
; effect. For this reason, it's usually a good idea to use the Includes first
; in a config file.
; example:
; Include=/usr/local/shoutcast/common.conf
; Default is not applicable.

; *****************************
; Tweaks
; *****************************
;
; DON'T MESS WITH THIS STUFF UNLESS YOU REALLY KNOW WHAT YOU'RE DOING.
; DON'T COMPLAIN TO US IF YOU MESS WITH IT AND THINGS BREAK.
;HAVE A NICE DAY.

; CpuCount is used to explicitly limit the DNAS to dominating a finite
; amount of processors in multiprocessor systems. By default,
; SHOUTcast creates one thread for every processor it detects in the
; host system, and assigns listeners equally across all the threads.
; In the event SHOUTcast doesn't correctly determine the number of
; CPUs in your host, or if you for whatever reason want to force
; the DNAS to not use other processors, you can say so here.
; Default behavior is to use as many processors as the DNAS detects on
; your system.
; CpuCount=1

; Sleep defines the granularity of the client threads for sending data.
; DNAS 1.7.0, per client thread, will send up to 1,024 bytes of data
; per socket (or less depending on the window available), and then
; sleep for the provided duration before repeating the whole process.
; Note that making this value smaller will vastly increase CPU usage on
; your machine. Increasing reduces CPU, but increasing this value too far
; will cause skips. The value which seems most optimal for 128kbps
; streaming is 833 (833 microseconds per client poll) on our test labs.
; We wouldn't recommend setting it any lower than 100, or any higher than
; 1,024. If you have a slower machine, set this number lower to fix
; skips.
; Default value is 833.
; Sleep=833

; CleanXML strips some whitespace and linefeeds from XML output which
; confuses some (poorly written) XML parsers. If you get XML rendering errors,
; try turning this on. Default is No (off).
; CleanXML=No
;
; TAG RULES


到shoutcast的老巢下windows的服務段軟體
http://www.shoutcast.com/downloads/s...-2-windows.exe

安裝執行然後修改C:\Program Files\SHOUTcast的sc_serv.ini為上面紅色的地方...仔細看..很容易的...
然後雙按sc_serv.exe

前提是你要有個動態域名..
然後可以在ie中輸入127.0.0.1:8000進行管理了...

http://你的動態域名:8000/listen.pls

來發佈了..

簡單吧..一個relayserver就做好了...做好了更貼哦...
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
舊 2004-05-13, 07:42 PM   #3 (permalink)
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

; SHOUTcast 分散式網路伺服器配置文件
; 1998-2002 Nullsoft公司版權所有
; 最後一次修改是在 Jan 16 2002
; Aska 漢化 *_^

; 如果您想使用多個配置文件,只需將這個文件複製成其它名稱,然後按下面的方式執行:
; sc_serv.exe 您的配置檔案名.ini

; ***************************
; 必須的設定
; ***************************

; 最多用戶. 虛擬聽眾的最大人數. 這個值可以根據您的帶寬計算得出 (例如, 如果您使
; 用上行為512kbps的ADSL,計劃播放碼率為24kbps的廣播, 您可以選項512kpbs/24kbps=21,
; 為您的最大用戶數.) 將這個值設定的過高只會浪費您的記憶體和帶寬.
MaxUser=32

; 密碼. SHOUTcast 伺服器決不會詢問聽眾密碼, 這個密碼是用來進行播放時使用, 在您對
; 伺服器進行管理時, 這個密碼也是必須的. 只執行數字和字母, 也是您通過 Winamp 插件
; 在伺服器上廣播資料所必須的. 當然, 不能使用空密碼.
Password=changeme

; 連接阜. 這時您伺服器將要使用的連接阜號. 這個值, 以及這個值 + 1 的連接阜都必須可用.
; 如果伺服器在啟動時通知您有致命錯誤發生, 請確定沒有其他任何程序佔用了這些連接阜 (
; 您可以嘗試使用 telnet 程序連接這個連接阜 -- 如果顯示拒絕連接, 則說明該連接阜可用.
; 在Unix及其類似系統上使用小於1024的連接阜可能需要root權限. 預設連接阜是8000.
PortBase=8000

; ***************************
; 附加參數
; ***************************

; ***************************
; 日誌配置
; ***************************

; 日誌文件: 用來記錄日誌的文件. 要想停止記錄可以填入 '/dev/null' 或者 'none' 或
; 者什麼都不填. 預設是在類Unix系統上為 ./sc_serv.log, win32系統上為 SHOUTcase 安
; 裝目錄下的sc_serv.log.
; 注意: 如果在 win32 系統上沒有指定路徑, 則預設路徑為程序的執行路徑, 在類Unix系
; 統上則是在當前目錄.
LogFile=sc_serv.log

; 既時顯示當前流的狀態, 每秒更新. (限於類Unix系統以及win32系統)
RealTime=1

; 控制是否在螢幕控制台上既時顯示程序狀態, 限於類Unix系統及win32系統. 當程序後台
; 執行時可取消該功能以節省資源. 預設為1 (開啟).
ScreenLog=1

; 確定歌曲歷史記錄中對多可以記錄的歌曲數量. 預設是10. 有效值為1到20.
ShowLastSongs=10

; 決定伺服器是否記錄在 yp.shoutcast.com 上的事件日誌 (即註冊主機以及登出主機).
; 預設是開啟
; TchLog=yes

; 決定是否記錄在伺服器網頁上的點擊事件. 由於 DSP 插件使用web方式重新整理標題以及計算
; 收聽人數, 所以出於節省空間的考慮, 大多數人都把這項關閉. 如果您想看看什麼人點擊
; 了您的網頁, 那就開啟這項 (先去掉前面的註釋) . 注意這個選項對 XML 的計數器沒有
; 影響.
; WebLog=no

; 開啟 W3C 日誌. W3C 包括以 http 形式對每個聽眾進行跟蹤記錄, 也記錄了沒個聽眾接
; 收的流量. 並且這項日誌資料可以用分析工具進行總結, 或者報告給調查系統.
; 預設是 Yes (開啟)
W3CEnable=Yes

; W3C 日誌的檔案名. 預設是 sc_w3c.log, 儲存於 SHOUTcase 程序目錄中
W3CLog=sc_w3c.log


; ***************************
; 網路配置
; ***************************

; 源 IP, 用來接收廣播源的 IP ( 如果允許中轉也用來接收外來的中轉). 一般是 ANY 也可
; 使用 127.0.0.1 ( 使用 127.0.0.1 的話則會禁止其他的機器使用您的廣播伺服器進行廣
; 播 )
SrcIP=ANY

; 目的 IP, 用來接受客戶端訪問的 IP ( 同時也用來聯繫 yp.shoutcast.com ) 一般是 ANY.
; 如果您的機器有多個 IP, 就填入您想用來接受客戶端的 IP.
DestIP=ANY

; Yport, 用來連接 yp.shoutcast.com 的連接阜. 對於在防火牆以後的用戶, 請把這個改成交
; 替連接阜 ( 一般是 666, 如果有問題發生請訪問 www.shoutcast.com ). 或者, 就寫成 80.
; 我們正在試突使其工作在 666 連接阜, 但是這個版本中僅有 80 連接阜可以工作.
Yport=80

; 域名查詢. 設定成 1 以實現 DNS 反向查詢. 如果您的伺服器比較慢,這個設定可能會延長
; 連線到伺服器的時間. 預設是 0 ( 關閉 )
NameLookups=0

; 當把本伺服器設定成中轉伺服器是必須制定中轉連接阜和中轉. 對於其他的伺服器來說, 中轉
; 伺服器處於客戶端的地位, 並把來自其他伺服器的廣播進行中轉重發.
; 要想關閉中轉模式, 只要把這兩項註釋掉, 或者把中轉連接阜設定為0, 中轉伺服器設定成空
; 即可.
; RelayPort=8000
; RelayServer=192.168.1.58

; ***************************
; 伺服器配置
; ***************************

; 管理密碼. 這個密碼設定以後即為訪問 web 管理頁面的管理密碼. 使用前面設定過的播放密
; 碼雖然仍可以訪問管理頁面, 但其權限僅為檢視各項統計資料, 不具備訪問控制的管理權力,
; 預設是不設定該密碼 ( 這樣以來使用前面的密碼就可以進行完全的控制)
; AdminPassword=adminpass

; 設定當廣播源丟失時是否中斷連線聽眾的連接. 預設為 0 .
AutoDumpUsers=0

; 設定廣播源與伺服器中斷聯繫後最大閒置時間. 預設是 30 .
AutoDumpSourceTime=30

; 設定內容目錄, 用來進行媒體點播時使用. 在這個版本可以很好的支持子目錄中的文件. 預設
; 是 ./content, 就是 sc_serv.exe 所在目錄裡面名為 content 的目錄.
; ContentDir=./content

; 設定前奏文件,前奏文件是指在聽眾連接上您的伺服器即將收聽直播之前要被播放的一個 mp3 文件.
; 注意該 mp3 文件必須和您播出廣播的碼率及聲道設定相同. 不過您可以使用以下方法指定多個
; 碼率的文件以待播放時自動選項: 在檔案名中使用 "%d" 作為萬用字元.
; ( 例如 IntroFile=C:\intro%d.mp3, 則當您播放 64kbps 碼率時則會選項 C:\intro64.mp3)
; 預設沒有前奏文件
; IntroFile=c:\intro%d.mp3

; 設定備份檔案, 當廣播源斷線時該檔案會被反覆播放直到重新連上為止. 必須把 AutoDumpUsers
; 設定成 0, 才能使用該項功能.
; 注意該 mp3 文件必須和您播出廣播的碼率及聲道設定相同. 不過您可以使用以下方法指定多個
; 碼率的文件以待播放時自動選項: 在檔案名中使用 "%d" 作為萬用字元.
; ( 例如 IntroFile=C:\intro%d.mp3, 則當您播放 64kbps 碼率時則會選項 C:\intro64.mp3)
; 預設沒有備份檔案
; BackupFile=C:\intro%d.mp3

; 標題格式指定您將要傳送到聽眾的廣播標題的格式. 例如, 加上 'Justin Radio' 會強制把標題
; 設定為 'Justin Radio'. 也可以使用 '%s' 引用廣播源的標題.
; 例如, 如果設定 'TitleFormat=Justin Radio: %s', 而廣播源的 DSP 插件中設定標題為
; 'Billy plays the blues', 則在聽眾的播放器中顯示的標題為:
; 'Justin Radio: Billy plays the blues'.
; 注意: 只在非中轉伺服器上生效.
; TitleFormat=Justin Radio: %s

; URL格式指定將要傳送到聽眾的網址格式. 用法與標題格式類似.
; 預設不設定格式.
; URLFormat=http://www.server.com/redirect.cgi?url=%s

; 設定是否公開伺服器, 可以使用 always, never, 或者 default. 如果您的伺服器不能連線到
; Internet, 或者您不想在 SHOUTcast 的列表上公開伺服器,請設定為 never.
PublicServer=default

; 設定是否允許中轉, 預設為 Yes.
AllowRelay=Yes

; 設定是否允許公開中轉, 當設定為 no 時, 伺服器會告訴其他的中轉伺服器不要把本伺服器的
; 標題在 SHOUTcast 的伺服器上公開. 預設是 Yes.
AllowPublicRelay=Yes

; 設定傳送 meatdata 的頻率, 請不要改動此項.
MetaInterval=8192

; *****************************
; 訪問控制
; *****************************

; 收聽時間限制是指一個聽眾可以收聽廣播的最大時長. 如果超過這個時長, 則該聽眾會被強制
; 踢出. 如果不定義這個數值, 則無限制. 預設是不定義.
; ListenerTimer=600

; 封禁列表存儲了禁止訪問伺服器的聽眾的列表. 其內容通過 web 界面自動產生.
; BanFile=sc_serv.ban

; 保留列表存儲了總是允許訪問伺服器的用戶的 IP 位址. 其內容通過 web 節目自動產生.
; 注意如果您的伺服器聽眾已滿, 而此時一個保留 IP 的用戶連接進來, 伺服器會自動踢掉一個
; 收聽時間最長的用戶, 然後讓這個保留 IP 的用戶加入聽眾行列.
; RipFile=sc_serv.rip

; 設定讓伺服器僅供保留列表中的用戶使用. 其他所有未知連接都不會被接受. 當設定為 Yes時,
; 也會讓伺服器進入私有模式. 預設是 No.
; RIPOnly=No

; *****************************
; 擴展日誌
; *****************************

; 本版本中已經取消此種日誌, 以 W3C 日誌替代.

; ***************************
; 其他配置 (進階用戶使用)
; ***************************

; Unique: assigns a variable name for use in any config item which points to a
; file. Useful for servers running lots of SHOUTcast servers that have similar
; configuration parameters, excepting logfile names, banfile names, etc. Any
; parameter that takes a pathname can include the character $, which will
; substitute $ for the variable assigned here. Keep in mind that the unique
; variable can only be used after it is defined, so don't try to use a unique
; variable substitution in a path before you define it. For example, you
; could set:
; Unique=my_server
; and then define Log=/usr/local/shoutcast/$.log in an included configuration
; file. Default is Unique=$, so that by default any file with $ in the name
; won't substitute anything at all.

; Include: instructs the sc_serv to read from the named configuration file,
; *at the point of insertion of the Include statement*, and process as though
; the included file was part of itself. Note that all configuration parameters
; in the DNAS config file are processed first to last, so if an item is defined
; twice in a configuration, the last item to process will be the one that takes
; effect. For this reason, it's usually a good idea to use the Includes first
; in a config file.
; example:
; Include=/usr/local/shoutcast/common.conf
; Default is not applicable.

; *****************************
; 效率調整 (偵錯用)
; *****************************
;
; 在進行以下的修改之前, 請確定您有十分的把握. 我們對您為此付出的損失不負任何責任!
; 僅供進階用戶偵錯使用!

; CpuCount is used to explicitly limit the DNAS to dominating a finite
; amount of processors in multiprocessor systems. By default,
; SHOUTcast creates one thread for every processor it detects in the
; host system, and assigns listeners equally across all the threads.
; In the event SHOUTcast doesn't correctly determine the number of
; CPUs in your host, or if you for whatever reason want to force
; the DNAS to not use other processors, you can say so here.
; Default behavior is to use as many processors as the DNAS detects on
; your system.
; CpuCount=1

; Sleep defines the granularity of the client threads for sending data.
; DNAS 1.7.0, per client thread, will send up to 1,024 bytes of data
; per socket (or less depending on the window available), and then
; sleep for the provided duration before repeating the whole process.
; Note that making this value smaller will vastly increase CPU usage on
; your machine. Increasing reduces CPU, but increasing this value too far
; will cause skips. The value which seems most optimal for 128kbps
; streaming is 833 (833 microseconds per client poll) on our test labs.
; We wouldn't recommend setting it any lower than 100, or any higher than
; 1,024. If you have a slower machine, set this number lower to fix
; skips.
; Default value is 833.
; Sleep=833

; CleanXML strips some whitespace and linefeeds from XML output which
; confuses some (poorly written) XML parsers. If you get XML rendering errors,
; try turning this on. Default is No (off).
; CleanXML=No
;
; TAG RULES
__________________
http://bbsimg.qianlong.com/upload/01/08/29/68/1082968_1136014649812.gif
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
舊 2004-05-13, 07:47 PM   #4 (permalink)
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

SAM Encoders DSP

有2.4.6和3.6.3的註冊機,據說對中文支持不錯。
SAM Encoders DSP 2.4.6者SAM Encoders DSP 3.6.3的軟體,SAM Encoders DSP 3.6.6的經註冊機也行。
SHOUTcast 的web界面看中文歌曲資訊是亂碼,必須手動設定為utf-8才可以正常顯示,這個有沒有辦法解決?
因dsp的問題...SHOUTcast
shoutcast dsp、oddcast dsp對雙字元支持不太好!
用的是winamp+SAM encoders+自己改進的shoutcast server(改了發佈頁指向)用ultraedit之類的工具編輯sc_serv.exe
將裡面的yp.shoutcast.com換成你的位址(長度16位)
可以完美地顯示中文,發佈頁指向自己做的一個站點:)
記住域名不能太長了!
剛好是16個字串才能用



介紹:
Multi-format support includes "bandwidth saving" mp3PRO, normal MP3, Ogg and advanced WMA9 encoders.
Use ANY combination of encoders together simultaneously - even with multiple bitrates!
Example: You can run a 24kb/s mp3PRO, 56kb/s mp3PRO and 56kb/s Windows Media stream at the SAME TIME from the SAME SOURCE!
Stream to Shoutcast, Live365, Windows Media, Icecast1, Icecast2 or P2P Streamer.
Full title streaming for mp3PRO, MP3, Ogg and Windows Media
Full meta data streaming for both Windows Media and mp3PRO/MP3! (The only plugin that can do this!)
Captioning for Windows Media (With full HTML support)
Scripting support allows you to
- Display the artist, title, album cover pictures and buy CD links - updates the information the instant the song changes!
- Sink up banners to display at the same time as an audio advertisement.
Archive stream to file
Automatically turns on your Live365 server upon connection if needed.
Record from DSP data or directly from soundcard.
Stay streaming 24/7: Recovers from errors and reconnects to the streaming server if needed.
Scripting interface allows you to open up the browser to a certain location on the listener's computer.
Metadata streaming also allows you to sink up banners with audio advertising.
Support for both Windows Media "Pull" and "Push" streaming methods.

網址:http://www.spacialaudio.com/products/winamp/index.html
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
舊 2006-01-26, 02:26 AM   #5 (permalink)
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

q:
想在LAN內搭建視瀕廣播伺服器來觀看在線影視,不知是否可行
LAN內組視瀕廣播伺服器,就是那種在線直接看,人家放到哪看哪的那種。想來看春晚,用PPLIVE等軟體來得到視瀕,再在LAN內視瀕廣播,這樣都可以直接看了,要是都用PPLIVE出口肯定堵死了。不知道我的這個想法能實現,如果可以用什麼方法來組建 呢。
獲得PPLIVE視瀕---通過視瀕廣播讓LAN內所有機器都能看到。

剛想到用Camtasia Studio可以抓視瀕,並模擬成一個視瀕設備。用什麼軟體能做到廣播呢,就好像直接把攝像頭上的視瀕廣播出去~~~
a:
一般使用helix server較有效率,視瀕的緩充與平衡輸出量品質rEAL還是較好的....

所有機器開啟windows media player ,裝壓縮的 windows media 可用推的
或第三方廠家的程式,指向局內網裡面唯一開啟了pplive的那台電腦ip
http://ip:8900/1.asf

ppStream本身就可以做到區域網路共享呀,具體參看 http://bbs.ppstream.com/dispbbs.asp...ID=26667&page=1
用PPLIVE找到播放位址 下面的直接放就可以了~~~

假如果你是ATI的AIW顯示卡的話,那個原有的的MMC就有這個功能。
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
 


主題工具
顯示模式

發表規則
不可以發文
不可以回覆主題
不可以上傳附加檔案
不可以編輯您的文章

論壇啟用 BB 語法
論壇啟用 表情符號
論壇啟用 [IMG] 語法
論壇禁用 HTML 語法
Trackbacks are 禁用
Pingbacks are 禁用
Refbacks are 禁用


所有時間均為台北時間。現在的時間是 03:25 AM


Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2024, Jelsoft Enterprises Ltd.


SEO by vBSEO 3.6.1