Forum 4stream.pl
Streaming => Forum ShoutCast => Wątek zaczęty przez: baran860 w 16 Kwiecień 2014, 17:47:51
-
Witam,
Posiadam serwer FreeBSD 9.0 zainstalowałem na nim serwerek ShoutCast'a działa idealnie, nie mam zarzutów.
Problem zaczyna się gdy chciałem sobie założyć autopilota (sc_trans) niby wszystko się odpala ale nie do końca bo na samym końcu pisze
"2013-09-17 20:57:37 W msg:[DECODE] Playlist is empty"
Mój config sc_trans:
playlistfile=playlist/1.lst
logfile=logi/sc_trans.log
Serverip=25.48.101.100
ServerPort=8000
Password=xxxxxx
shuffle=1
Bitrate=128000
SampleRate=44100
Channels=2
encoder_1=aacp
bitrate_1=128000
Widać że jest podana ścieżka do playlisty 1.lst na 100% ją widzi bo jak ją usunę/zmienię nazwę to wywala błędy że nie może jej znaleźć.
A tak wygląda Playlist'a:
../muzyka/1.aac
../muzyka/1.aac
../muzyka/1.aac
Foldery są następujące:
/usr/home/autopilot/ -Główny katalog znajduje się tu konfigurator oraz sc_trans
/usr/home/autopilot/muzyka/ -Folder z muzyką (1.aac)
/usr/home/autopilot/playlist/ -Folder z playlistami (1.lst)
/usr/home/autopilot/logi/ -Wiadomo :)
Wycinek logów podczas próby odpalenia autopilot'a:
Dexter# ./autopilot
2013-09-17 21:19:00 I msg:<***> Logger startup
2013-09-17 21:19:00 D msg:<***>
2013-09-17 21:19:00 I msg:***************************************************************
2013-09-17 21:19:00 I msg:** TRANScast Distributed Network Audio Content Provider
2013-09-17 21:19:00 I msg:** Copyright © 2000-2011 Nullsoft, Inc. All Rights Reserved.
2013-09-17 21:19:00 I msg:** Use "sc_trans filename.conf" to specify a config file.
2013-09-17 21:19:00 I msg:***************************************************************
2013-09-17 21:19:00 I msg:[MAIN] TRANSCast/posix(bsd) v2.0.0.54 (Oct 7 2011) starting...
2013-09-17 21:19:00 I msg:[MAIN] PID: 1252
2013-09-17 21:19:00 I msg:
2013-09-17 21:19:00 I msg:[CONFIG] Choose one of the detected config file(s) to load or
2013-09-17 21:19:00 I msg:[CONFIG] enter `x' to close this instance of the Transcoder:
2013-09-17 21:19:00 I msg:[CONFIG] Note: Press `Enter' after choosing the config file.
2013-09-17 21:19:00 I msg:
2013-09-17 21:19:00 I msg:[CONFIG]
2013-09-17 21:19:00 I msg:
0
2013-09-17 21:19:04 I msg:[MAIN] Logger updating log file to use
2013-09-17 21:19:04 I msg:[MAIN] Loaded config from ./autopilot.conf
2013-09-17 21:19:04 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2013-09-17 21:19:04 I msg:[VUPUSH] 0 VU images loaded for left channel
2013-09-17 21:19:04 I msg:[VUPUSH] 0 VU images loaded for right channel
2013-09-17 21:19:04 I msg:[PLAYLISTMGR] Playlist load from file playlist/1.lst
2013-09-17 21:19:04 E msg:[PLAYLISTMGR] Playlist entry [../muzyka/1.aac] is not supported.
2013-09-17 21:19:04 E msg:[PLAYLISTMGR] Playlist entry [../muzyka/1.aac] is not supported.
2013-09-17 21:19:04 E msg:[PLAYLISTMGR] Playlist entry [../muzyka/1.aac] is not supported.
2013-09-17 21:19:04 I msg:[PLAYLISTMGR] Caching playlist playlist/1.lst
2013-09-17 21:19:04 I msg:[PLAYLISTMGR] Load complete
2013-09-17 21:19:04 I msg:[MAIN] Streaming thread starting
2013-09-17 21:19:04 I msg:[MAIN] Playlist decoder thread starting
2013-09-17 21:19:04 I msg:[SOURCERELAY] Thread starting
2013-09-17 21:19:04 I msg:[RGCALC] Thread running
2013-09-17 21:19:04 I msg:[DECODE] Giving replay gain calculator a head start
2013-09-17 21:19:04 I msg:[DECODE] Begin decoding
2013-09-17 21:19:04 I msg:[PLAYLISTMGR] Deactivating playlist=1 id=-1
2013-09-17 21:19:06 W msg:[DECODE] Playlist is empty
-
Wg. mnie problem leży po stronie rozszerzenia aac.
Wgraj normalne mp3.
Żeby odpalić autopilota musisz mieć przynajmniej 3 mp3!
Wgraj dla pewności 3 różne MP3.
-
Ok, dałem Mp3, na początku myślałem że nie pójdzie bo trzeba chyba jakiś kod mieć żeby działało mp3 ale proszę oto logi:
./autopilot
2013-09-17 21:52:57 I msg:<***> Logger startup
2013-09-17 21:52:57 D msg:<***>
2013-09-17 21:52:57 I msg:***************************************************************
2013-09-17 21:52:57 I msg:** TRANScast Distributed Network Audio Content Provider
2013-09-17 21:52:57 I msg:** Copyright © 2000-2011 Nullsoft, Inc. All Rights Reserved.
2013-09-17 21:52:57 I msg:** Use "sc_trans filename.conf" to specify aconfig file.
2013-09-17 21:52:57 I msg:***************************************************************
2013-09-17 21:52:57 I msg:[MAIN] TRANSCast/posix(bsd) v2.0.0.54 (Oct7 2011) starting...
2013-09-17 21:52:57 I msg:[MAIN] PID: 1368
2013-09-17 21:52:57 I msg:
2013-09-17 21:52:57 I msg:[CONFIG] Choose one of the detected config file(s) to load or
2013-09-17 21:52:57 I msg:[CONFIG] enter `x' to close this instance ofthe Transcoder:
2013-09-17 21:52:57 I msg:[CONFIG] Note: Press `Enter' after choosingthe config file.
2013-09-17 21:52:57 I msg:
2013-09-17 21:52:57 I msg:[CONFIG]
2013-09-17 21:52:57 I msg:
0
2013-09-17 21:52:59 I msg:[MAIN] Logger updating log file to use
2013-09-17 21:52:59 I msg:[MAIN] Loaded config from ./autopilot.conf
2013-09-17 21:52:59 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2013-09-17 21:52:59 I msg:[VUPUSH] 0 VU images loaded for left channel
2013-09-17 21:52:59 I msg:[VUPUSH] 0 VU images loaded for right channel
2013-09-17 21:52:59 I msg:[PLAYLISTMGR] Playlist load from file playlist/1.lst
2013-09-17 21:52:59 I msg:[PLAYLISTMGR] Caching playlist playlist/1.lst
2013-09-17 21:52:59 I msg:[PLAYLISTMGR] Load complete
2013-09-17 21:52:59 I msg:[MAIN] Streaming thread starting
2013-09-17 21:52:59 I msg:[MAIN] Playlist decoder thread starting
2013-09-17 21:52:59 I msg:[SOURCERELAY] Thread starting
2013-09-17 21:52:59 I msg:[RGCALC] Thread running
2013-09-17 21:52:59 I msg:[DECODE] Giving replay gain calculator a head start
2013-09-17 21:52:59 I msg:[DECODE] Begin decoding
2013-09-17 21:52:59 I msg:[DECODE] Next file is ./playlist/muzyka/c.mp3
2013-09-17 21:53:00 I msg:[DECODE] Next file is ./playlist/muzyka/b.mp3
2013-09-17 21:53:01 I msg:[DECODE] Next file is ./playlist/muzyka/a.mp3
2013-09-17 21:53:04 I msg:[DECODE] Next file is ./playlist/muzyka/a.mp3
I tak cały czas: c.mp3, b.mp3, a.mp3, b.mp3 itp...
-
Wybacz, ale ta wersja nie odpali ci strumienia mp3
-
Ok, a czy masz jakąś inną na FreeBSD która według Ciebie będzie działała?
-
To powinno działać, wersja sc_trans 2 BETA 4
DOWNLOAD
Enkoder możesz ustawić na MP3 lub na AAC. Ta wersja umożliwia korzystanie z kodeka mp3 za free.
Jak będziesz miał problemy pokaż cały plik konfiguracyjny + logi.
-
Nie odpala nawet tej wersji na FreeBSD ;/ wklepuje ./autopilot i po 10sek. pojawia się vps1213# czyli linia do wpisywania poleceń
-
masz ustawione chmody ?
Autopilota Odpalasz komendą:
./sc_trans
lub ./sc_trans plik_konfiguracyjny
-
Wiem ale zmieniłem nazwę na autopilot więc wiesz... aż taki głupi to bym nie był. :)
Działa, nie wiem jak mam Ci dziękować, moje niedopatrzenie
zmieniałem pliki na innym serwerze a na innym próbowałem odpalać, czy można w jakiś sposób się tu odwdzięczyć typy 4x gwiazdki w profilu itp?