Page 1 of 1
radio streamer Bionic 32 (solved)
Posted: Fri Dec 02, 2022 10:19 am
by gilles
Hello,
I am looking for a radio streamer that works with the radios of my choice (for example https://latina104.net/ or https://radios.com.do/perla-106-3-fm) with display of the name of the singers and title of the songs.
Thanks in advance
Re: radio streamer Bionic 32
Posted: Fri Dec 02, 2022 12:00 pm
by Jasper
Hi there
I have had a stab at this but got stuck and hopefully someone with more knowledge can provide a solution.
Using your 1st link, I opened up the code for the page and looked for the audio track/playlist that was being used.
I then used streamripper to see if it would allow me record the audio.
Initially it gives me the track name but it fails. I had to change the UserAgent in order to connect to the stream initially. Without it, you cannot connect.
Hopefully someone else has a solution for you.
Re: radio streamer Bionic 32
Posted: Fri Dec 02, 2022 12:11 pm
by Jasper
Forget the nonsense above
If you have mpv available to you. It might work the same way with VLC, Mplayer
Simply drop this url into it and it will give you the track names:
https://radio.dominiserver.com/proxy/la ... mp=/stream
Here's the mpv app:
http://distro.ibiblio.org/puppylinux/pe ... bionic.pet
Re: radio streamer Bionic 32
Posted: Fri Dec 02, 2022 3:33 pm
by gilles
Thank you Jasper.
But I use Bionic 32 not Bionic 64
I just installed mpv 32. But I don't see how to drop an URL in it !
I am looking for a streamer which shows directly the name of the singer and the title, juste like the radio website
Re: radio streamer Bionic 32
Posted: Fri Dec 02, 2022 3:48 pm
by Trapster
smplayer plays this stream and shows artist and title
https://radio.dominiserver.com/proxy/la ... mp=/stream
EDIT:
you can always start mpv in a console and paste the stream url into it.
The console does show artist and title while playing.
Code: Select all
mpv https://radio.dominiserver.com/proxy/latina104?mp=/stream
Re: radio streamer Bionic 32
Posted: Fri Dec 02, 2022 4:07 pm
by Jasper
@gilles
If you have difficulties then open up terminal as I have shown in my screenshot and then type in:
Code: Select all
mpv https://radio.dominiserver.com/proxy/latina104?mp=/stream
Better still try @Trapster idea
Re: radio streamer Bionic 32
Posted: Fri Dec 02, 2022 4:19 pm
by Trapster
Damn, I never new mpv had so many options.
You can start mpv with
Code: Select all
mpv --force-window https://radio.dominiserver.com/proxy/latina104?mp=/stream
I am using icewm and the artist and title shows in the window title bar.
You can always "Rollup" the window to just show the title bar while playing.
Re: radio streamer Bionic 32
Posted: Sat Dec 03, 2022 2:33 pm
by gilles
Re: radio streamer Bionic 32
Posted: Sat Dec 03, 2022 6:30 pm
by Jasper
@gilles
Sorry to hear your still having difficulties.
Looking at the last screenshot you provided it looks like the backend ie mpv and ffmpeg needs to updated
At the bottom of this page you can find the mpv application.
Maybe it has been compiled with the additional options
https://packages.ubuntu.com/bionic/mpv]
also for ffmpeg
https://packages.ubuntu.com/bionic/ffmpeg
Another solution might be to try Yradio provided by @fredx181
viewtopic.php?p=74256#p74256
Simply download the Yradio.gz file, extract it and run via terminal.
Re: radio streamer Bionic 32
Posted: Sat Dec 03, 2022 7:59 pm
by williams2
like the backend ie mpv and ffmpeg needs to updated
There are static builds of ffmpeg.
Most software that uses ffmpeg do not use the ffmpeg executable directly, they use the ffmpeg library files.
Updating to a newer static build of ffmpeg might not update the ffmpeg libs.
Installing a newer version of a static ffmpeg might uninstall some or all of the ffmpeg lib files.
Which might or might not apply to your particular situation.
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 1:27 am
by gilles
@jasper
I uninstalled mpv and installed it again with your link
I installed ffmpeg with your link.
But I have still the same problems
Thank you for your help
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 7:53 am
by Jasper
@gilles
The only thing I can suggest is to ask in the Bionic forum and hopefully someone may have a solution for you.
viewforum.php?f=115
BTW I liked Latina 104 so much, I bookmarked in my radio list, love Bacchata
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 11:00 am
by Philh
If you can play in your browser.
This site tells you whats playing.
https://onlineradiobox.com/do/latina104 ... 4&played=1
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 12:57 pm
by mikewalsh
@williams2 :-
williams2 wrote: ↑Sat Dec 03, 2022 7:59 pm
like the backend ie mpv and ffmpeg needs to updated
There are static builds of ffmpeg.
Most software that uses ffmpeg do not use the ffmpeg executable directly, they use the ffmpeg library files.
Updating to a newer static build of ffmpeg might not update the ffmpeg libs.
Installing a newer version of a static ffmpeg might uninstall some or all of the ffmpeg lib files.
Which might or might not apply to your particular situation.
Mm.....nope. Updating a static version of ffmpeg will always update the associated lib files, because the linking is all done at compile time. Hence, they don't need to be 'on the system'.....and as a result, the compiled binary is usually far more robust. I was under the impression you understood this..?
https://en.wikipedia.org/wiki/Static_bu ... c_building
https://en.wikipedia.org/wiki/Static_li ... advantages
Mike.
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 1:25 pm
by Jasper
@mikewalsh
Excellent news
So @gilles should be able to download this file :
https://johnvansickle.com/ffmpeg/releas ... tic.tar.xz
Extract it and overwrite his existing binary.
BTW, I could not see on John Van Sickle's website if he has compiled this with SSL support.
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 1:42 pm
by mikewalsh
@Jasper :-
Do bear in mind that although JvS's static ffmpeg binaries are "all-inclusive", you still need to consider the "date-sensitive" nature of all this. This is all the more important when dealing with anything older than a currently-supported Puppy, because whatever program/app is making use of ffmpeg still needs to access other stuff, too....which with dynamically-loaded libraries, is very much dependent on the age of all the other system components from the time when the OS was created.
In other words, one of the older static ffmpegs from around the same time-frame as the rest of Bionic's components will probably be more effective than always trying to use the very newest release.....a sensible point in itself, but not always the best move. It's a point I always consider when trying to build packages that will function across as wide a range of Puppies as possible; flies in the face of accepted practice, because Windoze has put everybody in the mind-set of "Ooh, must have the very newest version of everything all the time!"
It's NOT always necessary. Make sense?
Mike.
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 2:02 pm
by Jasper
@mikewalsh
Okay I followed what you explained and it makes sense
My understanding before then was that on that website it said that the builds were suitable for Linux kernels 3.20 upwards.
A quick check said that Bionic was 4.x.
I jumped to the conclusion that the binaries would be compatible
Also, as an afterthought I wasn't too sure if the existing SMPlayer had also been compiled with TLS support too if that would be an issue.
Thanks for the tips though
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 4:04 pm
by gilles
Jasper wrote: ↑Sun Dec 04, 2022 1:25 pm
@mikewalsh
Excellent news
So @gilles should be able to download this file :
https://johnvansickle.com/ffmpeg/releas ... tic.tar.xz
Extract it and overwrite his existing binary.
BTW, I could not see on John Van Sickle's website if he has compiled this with SSL support.
Hi,
download the file and extract it = no problem
overwrite my existing binary.... ???
I did this :
Code: Select all
# ~/Téléchargements/ffmpeg-5.1.1-i686-static
bash: /root/Téléchargements/ffmpeg-5.1.1-i686-static: Is a directory
# ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg
bash: ffmpeg:: Commande non trouvée
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 4:48 pm
by mikewalsh
@gilles :-
That 5.1.1 build of ffmpeg is way too new for Bionic, and SMPlayer will be expecting to work with far newer dynamic libraries than Bionic possesses.
Try this 32-bit build of v3.3.4, from 2018:-
https://drive.google.com/file/d/17Po4mt ... sp=sharing
----------------------------------------------
This is the version of SMPlayer I would recommend for Bionic32. It's one of Norgo's static builds of SMPlayer, which function very, very well.
https://drive.google.com/file/d/11trIec ... sp=sharing
---------------------------------------------
For SMPlayer, you also need the MPlayer 'backend'; SMPlayer is essentially a front-end GUI for this. You can check in /usr/bin to see if 'mplayer' exists. If not, you'll be able to install this from the PPM.
---------------------------------------------
Once you've done all that, start smplayer from the terminal:-
If there's any errors or it 'throws a wobbly' and goes into a sulk, copy/paste that output into your next post, please. Let us know how you get on.
Mike.
Re: radio streamer Bionic 32
Posted: Sun Dec 04, 2022 9:30 pm
by mikewalsh
@Jasper :-
Oh, every one of those builds will be kernel-compatible, yes.....but many tend to forget (or else haven't been round the block enough times to get the hang of things), that that's only half the story.
The kernel doesn't directly control whatever dependencies/other software any given app might expect to find. Experience - simply using stuff/encountering certain situations many times over the course of the years - counts for a lot. It's amazing how often you can "extrapolate" the resolution to a problem from past experience, and often you can re-use existing snippets of code you may have employed in the past......either directly, or with modification.
I couldn't have imagined, when I began with Linux some 8 1/2 yrs ago, that I would be capable of half the stuff I now do without even thinking about it.
Mike.
Re: radio streamer Bionic 32
Posted: Mon Dec 05, 2022 12:58 am
by OscarTalks
Is audacious audio player not suitable?
Here is one that I compiled in BionicPup32 some time ago:-
http://smokey01.com/OscarTalks/audaciou ... bionic.pet
It displays song information (if it is being sent) as well as other information like station name and stream web domain, plus you have the little bar-graph audio display.
If there is a .pls link you can load that directly into audacious to start playback, or you can download the .pls file and open it as text to see the stream URL which you can also enter into audacious that way.
Re: radio streamer Bionic 32
Posted: Mon Dec 05, 2022 4:14 pm
by gilles
Hi OscarTalks,
Thank you very much.
It works but it is not perfect :
I wrote this URL in audacious : https://radio.dominiserver.com/proxy/la ... mp=/stream and it works fine.
But adding this one https://radios.com.do/perla-106-3-fm/ , (or many others URLs), it doesn't work. I have this message : "error playing https://radios.com.do/perla-106-3-fm/: File format not recognized"
I don't understand !
Any idea ?
Thank you
Re: radio streamer Bionic 32
Posted: Mon Dec 05, 2022 6:18 pm
by OscarTalks
The problem is that you need to find and enter the stream URL not the web page URL.
If you are initially finding the audio stream (or radio station) via a web page, you do usually need to search for the direct media stream URL. Often you will find that they give it to you in some form as a link. In the case of latina 104 there is the "Listen with Winamp" button. If you right-click that and download the .pls file you can use that or open it as text and paste the URL into Audacious via File > Open URL or File > Add URL
If there is no obvious link for playing the stream in an external player you should be able to use the "Developer Tools" in the browser and go to the "Network" section. This should reveal the stream URL but you will probably need to reload the page. Again you can right-click and copy and paste if you find it. Often these websites deliberately embed the stream in a player in the web page and do not offer the stream URL openly because they want you to use a browser so they can force you to see their advertising. Maybe some of the other media players like SMPlayer or VLC will parse a web URL with embedded stream URL and play the stream, but I suspect not. If you are browsing large numbers of streams in a radio directory website it is probably best to use a browser. For a relatively small number of favourites, it takes a few extra moments to find the stream URL, but then once you store it, you can return to it any time and listen whenever you want without needing to use your browser for it.
Re: radio streamer Bionic 32
Posted: Mon Dec 05, 2022 6:39 pm
by norgo
OscarTalks wrote: ↑Mon Dec 05, 2022 6:18 pm
The problem is that you need to find and enter the stream URL not the web page URL.
so it is
To find the stream URL this Website will help.
Re: radio streamer Bionic 32
Posted: Mon Dec 05, 2022 8:01 pm
by Jasper
@norgo
Nice share
@gilles
this is the link copied from the website
Code: Select all
https://radio5.domint.net:8216/stream
Re: radio streamer Bionic 32
Posted: Tue Dec 06, 2022 1:03 am
by norgo
did a short test with the ffmpeg and mpv version (see links above) and a lot of dependencies
worked as expected
- smplayer.jpg (51.12 KiB) Viewed 1416 times
Code: Select all
ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/i386-linux-gnu --incdir=/usr/include/i386-linux-gnu --enable-gpl --disable-stripping --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype
--enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband
--enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm
--enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
mpv 0.27.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
ffmpeg library versions:
libavutil 55.78.100
libavcodec 57.107.100
libavformat 57.83.100
libswscale 4.8.100
libavfilter 6.107.100
libswresample 2.9.100
ffmpeg version: 3.4.11-0ubuntu0.1
This is SMPlayer v. 21.10.0 (revision 10000) running on Linux
Compiled with Qt v. 5.6.1, using 5.6.1
Re: radio streamer Bionic 32
Posted: Tue Dec 06, 2022 5:30 am
by Jasper
I can see it was compiled with GnuTLS so it should work with the streams
Re: radio streamer Bionic 32
Posted: Tue Dec 06, 2022 10:44 am
by gilles
Hello,
As usual, a wonderful help in this forum.
@OscarTalks I liked very much your very detailed explanations. I followed yours instructions and it works fine.
@norgo : very useful link
@Jasper the URL works fine
@mikewalsh as usual, very good help
Thank you