Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Streaming question (Radio Cultura Brasil, São Paulo) (Read 2876 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Streaming question (Radio Cultura Brasil, São Paulo)

One of my favorite radio streams, Radio Cultura Brasil, out of São Paulo, has recently changed in such a way that the audio link I was using no longer works.  The stream is now only available through a video feed (https://cultura.uol.com.br/aovivo/67_ao-vivo-radio-cultura-brasil.html), and I can't find any way to extract an audio stream from the video.  Can anyone help?  Is there a Foobar component that would help with this (I don't see an obvious candidate)? I have tried "inspecting" the link to identify a url that would work, but the most I can load into Foobar that will play is 10-second "chunks."  I suspect that this kind of thing is going to happen more and more.  I don't understand what the motivation is, for the broadcasters.  Simply that they are robbed of clicks if people don't listen through their site?  This particular station is noncommercial, I'm fairly certain.  I would miss it, terribly, if I can't access it through Foobar.

The link that I was using (https://radiocultura2.jmvstream.com/stream) has an audio loop explaining the change (or so I assume), but as I don't know Portuguese, I can't make anything of it.  Anyone here understand?

Thanks very much,
N.



Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #3
Yes, thanks Gus.  I tried those, but they are not the same station.  A little confusing, I know.  The programming on the one with the video stream is pretty great, and I haven't found another to match it (that is, if one is interested in classic MPB and bossa nova and such).

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #4
I even tried youtube component and the ffmpeg wrapper, I get "Forbidden" in foobar but it does play in Potplayer with the video, I couldn't figure if the audio only could be extracted.
https://evpp.mm.uol.com.br/cultura2/cultura2.sdp/playlist.m3u8
URL of embedded video stream

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #5
Thanks much for your efforts, Gus.  Interesting that it will play in PotPlayer (I'm doing so now).  That eliminates, at least, the possibility that it's a matter of national borders (like for the higher bitrate BBC streams), which I thought it might be.  Otherwise, I thought the solution might be, yes, an ffmpeg "wrapper," but I didn't really know how to go about that. 

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #6
By the way: I've experienced the same thing with another favorite, the streaming only The Lot Radio, from Brookyn, New York (https://www.thelotradio.com/).  Now only available through the video on the site.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #7
By the way: I've experienced the same thing with another favorite, the streaming only The Lot Radio, from Brookyn, New York (https://www.thelotradio.com/).  Now only available through the video on the site.

Code: [Select]
https://prg-prod-catalyst-0.lp-playback.studio/video+85c28sa2o8wppm58.aac

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #8
I even tried youtube component and the ffmpeg wrapper, I get "Forbidden" in foobar but it does play in Potplayer with the video, I couldn't figure if the audio only could be extracted.
https://evpp.mm.uol.com.br/cultura2/cultura2.sdp/playlist.m3u8
URL of embedded video stream
With component installed Youtube Source
In the component settings, select: "Decoding/Audio Decoder -> ffmpeg"
Then in the player select "Add Location..." and adding the URL with "fy+"
Code: [Select]
fy+https://evpp.mm.uol.com.br/cultura2/cultura2.sdp/playlist.m3u8

By the way, this URL:
Code: [Select]
https://cultura.uol.com.br/aovivo/67_ao-vivo-radio-cultura-brasil.html
is also reproduced with this component Youtube Source. I add it using "Add Location..." in fb2k without "fy+".

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #9
Thank you both so very much.  Zeremy:  Works perfect for The Lot. Sergey: The first link/method works well, except for one detail: Foobar won't save the whole link for some reason when I save the new playlist.  It drops the "fy+", so that I will have to reload the location each time.  An inconvenience, but maybe I can figure out a fix. The second link does not work for me.  I get an "unspported file format" message.  Perhaps it's a lower bit rate not supported by my soundcard (EVGA NuAudio). 

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #10
According to Potplayer, the Brasil video stream has AAC 16-bit 48 KHZ stereo audio, any audio device should support at least 44.1 48 96 and some 192 KHZ.
Nu Audio:
Playback Format:
Up to 384kHz, 32bit (Stereo)
Up to 192kHz, 24bit (Optical

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #11
The stream at https://cultura.uol.com.br/aovivo/67_ao-vivo-radio-cultura-brasil.html works if I spoof FFmpeg's user agent.
It's supposed to be possible to get such working using my FFmpeg decoder wrapper, only foobar2000 hits this error trying to determine stream's content type, before deciding which decoder to use, so it gives up.
I'm investigating a workaround, but it's a clear case of broken/misconfigured/hostile server.
Microsoft Windows: We can't script here, this is bat country.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #12
Thanks much, Peter, for looking into it.   N.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #13
I even tried youtube component and the ffmpeg wrapper, I get "Forbidden" in foobar but it does play in Potplayer with the video, I couldn't figure if the audio only could be extracted.
https://evpp.mm.uol.com.br/cultura2/cultura2.sdp/playlist.m3u8
FYI, FFmpeg wrapper can now play it with foobar2000 v2.1.1.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #14
Thank You Peter and Case! I can confirm it does play the audio from the video stream.
I use these x64 builds of FFmpeg: https://github.com/GyanD/codexffmpeg/releases

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #15
Thanks very much, but I’m sorry to say that it’s not working for me, with Foobar 2.1.1.  Get the “403 Forbidden” error message.  I generally use 32-bit Foobar (OS is Windows 10 64-bit) because I like Deskband Controls so much.  But I tried with both 32-bit and 64-bit Foobar, with the same result.  I’m fairily certain that I have FFMPEG Decoder Wrapper configured correctly, and I reloaded the binaries from ffmpeg-6.1.1-full_build.zip , from the site Gus used.  Stumped.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #16
Preferences > Playback > Decoding
Move FFmpeg Decoder Wrapper to the top of the list

Preferences > Playback > Decoding > FFmpeg Decoder Wrapper
Did you tick at least HLS and RTMP?

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #17
Preferences > Playback > Decoding > FFmpeg Decoder Wrapper
FFmpeg installation folder: Make sure it shows ffmpeg.exe and ffprobe.exe found...
It takes a while to connect to the stream.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #18
Ah: There we go.  All was right except that FFmpeg Decoder Wrapper was at the bottom of the list.  Moved it to the top, and now I am streaming.  Yes, takes a few moments.   Thanks very much to all of you.  N.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #19
Something has changed with this stream again, and I can't access through Foobar.  Have tried everything I know of to find a URL that will play.  If anyone has any hints, would be much appreciated.  There is a pop-up player for two streams at this link, and I am especially interested in "Cultura Brasil" (although sometimes the programming for the two is the same): https://cultura.uol.com.br/radio/

Thanks much,
N.


Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #21
Thanks so much, Gus.  Works!  I'm clueless as to how you figured that out, but I think I see what I would need to do if the URL changes. N.

Re: Streaming question (Radio Cultura Brasil, São Paulo)

Reply #22
I use a browser extension to grab the stream URL, and I delete the extras after the file extension, in this case .mpd
ffmpeg was updated to version 7.0 https://github.com/GyanD/codexffmpeg/releases
Probably makes no difference in this case.