
Currently listening to Sydney’s TripleJ radio station using the ffplay utility (part of FFmpeg). For anybody else who wants to listen without having to go through a web browser, ABC helpfully provide a list of direct-streaming URLs for their stations at <https://radio.abc.net.au/help/streams>. ffplay reports some interesting additional details about the stream: Metadata: icy-notice1 : <BR>This stream requires <a href="http://www.winamp.com">Winamp</a><BR> icy-notice2 : SHOUTcast DNAS/posix(linux x64) v2.4.7.256<BR> icy-name : Triple J NSW icy-genre : Misc icy-br : 64 icy-url : http://www.abc.net.au/radio icy-pub : 0 In other words, they seem to be streaming from a Linux server, but their recommendation is for a client that doesn’t run on Linux...

Hi Lawrence Thanks for this, both the ABC streaming site and ffplay. I was able to listen to the two classical streams via browser or VLC. Also a detailed programme listing for their classic FM stream. http://www.abc.net.au/classic/music-listings/ I tried to use ffplay, but couldn't decipher the syntax and options to use it successfully. Can you let me know the command to use, and/or a user-friendly manual or Howto for ffplay. A way of finding direct-streaming URLs without using Pandora or a similar service would also be welcome. Thankls again Rod On 1 January 2017 at 22:51, Lawrence D'Oliveiro <ldo(a)geek-central.gen.nz> wrote:
Currently listening to Sydney’s TripleJ radio station using the ffplay utility (part of FFmpeg). For anybody else who wants to listen without having to go through a web browser, ABC helpfully provide a list of direct-streaming URLs for their stations at <https://radio.abc.net.au/help/streams>.
ffplay reports some interesting additional details about the stream:
Metadata: icy-notice1 : <BR>This stream requires <a href=" http://www.winamp.com">Winamp</a><BR> icy-notice2 : SHOUTcast DNAS/posix(linux x64) v2.4.7.256<BR> icy-name : Triple J NSW icy-genre : Misc icy-br : 64 icy-url : http://www.abc.net.au/radio icy-pub : 0
In other words, they seem to be streaming from a Linux server, but their recommendation is for a client that doesn’t run on Linux... _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/mailman/listinfo/wlug

On Mon, 2 Jan 2017 18:08:08 +1300, Roderick Aldridge wrote:
I tried to use ffplay, but couldn't decipher the syntax and options to use it successfully.
It takes a couple of steps. Starting from <https://radio.abc.net.au/help/streams>, choose one of the links for the station you want to listen to. Say I pick the AAC+ link for TripleJ: <http://www.abc.net.au/res/streaming/audio/aac/triplej.pls>. I grab the contents of this URL (it’s a “playlist” file) with wget, and print it directly to the screen without saving it, with “-O -”: ldo(a)theon:~> wget -O - http://www.abc.net.au/res/streaming/audio/aac/triplej.pls --2017-01-02 19:12:37-- http://www.abc.net.au/res/streaming/audio/aac/triplej.pls Resolving www.abc.net.au (www.abc.net.au)... 203.109.255.65, 203.109.255.59 Connecting to www.abc.net.au (www.abc.net.au)|203.109.255.65|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 240 [audio/x-scpls] Saving to: ‘STDOUT’ - 0%[ ] 0 --.-KB/s [playlist] NumberOfEvents=2 File1=http://live-radio01.mediahubaustralia.com/2TJW/aac/ Title1=Triple J NSW Length1=-1 Version=2 File2=http://live-radio02.mediahubaustralia.com/2TJW/aac/ Title2=Triple J NSW Length2=-1 Version=2 - 100%[===================>] 240 --.-KB/s in 0s 2017-01-02 19:12:37 (43.1 MB/s) - written to stdout [240/240] As you can see, the result is some text containing two “http:” links. I pick either one, say the first one, and pass it to ffplay: ffplay http://live-radio01.mediahubaustralia.com/2TJW/aac/ and the station immediately starts playing. By default, ffplay puts up a video window which is filled with some kind of visualization of the audio. If you don’t want this, you can turn it off with the “-nodisp” option: ffplay -nodisp http://live-radio01.mediahubaustralia.com/2TJW/aac/ You can stop it playing with CTRL/C in the terminal window. Or, if the video window is visible and active, then pressing ESC will close it and quit ffplay. Once you have that last link, you can skip all the intermediate steps to play the stream again. Unless and until they decide to change the link. :)

Thanks Lawrence. Worked like a charm. Rod On 2 January 2017 at 19:23, Lawrence D'Oliveiro <ldo(a)geek-central.gen.nz> wrote:
On Mon, 2 Jan 2017 18:08:08 +1300, Roderick Aldridge wrote:
I tried to use ffplay, but couldn't decipher the syntax and options to use it successfully.
It takes a couple of steps.
Starting from <https://radio.abc.net.au/help/streams>, choose one of the links for the station you want to listen to. Say I pick the AAC+ link for TripleJ: <http://www.abc.net.au/res/streaming/audio/aac/triplej.pls>.
I grab the contents of this URL (it’s a “playlist” file) with wget, and print it directly to the screen without saving it, with “-O -”:
ldo(a)theon:~> wget -O - http://www.abc.net.au/res/ streaming/audio/aac/triplej.pls --2017-01-02 19:12:37-- http://www.abc.net.au/res/ streaming/audio/aac/triplej.pls Resolving www.abc.net.au (www.abc.net.au)... 203.109.255.65, 203.109.255.59 Connecting to www.abc.net.au (www.abc.net.au)|203.109.255.65|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 240 [audio/x-scpls] Saving to: ‘STDOUT’
- 0%[ ] 0 --.-KB/s [playlist] NumberOfEvents=2
File1=http://live-radio01.mediahubaustralia.com/2TJW/aac/ Title1=Triple J NSW Length1=-1 Version=2
File2=http://live-radio02.mediahubaustralia.com/2TJW/aac/ Title2=Triple J NSW Length2=-1 Version=2 - 100%[===================>] 240 --.-KB/s in 0s
2017-01-02 19:12:37 (43.1 MB/s) - written to stdout [240/240]
As you can see, the result is some text containing two “http:” links. I pick either one, say the first one, and pass it to ffplay:
ffplay http://live-radio01.mediahubaustralia.com/2TJW/aac/
and the station immediately starts playing.
By default, ffplay puts up a video window which is filled with some kind of visualization of the audio. If you don’t want this, you can turn it off with the “-nodisp” option:
ffplay -nodisp http://live-radio01.mediahubaustralia.com/2TJW/aac/
You can stop it playing with CTRL/C in the terminal window. Or, if the video window is visible and active, then pressing ESC will close it and quit ffplay.
Once you have that last link, you can skip all the intermediate steps to play the stream again. Unless and until they decide to change the link. :) _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/mailman/listinfo/wlug

I used ffplay to play RNZ Concert with URL http://radionz-ice.streamguys.com/concert which Ian Stewart found for me. It works with VLC. It actually worked with ffplay, but gave an error message Channel element 1.6 is not allocated f=0/0 Element type mismatch 1 !=0/0 etc Do you know what options to use to correct the mismatch? By the way VLC is able to record the RNZ Concert network stream, also the ABC direct streaming URLs. Rod On 2 January 2017 at 20:19, Roderick Aldridge <rod.aldridge1(a)gmail.com> wrote:
Thanks Lawrence. Worked like a charm.
Rod
On 2 January 2017 at 19:23, Lawrence D'Oliveiro <ldo(a)geek-central.gen.nz> wrote:
On Mon, 2 Jan 2017 18:08:08 +1300, Roderick Aldridge wrote:
I tried to use ffplay, but couldn't decipher the syntax and options to use it successfully.
It takes a couple of steps.
Starting from <https://radio.abc.net.au/help/streams>, choose one of the links for the station you want to listen to. Say I pick the AAC+ link for TripleJ: <http://www.abc.net.au/res/streaming/audio/aac/triplej.pls>.
I grab the contents of this URL (it’s a “playlist” file) with wget, and print it directly to the screen without saving it, with “-O -”:
ldo(a)theon:~> wget -O - http://www.abc.net.au/res/stre aming/audio/aac/triplej.pls --2017-01-02 19:12:37-- http://www.abc.net.au/res/stre aming/audio/aac/triplej.pls Resolving www.abc.net.au (www.abc.net.au)... 203.109.255.65, 203.109.255.59 Connecting to www.abc.net.au (www.abc.net.au)|203.109.255.65|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 240 [audio/x-scpls] Saving to: ‘STDOUT’
- 0%[ ] 0 --.-KB/s [playlist] NumberOfEvents=2
File1=http://live-radio01.mediahubaustralia.com/2TJW/aac/ Title1=Triple J NSW Length1=-1 Version=2
File2=http://live-radio02.mediahubaustralia.com/2TJW/aac/ Title2=Triple J NSW Length2=-1 Version=2 - 100%[===================>] 240 --.-KB/s in 0s
2017-01-02 19:12:37 (43.1 MB/s) - written to stdout [240/240]
As you can see, the result is some text containing two “http:” links. I pick either one, say the first one, and pass it to ffplay:
ffplay http://live-radio01.mediahubaustralia.com/2TJW/aac/
and the station immediately starts playing.
By default, ffplay puts up a video window which is filled with some kind of visualization of the audio. If you don’t want this, you can turn it off with the “-nodisp” option:
ffplay -nodisp http://live-radio01.mediahubaustralia.com/2TJW/aac/
You can stop it playing with CTRL/C in the terminal window. Or, if the video window is visible and active, then pressing ESC will close it and quit ffplay.
Once you have that last link, you can skip all the intermediate steps to play the stream again. Unless and until they decide to change the link. :) _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/mailman/listinfo/wlug

On Tue, 3 Jan 2017 08:35:44 +1300, Roderick Aldridge wrote:
I used ffplay to play RNZ Concert with URL http://radionz-ice.streamguys.com/concert which Ian Stewart found for me. It works with VLC. It actually worked with ffplay, but gave an error message Channel element 1.6 is not allocated f=0/0 Element type mismatch 1 !=0/0 etc
I get similar messages: [aac @ 0x7f1d0800db40] Reserved bit set. [aac @ 0x7f1d0800db40] Number of bands (11) exceeds limit (8). [aac @ 0x7f1d0800db40] element type mismatch 1 != 0 but the stream plays OK as far as I can tell. I see this kind of thing all the time with movie downloads etc. I think they’re just warnings. I put it down to quirks/bugs in encoders. :) FYI, the corresponding URL <http://radionz-ice.streamguys.com/national> works for RNZ National. And for those who like George FM, try this: <rtmpe://live-non-geo.mediaworks.co.nz/live/georgefm_64kbps>.

Yes. It plays OK, which is what matters, but I notice that it take a moment to start, while the ABC links work almost instantly. Rod On 3 January 2017 at 10:44, Lawrence D'Oliveiro <ldo(a)geek-central.gen.nz> wrote:
On Tue, 3 Jan 2017 08:35:44 +1300, Roderick Aldridge wrote:
I used ffplay to play RNZ Concert with URL http://radionz-ice.streamguys.com/concert which Ian Stewart found for me. It works with VLC. It actually worked with ffplay, but gave an error message Channel element 1.6 is not allocated f=0/0 Element type mismatch 1 !=0/0 etc
I get similar messages:
[aac @ 0x7f1d0800db40] Reserved bit set. [aac @ 0x7f1d0800db40] Number of bands (11) exceeds limit (8). [aac @ 0x7f1d0800db40] element type mismatch 1 != 0
but the stream plays OK as far as I can tell. I see this kind of thing all the time with movie downloads etc. I think they’re just warnings. I put it down to quirks/bugs in encoders. :)
FYI, the corresponding URL <http://radionz-ice.streamguys.com/national> works for RNZ National.
And for those who like George FM, try this: <rtmpe://live-non-geo.mediaworks.co.nz/live/georgefm_64kbps>. _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/mailman/listinfo/wlug
participants (2)
-
Lawrence D'Oliveiro
-
Roderick Aldridge