ОсновноеRadiotalkПользовательское
Интернет-телевидение
4   •   Посмотреть все темы

Icecast 2 + SHOUTcast nsv Source 1.0.0 на Freebsd 8

 

1
Dmitry @Dmitry
Доброго вам времени суток!
в общем, ситуация такова:
прочел соотв. мануал по этой же теме, не удалось получить на плеер видеопоток (ошибок нет, клиент вошел, поток получил) - пустой экран.
где нужно копать?
прилагаю конфиги и логи.
с уважением.

icecast.xml:
<icecast>
<limits>
<clients>100</clients>
<sources>20</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>130</client-timeout>
<header-timeout>115</header-timeout>
<source-timeout>110</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>

<authentication>
<source-password></source-password>
<relay-password></relay-password>
<admin-user>admin</admin-user>
<admin-password>motherfucker</admin-password>
</authentication>

<mount>
<mount-name>/stream.nsv</mount-name>
<password>someleakpassword)</password>
</mount>
<shoutcast-mount>/stream.nsv</shoutcast-mount>

<hostname>127.0.0.1</hostname>

<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>8001</port>
<shoutcast-compat>1</shoutcast-compat>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/local/share/icecast</basedir>
<logdir>/var/log/icecast</logdir>
<webroot>/usr/local/share/icecast/web</webroot>
<adminroot>/usr/local/share/icecast/admin</adminroot>
<pidfile>/usr/local/share/icecast/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize>
<logarchive>1</logarchive>
</logging>

<security>
<chroot>0</chroot>
<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>


sc_nsv.conf:
; #######################
; # Network Configuration
; #######################

; Server: [*127.0.0.1] Host of the server we want to source
Server=127.0.0.1

; Port: [*8000] PortBase of the server we want to source
; (DO NOT COMPENSATE FOR SOURCE PORT!!!)
Port=8000

; #######################
; # General Configuration
; #######################

; Pass: [*changeme] Password to make a source connection
Password=someleakpassword)

; Playlist: [*playlist.plo] Our playlist object file
Playlist=playlist.plo

; AutoReconnect: [*Yes|No] Should we try to re-establish connection if the source
; is dropped from the server?
AutoReconnect=Yes

; ScreenLog: [*Yes|No] Display the log in the screen CLI environments only
ScreenLog=Yes

; RealTime: [*Yes|No] Display stats in real time CLI environments only
RealTime=Yes

; LogFile: [NULL|*sc_nsv.log] location to log to
LogFile=sc_nsv.log

; ####################
; # Stream Information
; ####################

; StreamName: [*Unnamed Server] Name of our Stream
StreamName=MeanTV

; Genre: [*Unknown Genre] what category of video do we fit in best (only important for yp)
Genre=BreakingNews

; Public: [*Yes|No] Publish the streams existence on YP
Public=No

; Bitrate: [*300] Avg Bitrate you think the stream will be, try to be accurate
; (only important for yp)
Bitrate=300

; Url: Your website address
Url=http://www.radiotoolbox.com/

#IRC=N/A

#ICQ=N/A

#AIM=N/A

; ###########
; # Subtitles
; ###########

; SubtitleMode: [*NONE|SCRIPT|DEBUG|CLOCK|TAG] Display content to your users through
; players supporting subtitles. NONE disables dynamic subtitles all together, SCRIPT
; allows you to place a file named subtitles.txt in the current working directory of
; sc_nsv which will contain info that should be displayed in real time. CLOCK displays
; a clock on screen, TAG displays the title of the video at the beginning of the video.
SubtitleMode=NONE

; Subtitle configurations below this point can be overridden by the SCRIPT feature.
; SubtitlePosX: [*10|0-255] X coordinate location or horizontal positioning on screen
; of where to place a Subtitle.
SubtitlePosX=10;

; SubtitlePosY: [*10|0-255] Y coordinate location or vertical positioning on screen
; of where to place a Subtitle.
SubtitlePosY=10;

; SubtitleRed: [*255|0-255] Red Color value for subtitles
SubtitleRed=255

; SubtitleGreen: [*255|0-255] Green Color value for subtitles
SubtitleGreen=255

; SubtitleGreen: [*255|0-255] Blue Color value for subtitles
SubtitleBlue=255

Отредактировано Dmitry - 19.04.2012