PDA

View Full Version : Help finding direct links to audio streams of Egyptian and Jordanian radios


George_C
12-12-2014, 07:30 PM
Hi folks,

I would appreciate if someone could help me identify the direct audio links for two Middle Eastern public broadcasting entities. I would like to be able to play them through VLC or such desktop player, rather than players embedded in websites.

These entities are ERTU (Egyptian Radio TV Union) and JRTV (Jordanian Radio TV). There are 9 audio streams on the ERTU website and 3 audio streams on the JRTV website. I suspect that getting the direct link to a single stream from each entity would allow me to decode the others.

Here are the URLs of the players for the 9 ERTU streams and 3 JRTV audio streams:

ERTU:
http://ertu.org/1/radioShabab.asp Youth and Sports
http://ertu.org/1/radioAam.asp General Programming
http://ertu.org/1/radioquran.asp Religious
http://ertu.org/1/radioarab.asp Sawt el Arab (Voice of Arabs)
http://ertu.org/1/radioshrkawst.asp Shark el Awsat (Middle East )
http://ertu.org/1/radiothakafya.asp Cultural Channel
http://ertu.org/1/radioMusicProg.asp Music Channel
http://ertu.org/1/radioOropi.asp European Language Channel (offline from 2-6 am Egypt time)
http://ertu.org/1/radioKiswahili.asp Kiswahil


JRTV:
http://www.jrtv.jo/page.aspx?page_key=key_radio Jordan Radio
http://www.jrtv.jo/page.aspx?page_key=key_fm Amman FM
http://www.jrtv.jo/page.aspx?page_key=key_forgin Foreign (English broadcasts)
Interestingly and strangely, JRTV uses video players to broadcast their audio streams.

Needless to say, I tried everything I could think of to identify the direct links. These strategies include examining the source code, URL snooper, Relay Media Player and Wireshark. In the case of Wireshark, I fully recognize that I don’t know how to use it properly in spite of following several online tutorials.

gc

biezom
12-26-2014, 02:47 PM
for ERTU you can use rtmpdump

example http://ertu.org/1/radioShabab.asp

rtmpdump -r "rtmp://liveRadio.onlinehorizons.net/shabawreada" -a "shabawreada" -f "WIN 16,0,0,235" -W "http://lr.onlinehorizons.net/player.swf" -p "http://lr.onlinehorizons.net/shabawreada.html" --live -y "livestream" -o shabawreada.mp3


for JRTV you can use Adobe HDS Downloader

example http://www.jrtv.jo/page.aspx?page_key=key_radio


php AdobeHDS.php --manifest "http://stream1.joinvisions.net:1935/jorlive/ar/manifest.f4m" --delete

George_C
02-20-2015, 10:20 AM
biezom, first I want to apologize for not thanking or acknowledging your reply till now. Sorry.


for ERTU you can use rtmpdump

example http://ertu.org/1/radioShabab.asp

rtmpdump -r "rtmp://liveRadio.onlinehorizons.net/shabawreada" -a "shabawreada" -f "WIN 16,0,0,235" -W "http://lr.onlinehorizons.net/player.swf" -p "http://lr.onlinehorizons.net/shabawreada.html" --live -y "livestream" -o shabawreada.mp3

I was able to duplicate and understand the code you provided for accessing the ERTU stations using rtmpdump. With "rtmp --help" I also understand what the parameters refer to. What I don't understand yet, is how, or from where you chose some of the parameters, eg '-f', '-W', '-p' and '-y'. Is there any 'How to...' document or tutorial you can point to?

Also your code shows how to download the streams, [which I was already able to do with Applian's Replay Media Catcher 'rmc']. However, I was then able to adapt it to pipe the output to VLC. Also, with additional hints from the applian forum, I can enter rtmpdump as a plug-in to rmc, which then allow me to schedule recordings. Good.

Ultimately, I would like to be able to play these streams on my Logitech Squeezebox Radio, which is served from my Logitech Media Server (LMS) on a NAS drive. The problem is that Squeezebox Radio does not support rtmp streams, and playing them on the Logitech Squeezebox Radio would require some real time transcoding within the LMS. I suspect that this question is outside the scope of this forum, but would welcome any ideas.


for JRTV you can use Adobe HDS Downloader

example http://www.jrtv.jo/page.aspx?page_key=key_radio


php AdobeHDS.php --manifest "http://stream1.joinvisions.net:1935/jorlive/ar/manifest.f4m" --delete

That's totally new to me, and I have to figure out how to implement this code. I saw AdobeHDS.php is discussed in the rtmpdump subforum so I will look there for clues before asking anything more.

Thanks again

gc

biezom
02-21-2015, 07:56 AM
hi
to find rtmpdump parameters you can use rtmpdumphelper + rtmpdump

if you want play with vlc you can change -o option by
- | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

rtmpdump -r "rtmp://liveRadio.onlinehorizons.net/shabawreada" -a "shabawreada" -f "WIN 16,0,0,235" -W "http://lr.onlinehorizons.net/player.swf" -p "http://lr.onlinehorizons.net/shabawreada.html" --live -y "livestream" - | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

to find php AdobeHDS.php code you can use HDS link detector addon on firefox

George_C
02-23-2015, 09:18 AM
Thank you again biezom

I will try getting the rtmpdump parameters using rtmpdumphelper + rtmpdump as you propose.

In the meantime, I must correct what I wrote before.

with additional hints from the applian forum, I can enter rtmpdump as a plug-in to rmc, which then allow me to schedule recordings. Good.

Well, the scheduled recordings don't work. The scheduling feature in Replay Media Catcher (RMC) initiates the recording but simply creates 0 sized files. I think the rtmpdump parameters that work on the command line don't work when rtmpdump is used as a plugin in RMC. What should these parameters be then? I will post the question in the Applian forums, RMC being an Applian product, but if you know, I'd be grateful.

Regarding the piping of the rtmptdump command line to vlc, I had already figured it out. Thanks