yt-dlp: [RTBF.be] Extration problem for the "Live" streams

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

  • I’m reporting a broken site
  • I’ve verified that I’m running yt-dlp version 2022.08.08 (update instructions) or later (specify commit)
  • I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue
  • I’ve read about sharing account credentials and I’m willing to share it if required

Region

Belgique

Provide a description that is worded well enough to be understood

Extration problem for the “Live” streams found here: https://www.rtbf.be/auvio/direct#/

It seems to be blocked because of Subtitle…

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

$ yt-dlp -vU -g --cookies-from-browser firefox https://www.rtbf.be/auvio/direct_le-beau-velo-de-ravel?lid=408218#/
[debug] Command-line config: ['-vU', '-g', '--cookies-from-browser', 'firefox', 'https://www.rtbf.be/auvio/direct_le-beau-velo-de-ravel?lid=408218#/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.08 [3157158] (pip)
[debug] Python 3.9.13 (CPython 64bit) - macOS-10.15.7-x86_64-i386-64bit 
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1 (setts), ffprobe 5.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "/Users/xxx/Library/Application Support/Firefox/Profiles/xc8x3893.default-release/cookies.sqlite"
[Cookies] Extracted 888 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.08.08, Current version: 2022.08.08
yt-dlp is up to date (2022.08.08)
[debug] [RTBF] Extracting URL: https://www.rtbf.be/auvio/direct_le-beau-velo-de-ravel?lid=408218#/
[RTBF] 408218: Downloading webpage
ERROR: 408218: An extractor error has occurred. (caused by KeyError('subtitle')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/Cellar/yt-dlp/2022.8.8/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 666, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/yt-dlp/2022.8.8/libexec/lib/python3.9/site-packages/yt_dlp/extractor/redbee.py", line 283, in _real_extract
    title = data['subtitle']
KeyError: 'subtitle'

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks!

I’ve already found a fix using the new RedBee extractor (https://github.com/yt-dlp/yt-dlp/pull/4479), I’m just trying to figure out what to do with the ‘fake’ streams without affecting old videos 🤔

[Cookies] Extracting cookies from firefox
[Cookies] Extracted 2669 cookies from firefox
[RTBF] 408219: Downloading webpage
[RTBF] live_408219: Downloading JSON metadata
[RTBF] live_408219: Downloading JSON metadata
[RTBF] live_408219: Downloading JSON metadata
[RTBF] live_408219: Downloading MPD manifest
[RTBF] live_408219: Downloading m3u8 information
[RTBF] live_408219: Downloading ISM manifest
[info] Available formats for 408219:
ID                                          EXT  RESOLUTION FPS │   TBR PROTO │ VCODEC        VBR ACODEC      ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
audio_fre=64000                             m4a  audio only     │   64k dash  │ audio only        mp4a.40.2   64k 48k [fr] DASH audio, m4a_dash
audio_qaa=64000                             m4a  audio only     │   64k dash  │ audio only        mp4a.40.2   64k 48k [qaa] DASH audio, m4a_dash
audio_qad=64000                             m4a  audio only     │   64k dash  │ audio only        mp4a.40.2   64k 48k [qad] DASH audio, m4a_dash
audio_fre=128000                            m4a  audio only     │  128k dash  │ audio only        mp4a.40.2  128k 48k [fr] DASH audio, m4a_dash
audio_qaa=128000                            m4a  audio only     │  128k dash  │ audio only        mp4a.40.2  128k 48k [qaa] DASH audio, m4a_dash
audio_qad=128000                            m4a  audio only     │  128k dash  │ audio only        mp4a.40.2  128k 48k [qad] DASH audio, m4a_dash
audio_fre=192000                            m4a  audio only     │  192k dash  │ audio only        mp4a.40.2  192k 48k [fr] DASH audio, m4a_dash
audio_qaa=192000                            m4a  audio only     │  192k dash  │ audio only        mp4a.40.2  192k 48k [qaa] DASH audio, m4a_dash
audio_qad=192000                            m4a  audio only     │  192k dash  │ audio only        mp4a.40.2  192k 48k [qad] DASH audio, m4a_dash
audio-aacl-128-Français                     m3u8 audio only     │       m3u8  │ audio only        unknown             [fr] Français
audio-aacl-128-Français__Audio_description_ m3u8 audio only     │       m3u8  │ audio only        unknown             [qad] Français (Audio description)
audio-aacl-128-Version_originale            m3u8 audio only     │       m3u8  │ audio only        unknown             [qaa] Version originale
audio-aacl-192-Français                     m3u8 audio only     │       m3u8  │ audio only        unknown             [fr] Français
audio-aacl-192-Français__Audio_description_ m3u8 audio only     │       m3u8  │ audio only        unknown             [qad] Français (Audio description)
audio-aacl-192-Version_originale            m3u8 audio only     │       m3u8  │ audio only        unknown             [qaa] Version originale
audio-aacl-64-Français                      m3u8 audio only     │       m3u8  │ audio only        unknown             [fr] Français
audio-aacl-64-Français__Audio_description_  m3u8 audio only     │       m3u8  │ audio only        unknown             [qad] Français (Audio description)
audio-aacl-64-Version_originale             m3u8 audio only     │       m3u8  │ audio only        unknown             [qaa] Version originale
video=260000_mode=trik_                     mp4  416x234        │   91k dash  │ avc1.64000D   91k video only          DASH video, mp4_dash
video=260000                                mp4  416x234     25 │  260k dash  │ avc1.64000D  260k video only          DASH video, mp4_dash
341                                         mp4  416x234     25 │  341k m3u8  │ avc1.64000D  341k video only
video=450000_mode=trik_                     mp4  448x252        │  158k dash  │ avc1.640015  158k video only          DASH video, mp4_dash
video=450000                                mp4  448x252     25 │  450k dash  │ avc1.640015  450k video only          DASH video, mp4_dash
542                                         mp4  448x252     25 │  542k m3u8  │ avc1.640015  542k video only
video=800000_mode=trik_                     mp4  576x324        │  280k dash  │ avc1.640015  280k video only          DASH video, mp4_dash
video=800000                                mp4  576x324     25 │  800k dash  │ avc1.640015  800k video only          DASH video, mp4_dash
978                                         mp4  576x324     25 │  978k m3u8  │ avc1.640015  978k video only
video=1400000_mode=trik_                    mp4  704x396        │  490k dash  │ avc1.64001E  490k video only          DASH video, mp4_dash
video=1400000                               mp4  704x396     25 │ 1400k dash  │ avc1.64001E 1400k video only          DASH video, mp4_dash
1614                                        mp4  704x396     25 │ 1614k m3u8  │ avc1.64001E 1614k video only
video=2200000_mode=trik_                    mp4  896x504        │  770k dash  │ avc1.64001F  770k video only          DASH video, mp4_dash
video=2200000                               mp4  896x504     25 │ 2200k dash  │ avc1.64001F 2200k video only          DASH video, mp4_dash
2462                                        mp4  896x504     25 │ 2462k m3u8  │ avc1.64001F 2462k video only
video=3500000_mode=trik_                    mp4  1280x720       │ 1225k dash  │ avc1.64001F 1225k video only          DASH video, mp4_dash
video=3500000                               mp4  1280x720    25 │ 3500k dash  │ avc1.64001F 3500k video only          DASH video, mp4_dash
3904                                        mp4  1280x720    25 │ 3904k m3u8  │ avc1.64001F 3904k video only

The problem is the sound in the stream because the video without sound there is 0 problem it is fluid but as soon as you activate the sound then everything freezes but that is them the problem and not us but I say it anyway for your tests 😃

Update : It was my computer the problem, sorry x)

(The site and the live feeds are currently in trouble I think because they don’t load properly from what I see) I think I may have discovered something. I tried with Safari and I looked at what was going through the network and it’s not a Dash feed but a M3U8 feed! So there is a way to get it and there is no token as far as I can see.

Here is what I could get: https://c9851ec-rbm-hilv.fsly.cdn.ebsd.ericsson.net/L25/3bd9567b/ee1747fe.isml/.m3u8

Okay, thank you very much. I must admit that DASH and DRM protection are subjects that still escape me a little… If you need, or if you have any questions I would be delighted to help you.

This is the first time I’ve tried it. I discovered the repo while searching because YT-DL doesn’t work at all for the site and this discovery seems to work very well for VOD which is great but I was using it mainly for the Live stream. And be careful because it throws fake “m3u8” streams that are fixed and always the same… Because that’s what YT-DL does it downloads the fake streams and not the protected DASH stream. But this is the first time I’m trying it and I didn’t see any info on the live stream so I took the liberty of opening a ticket. I will test tomorrow to see if I get the same thing as you, thanks for your help