I used PlayHLS to successfully stream AFL Football broadcasts to my Squeezebox setups last year. This year the URLs have slightly changed, and now they're not playing.
The URLs work when I use them in a Safari Browser on a MAC, it's just the stream doesn't start on the Squeezebox's. On the Squeezebox web interface I can see it retrieves the station logo in the Now Playing window, but the stream doesn't play. Example streams: http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_12/playlist.m3u8 http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/playlist.m3u8 I've testing PlayHLS using the sample BBC streams and it works eg. http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/llnw/bbc_radio_fourfm.m3u8 http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8 Turning on debug for PlayHLS I can see PlayHLS is kicking in ffmpeg, but then it appears to get to the end of the stream. Code: -------------------- [19-03-30 17:10:14.0471] Slim::Player::TranscodingHelper::checkBin (252) Found command: [ffmpeg] -loglevel quiet -i $FILE$ -af volume=0dB -f flac - [19-03-30 17:10:14.0491] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: hls->flc via: [ffmpeg] -loglevel quiet -i $FILE$ -af volume=0dB -f flac - [19-03-30 17:10:14.0495] Slim::Player::Song::open (409) Transcoder: streamMode=R, streamformat=flc [19-03-30 17:10:14.0505] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\ffmpeg.exe" -loglevel quiet -i "http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/playlist.m3u8" -af volume=0dB -f flac - [19-03-30 17:10:14.0509] Slim::Player::Song::open (559) Tokenized command: "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\ffmpeg.exe" -loglevel quiet -i "http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/playlist.m3u8" -af volume=0dB -f flac - [19-03-30 17:10:14.0528] Slim::Player::Pipeline::new (96) Launching process with command: "C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe" -D -w -o 60710 -c "\"C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\ffmpeg.exe\" -loglevel quiet -i \"http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/playlist.m3u8\" -af volume=0dB -f flac -" [19-03-30 17:10:14.0655] Slim::Player::SongStreamController::new (31) live=2 [19-03-30 17:10:14.0662] Slim::Player::StreamingController::_Stream (1271) 00:04:20:1e:51:88: stream [19-03-30 17:10:14.0667] Slim::Player::Boom::play (342) Setting LineIn to 0 for [http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/playlist.m3u8] [19-03-30 17:10:14.0669] Slim::Player::Boom::setLineIn (434) Switching to line in 0 [19-03-30 17:10:14.0704] Slim::Player::StreamingController::_Stream (1308) Song queue is now 0 [19-03-30 17:10:14.0708] Slim::Player::StreamingController::_setPlayingState (2363) new playing state BUFFERING [19-03-30 17:10:14.0710] Slim::Player::StreamingController::_setStreamingState (2372) new streaming state STREAMING -------------------- Code: -------------------- [19-03-30 17:10:15.1188] Slim::Player::TranscodingHelper::checkBin (252) Found command: [ffmpeg] -loglevel quiet -i $FILE$ -af volume=0dB -f flac - [19-03-30 17:10:15.1191] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: hls->flc via: [ffmpeg] -loglevel quiet -i $FILE$ -af volume=0dB -f flac - [19-03-30 17:10:15.2003] Slim::Player::Source::_wakeupOnReadable (409) 00:04:20:1e:51:88 [19-03-30 17:10:15.2009] Slim::Player::Source::_readNextChunk (350) Read to end of file or pipe [19-03-30 17:10:15.2011] Slim::Player::Source::_readNextChunk (373) end of file or error on socket, song pos: 23782361 [19-03-30 17:10:15.2013] Slim::Player::Source::_readNextChunk (378) 00:04:20:1e:51:88 mark end of stream [19-03-30 17:10:15.2016] Slim::Player::Source::_readNextChunk (386) Didn't stream any bytes for this song; mark it as failed [19-03-30 17:10:15.2018] Slim::Player::StreamingController::playerStreamingFailed (2234) 00:04:20:1e:51:88 [19-03-30 17:10:15.2021] Slim::Player::StreamingController::_playersMessage (789) Problem: Can't open file for:: http://aflliveradiohls348.ngcdn.telstra.com/afllive/aflradio_5/playlist.m3u8 [19-03-30 17:10:15.2025] Slim::Player::StreamingController::_eventAction (271) 00:04:20:1e:51:88: StreamingFailed in BUFFERING-STREAMING -> Slim::Player::StreamingController::_StopNextIfMore -------------------- The streams are only active when games are being broadcast, so I only get a few hours to test/debug. Any suggestions? I'm assuming the Audio Streaming setting for the player needs to be set to "Proxied" for PlayHLS to be able to convert via ffmpeg, or can the stream setting be left at Direct? (I've tried both without any difference) Thanks, Dean. ------------------------------------------------------------------------ kidhazy's Profile: http://forums.slimdevices.com/member.php?userid=42259 View this thread: http://forums.slimdevices.com/showthread.php?t=103158 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
