Skip to content

Instantly share code, notes, and snippets.

@mateuszszulc
Forked from stengland/BBC-Radio.m3u
Last active March 13, 2021 14:57
Show Gist options
  • Save mateuszszulc/e21c1c16cc9749cc1170 to your computer and use it in GitHub Desktop.
Save mateuszszulc/e21c1c16cc9749cc1170 to your computer and use it in GitHub Desktop.
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
#EXTINF:-1,BBC - Radio 2
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p
#EXTINF:-1,BBC - Radio 3
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-aac-lc-a/format/pls/vpid/bbc_radio_three.pls
#EXTINF:-1,BBC - Radio 4
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p
#EXTINF:-1,BBC - Radio 5 live
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio5live_mf_p
#EXTINF:-1,BBC - Radio 6
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_6music_mf_p
#EXTINF:-1,BBC - Radio 1 Extra
http://www.bbc.co.uk/radio/listen/live/r1x_aaclca.pls
#EXTINF:-1,BBC - Radio 4 Extra
http://www.bbc.co.uk/radio/listen/live/r4x_aaclca.pls
#EXTINF:-1,BBC - Radio 5 Live sports extra
http://www.bbc.co.uk/radio/listen/live/r5lsp_aaclca.pls
#EXTINF:-1,BBC - Radio Asian Network
http://www.bbc.co.uk/radio/listen/live/ran_aaclca.pls
# GistID: 8705765
@woelfl
Copy link

woelfl commented Mar 12, 2021

The above ffprobe output shows the stream is MP3. For an AAC stream you can use this:

http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_6music.m3u8

Hm... 403 Forbidden..?

$ ffprobe -i http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_6music.m3u8
ffprobe version 4.2.2 Copyright (c) 2007-2019 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.10.44.4)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[hls @ 0x7f9d28804600] Skip ('#EXT-X-VERSION:3')
[hls @ 0x7f9d28804600] Opening 'http://as-hls-uk-live.akamaized.net/pool_904/live/uk/bbc_6music/bbc_6music.isml/bbc_6music-audio%3d320000.norewind.m3u8' for reading
[http @ 0x7f9d26f020c0] HTTP error 403 Forbidden
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_6music.m3u8: Server returned 403 Forbidden (access denied)

@diroussel
Copy link

Still working for me. There's probably a geo ip restriction. You might need a UK IP address to access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment