Forum 4stream.pl

Streaming => Forum ShoutCast => Wątek zaczęty przez: matt94 w 30 Listopad 2012, 10:26:17

Tytuł: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 30 Listopad 2012, 10:26:17
Pobrałem sc_trans 6 z download i wywala błąd
przypadkiem nie potrzeba licencji na encoder mp3 ?
i czy są jakieś sc_trans z encoderem mp3 za darmo ?

2012-12-01 13:57:59 I msg:<***> Logger startup
 2012-12-01 13:57:59 I msg:<***> version 0.2.0.0 build 0.0.39.0
 2012-12-01 13:57:59 D msg:<***>
 2012-12-01 13:57:59 I msg:TimeMultiplier = 1 TimeShift = 0
 2012-12-01 13:57:59 I msg:[VUPush] 0 VU images loaded
 2012-12-01 13:57:59 I msg:[VUPush] 0 VU images loaded
 2012-12-01 13:57:59 I msg:[playlistMgr] playlist load from file playlista/playlista.lst
 2012-12-01 13:57:59 I msg:[playlistMgr] Caching playlist playlista/playlista.lst
 2012-12-01 13:57:59 I msg:[playlistMgr] load complete
 2012-12-01 13:57:59 I msg:*******************************************************************************
 2012-12-01 13:57:59 I msg:** TRANScast Distributed Network Audio Content Provider
 2012-12-01 13:57:59 I msg:** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
 2012-12-01 13:57:59 I msg:** Use "sc_trans filename.conf" to specify a config file.
 2012-12-01 13:57:59 I msg:*******************************************************************************
 2012-12-01 13:57:59 I msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.39.0 (Feb 22 2010) starting up...
 2012-12-01 13:57:59 I msg:[MAIN] PID: 31955
 2012-12-01 13:57:59 I msg:[MAIN] Loaded config from ./sc_trans.conf
 2012-12-01 13:57:59 I msg:[MAIN] Streaming thread starting
2012-12-01 13:57:59 E msg:[sourceAndEndpointManager] Unknown encoder type mp3
 2012-12-01 13:57:59 I msg:[sourceRelay] Thread starting
 2012-12-01 13:57:59 I msg:[sourceRelay] Thread exiting
 2012-12-01 13:57:59 I msg:<***> Logger shutdown

 pliki konfiguracyjny (urywek)

;; ENCODER OPTIONS
 encoder=mp3
 bitrate=128000
 samplerate=44100
 channels=2
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: Karol w 30 Listopad 2012, 10:30:37
To wygląda, jakby nie wiedział co to jest MP3. Najczęściej jest to powodowane przez brak zakupionego klucza do nadawania MP3. Nullsoft to sobie wymyślił.

Aczkolwiek z tego co pamiętam, to w beta 6 nie było jeszcze kluczy na mp3. Jesteś pewien, że to pobrałeś na pewno? Może nie mas bibliotek MP3 w systemie, spróbuj doinstalować LameMp3.
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 30 Listopad 2012, 12:48:27
tak na 100% jest to sc_trans 6 z download 4stream

Zainstalowałem to lame i dalej nic, chodzi o ten klucz walnięty i tyle znasz może jakieś sc_trans z encoderem mp3 za darmo ?
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 30 Listopad 2012, 13:39:51
ok wgrałem sc_trans 5 i wywala to co jest źle?

2012-12-01 17:23:50 I msg:<***> Logger startup
2012-12-01 17:23:50 I msg:<***> version 0.2.0.0 build 0.0.25.0
2012-12-01 17:23:50 D msg:<***>
2012-12-01 17:23:50 I msg:[VUPush] 0 VU images loaded
2012-12-01 17:23:50 I msg:[VUPush] 0 VU images loaded
2012-12-01 17:23:50 I msg:[playlistMgr] playlist load from file playlista/playlista.lst
2012-12-01 17:23:50 I msg:[playlistMgr] Caching playlist playlista/playlista.lst
2012-12-01 17:23:50 I msg:[playlistMgr] load complete
2012-12-01 17:23:50 I msg:*******************************************************************************
2012-12-01 17:23:50 I msg:** TRANScast Distributed Network Audio Content Provider
2012-12-01 17:23:50 I msg:** Copyright (C) 2000 Nullsoft, Inc.  All Rights Reserved.
2012-12-01 17:23:50 I msg:** Use "sc_trans filename.conf" to specify a config file.
2012-12-01 17:23:50 I msg:*******************************************************************************
2012-12-01 17:23:50 I msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.25.0  (Feb  3 2009) starting up...
2012-12-01 17:23:50 I msg:[MAIN] PID: 9955
2012-12-01 17:23:50 I msg:[MAIN] Loaded config from ./sc_trans.conf
2012-12-01 17:23:50 I msg:[MAIN] Streaming thread starting
2012-12-01 17:23:50 I msg:[resampler] deactivated 44100/2 == 44100/2
2012-12-01 17:23:50 I msg:[MAIN] Encoder thread 0 starting
2012-12-01 17:23:50 I msg:[MAIN] broadcast thread 0 starting
2012-12-01 17:23:50 I msg:[mp3enc] 204918902/44100/2/96000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2012-12-01 17:23:50 I msg:Using internal encoder sample rate of 44100 Hz, bandwidth 11892 Hz, MDCT low pass active

2012-12-01 17:23:50 I msg:[mp3enc] 204918902/44100/2/96000 mp3 setup complete
2012-12-01 17:23:50 I msg:[STREAM] 2120881892 giving replay gain calculator a head start
2012-12-01 17:23:50 I msg:[rgCalc] thread running
2012-12-01 17:23:50 I msg:[STREAM] 2120881892 running
2012-12-01 17:23:50 I msg:[STREAM] 2120881892 Creating stream socket
2012-12-01 17:23:50 I msg:[STREAM] 2120881892 Connected to host server
2012-12-01 17:23:50 I msg:[MAIN] Playlist decoder thread starting
2012-12-01 17:23:50 I msg:[microServer] Listening for connection on port 9877
2012-12-01 17:23:50 I msg:[MAIN] Broadcast Receiver thread starting
2012-12-01 17:23:50 I msg:[decode] giving replay gain calculator a head start
2012-12-01 17:23:50 I msg:[decode] begin decoding
2012-12-01 17:23:50 I msg:[playlistMgr] playlist load from file playlista/archive/playlista.lst
2012-12-01 17:23:50 I msg:[playlistMgr] load complete
2012-12-01 17:23:50 I msg:[playlistMgr] deactivating playlist playlista_432359360 id=-2
2012-12-01 17:23:50 I msg:[playlistMgr] deactivating playlist playlista id=-1
2012-12-01 17:23:50 I msg:[playlistMgr] Could not deactivate playlist for replay gain with name playlista_432359360. It was not found.
2012-12-01 17:23:50 E msg:[decode] Playlist has run dry
2012-12-01 17:23:50 I msg:[decode] Exiting decoder thread
2012-12-01 17:23:50 I msg:[mp3enc] 204918902/44100/2/96000 Exiting encoder thread
2012-12-01 17:23:51 I msg:[rgCalc] thread exiting
2012-12-01 17:23:52 I msg:[MAIN] Exiting loop
2012-12-01 17:23:53 I msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2012-12-01 17:23:53 I msg:[crossfader] in=0 out=0
2012-12-01 17:23:53 I msg:<***> Logger shutdown[/quote]

plik z konfingiem

;; VU Images
vuimagedirectory=vuimages\

;; ENCODER OPTIONS
encoder=mp3
bitrate=96000
samplerate=44100
channels=2

;;; NETWORK OPTIONS
outprotocol=1
serverip=37.28.155.160
serverport=8000
password= ****


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=logi/sc_trans.log
; 1 to do screen logging else 0
screenlog=1

;;;;;; METADATA CONTROL
; my stream name
streamtitle=Gra dla was Autopilot
; url related to my stream
streamurl=http://radio.pl
; my genre
genre=Autopilot
; other assorted stuff
;aim=myaimaddr
;irc=myirc
;icq=myicq
; register with yp
public=1

;;;; PLAYLIST CONTROL
; your playlist
playlistfile=playlista/playlista.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 0
; set our crossfade time to 2 seconds. zero means no xfade
xfade=2
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=playlista/
; where finished priority playlists get copied
archive=playlista/archive

;;; LIVE CAPTURE:
; don't capture
capture=0
; set capture parameters
;capturedevice=Sound Blaster
;captureinput=Line-In
;capturesamplerate=44100
;capturechannels=2

;;;; DJ SUPPORT:
; dj listen port
djport=9876
; dj password
djpassword=dj
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=playlista/recorded/


;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0

;;; OTHER:
adminport=5555
adminuser=admin
adminpassword=****

proszę o pomoc
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: wavemusic w 30 Listopad 2012, 15:59:38
Skad masz te sc_trans bo może masz zbugowana wersje. Bo słyszałem że są w internecie zbugowane wersje sc_trans.
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 30 Listopad 2012, 17:14:21
Stąd www.shoutcast2.com
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: wavemusic w 30 Listopad 2012, 17:41:21
do jakiej wersji serwera shoutcast v.1 czy v.2
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 02 Grudzień 2012, 12:13:53
v1
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: Karol w 02 Grudzień 2012, 15:27:42
Tutaj musisz ustawić inny katalog playlisty.
playlistfile=playlista/playlista.lst
Bo SC_Trans robi tak, że wszystkie pliki w katalogu playlist ładuje po kolei, a następnie przenosi do archiwum. A ta opcja powyższa wczytuje stałą listę odtwarzania.

Powoduje to coś takiego, że sc_trans chce wczytać tą playlistę, a jej już tam nie ma, bo przed chwilą przeniósł ją do archiwum. Wtedy powinno być ok, bo z logów nie wynika żebyś miał problem z koderem jeszcze.

I upewnj się, że masz ustawione dobre chmody na katalog.
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 03 Grudzień 2012, 12:28:50
czyli zmienić na takie coś /?

Cytuj
;;;; PLAYLIST CONTROL
; your playlist   
playlistfile=play/playlista.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 0
; set our crossfade time to 2 seconds. zero means no xfade
xfade=2      
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=play/
; where finished priority playlists get copied
archive=playlista/archive
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: Karol w 03 Grudzień 2012, 12:38:43
Prawie.
;;;; PLAYLIST CONTROL
; your playlist   
playlistfile=play/playlista.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 0
; set our crossfade time to 2 seconds. zero means no xfade
xfade=2     
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=playlista/
; where finished priority playlists get copied
archive=playlista/archive

"playlists" i "archive" dotyczy playlist priorytetowych, playlistfile to lista stała. Szczegóły masz w dokumentacji tego.
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 03 Grudzień 2012, 16:30:24
teraz wypluwa takie coś
2012-12-03 16:29:35 I msg:[mp3enc] 182102092/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2012-12-03 16:29:35 I msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, MDCT low pass active
2012-12-03 16:29:35 I msg:[mp3enc] 182102092/44100/2/128000 mp3 setup complete
2012-12-03 16:29:35 I msg:[STREAM] 890598640 giving replay gain calculator a head start
2012-12-03 16:29:35 I msg:[rgCalc] thread running
2012-12-03 16:29:35 I msg:[MAIN] Playlist decoder thread starting
2012-12-03 16:29:35 I msg:[microServer] Listening for connection on port 9877
2012-12-03 16:29:35 I msg:[MAIN] Broadcast Receiver thread starting
2012-12-03 16:29:35 I msg:[decode] giving replay gain calculator a head start
2012-12-03 16:29:35 I msg:[decode] begin decoding
2012-12-03 16:29:35 I msg:[playlistMgr] deactivating playlist playlista id=-1
2012-12-03 16:29:35 E msg:[decode] Playlist has run dry
2012-12-03 16:29:35 I msg:[decode] Exiting decoder thread
2012-12-03 16:29:35 I msg:[mp3enc] 182102092/44100/2/128000 Exiting encoder thread
2012-12-03 16:29:36 I msg:[rgCalc] thread exiting
2012-12-03 16:29:37 I msg:[MAIN] Exiting loop
2012-12-03 16:29:38 I msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2012-12-03 16:29:38 I msg:[crossfader] in=0 out=0
2012-12-03 16:29:38 I msg:<***> Logger shutdown
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: Karol w 03 Grudzień 2012, 16:47:55
msg:[decode] Playlist has run dryTo wskazuje na to, że playlista jest pusta. Jeżeli nie jest, to znaczy, że źle ją budujesz. Podajesz ścieżki, które nie istnieją lub są niepoprawne. Na stronie u nas masz arta jak wygenerować plik listy odtwarzania.
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 03 Grudzień 2012, 17:37:48
Plik konfiguracyjny o nazwie sc_trans.conf

;; VU Images
vuimagedirectory=home/ap/ap/vuimages/
;; ENCODER OPTIONS
encoder=mp3
bitrate=128000
samplerate=44100
channels=2

;;; NETWORK OPTIONS
outprotocol=1
serverip=37.28.155.160

serverport=8000
password=haslo


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=logi/sc_trans.log
; 1 to do screen logging else 0
screenlog=1

;;;;;; METADATA CONTROL
; my stream name
streamtitle=Gra dla was Autopilot
; url related to my stream
streamurl=http://radio.pl
; my genre
genre=Autopilot
; other assorted stuff
;aim=myaimaddr
;irc=myirc
;icq=myicq
; register with yp
public=1

;;;; PLAYLIST CONTROL
; your playlist
playlistfile=play/playlista.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 0
; set our crossfade time to 2 seconds. zero means no xfade
xfade=2
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=playlista/
; where finished priority playlists get copied
archive=playlista/archive

;;; LIVE CAPTURE:
; don't capture
capture=0
; set capture parameters
;capturedevice=Sound Blaster
;captureinput=Line-In
;capturesamplerate=44100
;capturechannels=2

;;;; DJ SUPPORT:
; dj listen port
djport=9876
; dj password
djpassword=dj
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=recorded/


;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0

;;; OTHER:
adminport=5555
adminuser=admin
adminpassword=admin12


Pilot znajduje się w /home/ap/ap/

(http://e-fotek.pl/images/12142199982972193316.png)

Zawartość pliku playlista.lst

/home/ap/ap/muzyka/radosc.mp3
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: Karol w 03 Grudzień 2012, 17:45:08
Jak go uruchamiasz?
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 03 Grudzień 2012, 17:58:34
screen ./sc_trans ./sc_trans.conf
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: Karol w 03 Grudzień 2012, 18:00:20
Spróbuj tak:
Cytuj
screen ./sc_trans /home/ap/ap/sc_trans.conf
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 03 Grudzień 2012, 18:01:26
nic nie daje to samo :(
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: Karol w 03 Grudzień 2012, 18:41:00
Wiem co!

Przecież to playlista, więc musi posiadać przynajmniej dwa elementy na liście. Że też wcześniej na to nie wpadłem.
Tytuł: Odp: sc_serv i sc_trans
Wiadomość wysłana przez: matt94 w 03 Grudzień 2012, 18:48:55
dzięki Ci karol jesteś wielki :D