Project

General

Profile

How to play stream with .m3u8 file?

Added by Bojan Marusic over 6 years ago

I want to listen to a radio station with Audacious, but it does not play with .m3u8 file. In Vlc it works. What I have to do?

http://radiom2o-lh.akamaihd.net/i/RadioM2o_Live_1@42518/master.m3u8


Replies (14)

RE: How to play stream with .m3u8 file? - Added by Thomas Lange over 6 years ago

This stream works for me, Audacious 3.7.1 with enabled FFmpeg plugin.

Please post the output of "audacious -V".

RE: How to play stream with .m3u8 file? - Added by Bojan Marusic over 6 years ago

Hi, here it is

bojan@linux-mint ~ $ audacious -V
main.c:572 [main]: No remote session; starting up.
main.c:462 [init_two]: Loading configuration.
main.c:465 [init_two]: Initializing.
main.c:478 [init_two]: Loading lowlevel plugins.
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Transport/gio.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Transport/unix-io.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Transport/neon.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Transport/mms.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/cdaudio-ng.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/xsf.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/aac.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/amidi-plug.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/modplug.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/vorbis.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/console.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/sid.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/vtx.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/sndfile.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/adplug.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/ffaudio.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/psf2.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/tonegen.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/flacng.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/metronom.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/madplug.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Input/wavpack.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Output/oss4.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Output/jackout.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Output/alsa.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Output/filewriter.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Output/sdlout.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Output/pulse_audio.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/mixer.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/resample.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/ladspa.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/crossfade.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/voice_removal.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/compressor.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/stereo.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/speed-pitch.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/bs2b.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/echo.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Effect/crystalizer.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/aosd.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/lirc.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/alarm.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/scrobbler.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/song_change.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/gtkui.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/albumart.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/notify.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/search-tool.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/skins.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/hotkey.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/mpris2.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/lyricwiki.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/statusicon.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/cd-menu-items.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/General/gnomeshortcuts.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Visualization/gl-spectrum.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Visualization/cairo-spectrum.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Visualization/blur_scope.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Container/asx.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Container/pls.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Container/m3u.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Container/cue.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Container/xspf.so
plugin-registry.c:551 [plugin_register]: Register plugin: /usr/lib/x86_64-linux-gnu/audacious/Container/audpl.so
plugin-init.c:85 [start_single]: Starting selected output plugin PulseAudio Output.
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib/x86_64-linux-gnu/audacious/Output/pulse_audio.so.
main.c:481 [init_two]: Starting worker threads.
main.c:485 [init_two]: Restoring state.
playlist-files.c:62 [playlist_load]: Loading playlist file:///home/bojan/.config/audacious/playlists/1000.audpl.
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib/x86_64-linux-gnu/audacious/Container/audpl.so.
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib/x86_64-linux-gnu/audacious/Transport/unix-io.so.
VFS: <0x24334c0> open (mode r) file:///home/bojan/.config/audacious/playlists/1000.audpl
VFS: <0x24334c0> close
main.c:490 [init_two]: Loading highlevel plugins.
plugin-init.c:115 [start_multi_cb]: Starting Audio CD Menu Items.
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib/x86_64-linux-gnu/audacious/General/cd-menu-items.so.
plugin-init.c:115 [start_multi_cb]: Starting MPRIS 2 Server.
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib/x86_64-linux-gnu/audacious/General/mpris2.so.
plugin-init.c:85 [start_single]: Starting selected interface plugin GTK Interface.
interface.c:247 [iface_plugin_set_current]: Loading GTK Interface.
pluginenum.c:63 [plugin_load]: Loading plugin: /usr/lib/x86_64-linux-gnu/audacious/General/gtkui.so.
ui_gtk.c:850 [init]: hooks associate
ui_gtk.c:853 [init]: playlist associate
interface.c:254 [iface_plugin_set_current]: Loading visualizers.
interface.c:257 [iface_plugin_set_current]: Loading plugin widgets.
general.c:50 [general_load]: Loading Audio CD Menu Items.
general.c:50 [general_load]: Loading MPRIS 2 Server.
dbus.c:177 [init_dbus]: Trying to initialize D-Bus.
dbus.c:94 [audacious_rc_init]: Registering remote D-Bus interfaces.
dbus.c:148 [mpris_player_init]: object->proxy == NULL; not adding some signals.
dbus.c:168 [mpris_tracklist_init]: object->proxy == NULL, not adding some signals.
main.c:575 [main]: Startup complete.

RE: How to play stream with .m3u8 file? - Added by Thomas Lange over 6 years ago

The output would be more useful when you try to play the stream. Anyway, the FFmpeg plugin is enabled. What version of Audacious do you use?

Also make sure the dependency for FFmpeg is installed (like libavcodec-ffmpeg or similar).

RE: How to play stream with .m3u8 file? - Added by Bojan Marusic over 6 years ago

Audacious 3.4.3
If I open Audacious, try to play and post this command in terminal nothing happened.

I'm looking in Synpatic for libavcodec-ffmpeg but is not there. I found libxine1-ffmpeg, libxine2-ffmpeg is this ok?
I'm using Linux Mint.

RE: How to play stream with .m3u8 file? - Added by Thomas Lange over 6 years ago

You should start Audacious by running this command and then open the audio file.

Why do you not try installing the libxine packages? If it does not resolve the problem, just uninstall them again.

Version 3.4 is really old, consider upgrading for example with the WebUpd8 PPA.

[1] http://www.webupd8.org/2015/11/audacious-37-released-available-in-ppa.html

RE: How to play stream with .m3u8 file? - Added by Bojan Marusic over 6 years ago

Now I instaled libxine but it is the same.
Here is once again audacious -V and then open the url

http://textuploader.com/52j6o

RE: How to play stream with .m3u8 file? - Added by Thomas Lange over 6 years ago

It looks like your version of FFmpeg is too old and therefore does not support the AAC format.

RE: How to play stream with .m3u8 file? - Added by Thomas Lange over 6 years ago

Audacious does not use FFmpeg from your home directory, that is the reason why nothing changed.
You have to recompile Audacious and specify the path of your local FFmpeg installation.

RE: How to play stream with .m3u8 file? - Added by John Lindgren over 6 years ago

I don't FFmpeg is the issue here. The problem is that he has a playlist nested inside a playlist; i.e. his local playlist (/home/bojan/Glasba/Net radio.xspf) points to another playlist (http://radiom2o-lh.akamaihd.net/i/RadioM2o_Live_1@42518/master.m3u8). Audacious doesn't support this.

RE: How to play stream with .m3u8 file? - Added by Thomas Lange about 6 years ago

Then why does it work here with Audacious 3.7.1 and FFmpeg 2.8.6?

RE: How to play stream with .m3u8 file? - Added by John Lindgren about 6 years ago

Why does what work? Nested playlists?

RE: How to play stream with .m3u8 file? - Added by Thomas Lange about 6 years ago

Playing the file mentioned in the original post.

RE: How to play stream with .m3u8 file? - Added by John Lindgren about 6 years ago

Yes, it works fine to play it directly. But that's not what he was doing, as you can see if you look at the log carefully.

    (1-14/14)