plugins.youtube: Wrong content captured
Author: GrabienCreated Oct 21, 2025Updated Oct 21, 2025
Labelsplugin issue
Checklist
- This is a plugin issue and not a different kind of issue
- I have read the contribution guidelines
- I have checked the list of open and recently closed plugin issues
- I have checked the commit log of the master branch
Collaboration
Streamlink version
streamlink 7.6.0
Description
For some YouTube live streams, Streamlink started to capture the wrong content, a short fragment. Usually, it's some kind of caption instead of the full stream. The issue can be reproduced with this stream:
https://www.youtube.com/@AlArabiyaEnglish/live
Instead of the full stream, a 15-second fragment with a "Coming up" message is captured. This happens for any IP and location.
Debug/trace log
streamlink "https://www.youtube.com/@AlArabiyaEnglish/live" best --loglevel=debug --output test.ts
[session][debug] Loading plugin: youtube
[cli][debug] OS: Windows 11
[cli][debug] Python: 3.13.1
[cli][debug] OpenSSL: OpenSSL 3.0.15 3 Sep 2024
[cli][debug] Streamlink: 7.6.0
[cli][debug] Dependencies:
[cli][debug] certifi: 2024.12.14
[cli][debug] isodate: 0.7.2
[cli][debug] lxml: 5.3.0
[cli][debug] pycountry: 24.6.1
[cli][debug] pycryptodome: 3.21.0
[cli][debug] PySocks: 1.7.1
[cli][debug] requests: 2.32.3
[cli][debug] trio: 0.27.0
[cli][debug] trio-websocket: 0.11.1
[cli][debug] urllib3: 2.2.3
[cli][debug] websocket-client: 1.8.0
[cli][debug] Arguments:
[cli][debug] url=https://www.youtube.com/@AlArabiyaEnglish/live
[cli][debug] stream=['best']
[cli][debug] --loglevel=debug
[cli][debug] --output=test.ts
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/@AlArabiyaEnglish/live
[plugins.youtube][debug] consent target: https://consent.youtube.com/save
[plugins.youtube][debug] consent data: gl, m, app, pc, continue, x, bl, hl, src, cm, escs, set_ytc, set_apyt, set_eom
[plugins.youtube][debug] Using video ID: W1R0_prWYeI
[plugins.youtube][debug] This video is live.
[utils.l10n][debug] Language code: en_US
[cli][info] Available streams: 144p (worst), 240p, 360p, 480p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (hls)
[cli][info] Writing output to
C:\Work\Projects\Grabien\test.ts
[cli][debug] Checking file output
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] First Sequence: 19; Last Sequence: 24
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 22; End Sequence: None
[stream.hls][debug] Adding segment 22 to queue
[stream.hls][debug] Adding segment 23 to queue
[stream.hls][debug] Adding segment 24 to queue
[stream.hls][debug] Writing segment 22 to output
[stream.hls][debug] Segment 22 complete
[cli][debug] Writing stream to output
[stream.hls][debug] Writing segment 23 to output
[stream.hls][debug] Segment 23 complete
[stream.hls][debug] Writing segment 24 to output
[stream.hls][debug] Segment 24 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][warning] No new segments in playlist for more than 15.00s. Stopping...
[stream.segmented][debug] Closing worker thread
[stream.segmented][debug] Closing writer thread
[cli][info] Stream ended
[cli][info] Closing currently open stream...
[download] Written 5.46 MiB to C:\Work\Projects\Grabien\test.ts (17s @ 333.26 KiB/s)Source: streamlink/streamlink