mirror of
https://github.com/imputnet/cobalt.git
synced 2026-07-15 19:45:13 -05:00
[GH-ISSUE #1163] 4k video downloads as 1080p mp4 #30329
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 @Bentley2000 on GitHub (Mar 15, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1163
bug description
On March 15, I went to cobalt.tools and did my usual process for downloading a 4k webm video but the video downloads as 1080p mp4.
I tried it in Firefox and Chrome on PC and on a Mac in Safari and Firefox. Thanks for any info on this.
reproduction steps
Go to Settings tab
-Click on video
-video quality set to 4k
-youtube codec and container set to vp9 (webm)
Go to Save tab
-Paste url and click download arrows
Video downloads as 1920x1080 mp4
screenshots
links
platform information
Windows 11 24H2: Chrome 134.0.6998.88/89; Firefox 136.0.1. Mac OS Sequoia 15.3.2: Safari 18.3.1; Firefox 136.0.1. Windows 11 Enterprise: Firefox 136.0.
additional context
No response
@wukko commented on GitHub (Mar 16, 2025):
we don't control what formats youtube returns, but enabling HLS & VP9 might help in your case
@osscleaner commented on GitHub (Mar 17, 2025):
Thanks for answering, sorry that I should have checked bug history.
@Bentley2000 commented on GitHub (Mar 18, 2025):
Thank you for addressing my issue. Turning on the HLS format did work.
I'm still curious about what is happening since I was able to download youtube 4k webm videos before 3/15 without turning on HLS. When I tried those same youtube links after 3/15, they don't download as 4k. I see your highligted note about h264 being used instead, but it seems unlikely that all of the links I have tried are not supporting webm any longer. Do you know if something changed on youtube's end?
A typical user will probably set up like I used to (selecting 4k and vp9 webm) and they will think the download does not work since it downloads a 1080 video. They may not try turning on the HLS format and so they will think cobalt.tools doesn't work for 4k videos.
Are you able to successfully download any of my sample links or any youtube video as 4k vp9 (webm) without turning on the youtube HLS format? If so, I would be interested in knowing how I can do it.
Thanks for any further info. I'm just trying to understand what has changed from before 3/15 when all of the youtube 4k webm videos I did would download without turning on the HLS format.
@wukko commented on GitHub (Mar 18, 2025):
yes, youtube cut off the android client that we were using for getting videos from innertube. we had to switch to the ios client which doesn't have nearly as many adaptive formats, unfortunately. hls playlists from the ios client have more formats to choose from, so this is why enabling hls helps!
@Bentley2000 commented on GitHub (Mar 19, 2025):
Thank you very much for the additional information!