Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

Playing rtmp streams on Squeezebox Radio using BBC iPlayer for transcoding

$
0
0
Hi all, especially bpa

Three, or so years ago, bpa helped me get the rtmp steam of the"European Service" of Egypt's state radio to play on my Squeezebox by encoding the parameters of the options in the URL to Base64 so as to be read by the BBC iPlayer. Last summer the URLs of that radio service changed. Here is the revised URL, which I verified to play using both rtmpdump and ffplay.

Code:

rtmp://livestreaming5.onlinehorizons.net/ElBernamegElOrobi  -a ElBernamegElOrobi  -f WIN 32,0,0,270  -w http://www.egradio.eg/our_extentions...yer-3.2.18.swf -p http://egradio.eg/our_extentions/egplayer/ -v    -y livestream
Encoded to Base 64 for BBC iPlayer, it looks like this:
Code:

rtmp://livestreaming5.onlinehorizons.net?streamname=bGl2ZXN0cmVhbQ==&app=RWxCZXJuYW1lZ0VsT3JvYmk=&live=MQ==&swfurl=aHR0cDovL3d3dy5lZ3JhZGlvLmVnL291cl9leHRlbnRpb25zL2VncGxheWVyL3N3Zi9mbG93cGxheWVyLTMuMi4xOC5zd2Y=&tcurl=cnRtcDovL2xpdmVzdHJlYW1pbmc1Lm9ubGluZWhvcml6b25zLm5ldC9FbEJlcm5hbWVnRWxPcm9iaQ==&pageurl=aHR0cDovL3d3dy5lZ3JhZGlvLmVnL291cl9leHRlbnRpb25zL2VncGxheWVyLw==&.mp3
I did some tests using rtmpdump that confirmed to me that only the -a [app] and -y [playpath] options are required.
Code:

rtmp://livestreaming5.onlinehorizons.net  -a ElBernamegElOrobi  -y livestream
which when encoded to Base64 look like this:
Code:

rtmp://livestreaming5.onlinehorizons.net?streamname=bGl2ZXN0cmVhbQ==&app=RWxCZXJuYW1lZ0VsT3JvYmk=&.mp3
I also verified that including the two option parameters as part of the URL works. In that instance, there is no need to encode.
Code:

rtmp://livestreaming5.onlinehorizons.net/ElBernamegElOrobi/livestream?.mp3

Yet, none of these "play" to the SqueezeBox Radio, ie. no audio

I initially, focussed on a faulty encoding, (e.g. wrong syntax) being the source of the problem, and that could still be. However, I noticed on the LMS UI that the URL shows as playing.

See for example in the screen grab below how the time played iis displayed as 1:03. What then could be the reason for no audio? I do get excellent audio for regular mp3 and M3U8 streams. Are there settings for the BBC iPlayer plugin that I may have messed up ?

All help is appreciated.

gc

Name:  screenshot-192.168.1.167_9001-2020.04.14-10_25_49.png
Views: 91
Size:  31.8 KB
Attached Images
 

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>