mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-08 14:20:22 -05:00
[GH-ISSUE #1144] Can’t download a YouTube video because no matching formats were found #9585
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @riotfest628 on GitHub (Mar 7, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1144
bug description
I've been trying to download two different videos with cobalt, but every time I try to download them, it tells me to try downloading them without HLS enabled, along with a “couldn't find any matching HLS streams for this video. try downloading it without HLS!” error message.
So, I turn off HLS, try again, but then I get a “youtube didn't return a valid video + audio format combo, either video or audio is missing. formats for this video may be re-encoding on youtube's side or something went wrong when parsing them. try enabling the hls option in video settings!” error message.
No matter what I try, it doesn't make any difference. I tried changing the video and audio quality, downloading it as a video, downloading as an audio, but they all keep giving me these two different error messages, depending on if I have HLS enabled or not.
reproduction steps
screenshots
links
platform information
Microsoft Edge Version 133.0.3065.92 on a Windows 10 desktop
additional context
No response
@wukko commented on GitHub (Mar 7, 2025):
seems like this video is being re-processed on youtube’s side, so some formats that cobalt uses are missing. not sure if we can do anything from our side atm unfortunately
@wukko commented on GitHub (Mar 7, 2025):
could maybe add more codec combos in the future though?
@fyscape commented on GitHub (Mar 7, 2025):
Same one can tell me that how can I installing the software!
download one day,cant do anything!
@riotfest628 commented on GitHub (Mar 7, 2025):
That would be nice ^^
@thinkmorebetter commented on GitHub (Mar 11, 2025):
Could be related to recent DRM changes from YouTube? Documented more here https://github.com/yt-dlp/yt-dlp/issues/12563
@wukko commented on GitHub (Mar 13, 2025):
nope, it's caused by youtube not returning an acceptable format combo. in this video's case, only h264 video & opus audio are available. cobalt tries to pick either h264+aac, vp9+opus, or av1+opus, but can't find anything appropriate.
@wukko commented on GitHub (Apr 17, 2025):
since the video did indeed get more formats after being re-processed on youtube's side, i'm closing this issue as resolved. cobalt handles this edge case as intended, so there's no fault on our side.