Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't download youtube videos with HLS enabled #977

Closed
Tintin232 opened this issue Dec 4, 2024 · 11 comments
Closed

Can't download youtube videos with HLS enabled #977

Tintin232 opened this issue Dec 4, 2024 · 11 comments
Labels
main instance issue issue is only present on the main cobalt instance

Comments

@Tintin232
Copy link

bug description

When downloading certain videos, the download stops a second after it starts. This seems to be consistent with certain channels, for example, any videos that I try downloading from the SpongeBob SquarePants Official (https://www.youtube.com/channel/UCx27Pkk8plpiosF14qXq-VA) channel will fail. Likewise with other channels.

reproduction steps

N/A

screenshots

Screenshot_20241204_002612_Chrome

links

No response

platform information

Chrome 131.0.6778.81, Android 14

additional context

No response

@Tintin232 Tintin232 added the main instance issue issue is only present on the main cobalt instance label Dec 4, 2024
@wukko
Copy link
Member

wukko commented Dec 4, 2024

can you specify exact links that don’t work?

@Tintin232
Copy link
Author

Actually, testing it now, ANY video I tried downloading (from many different channels) gets this issue.

@wukko
Copy link
Member

wukko commented Dec 4, 2024

…links?

@wukko
Copy link
Member

wukko commented Dec 4, 2024

seems like it only happens only when the hls option is enabled, try turning it off: https://cobalt.tools/settings/video#youtube-hls

@wukko wukko changed the title Videos from certain channels don't download Can't download youtube videos with HLS enabled Dec 4, 2024
@Tintin232
Copy link
Author

Without HLS the download doesn't work though, keeps on pausing and restarting and ends with "Network Error".

@onegentig
Copy link

onegentig commented Dec 4, 2024

Same issue here, except on my side, cobalt downloads a 0 B file.

obfuscated

This behaviour is akin to #816.

I affirm this only happens with HLS format.

Screenshot from 2024-12-04 18-36-03

Video: Sullivan King - Venomous (feat. Spencer Charnas of Ice Nine Kills) [Lyric Video]

The "Network Error"/"Failed" issue without HLS only occurs to me on longer videos, ex. ROBLOX_OOF.mp3 getting cut off after 23:22 (full length 1:57:48). Probably subject of #647.

Gecko/Firefox-based browser, Fedora Linux 39.

@wukko
Copy link
Member

wukko commented Dec 4, 2024

fixed in api v10.4.3, try again and lmk if hls still doesn't work!

@wukko wukko closed this as completed Dec 4, 2024
@onegentig
Copy link

onegentig commented Dec 4, 2024

Seems to have worked for H.265; VP9 is still broken, downloading empty files.

I was able to get some downloads ~hour ago, now I am getting <5 KB/s downloads speeds for some reason. Could be high traffic on main instance or something. Nevermind, all works well now for me. Thank you for fixing the issue!

@wukko
Copy link
Member

wukko commented Dec 5, 2024

Seems to have worked for H.265

youtube doesn't have h265 streams (yet at least), what are you talking about?

@onegentig
Copy link

Apologies, I meant H.264. I was talking about this option:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
main instance issue issue is only present on the main cobalt instance
Projects
None yet
Development

No branches or pull requests

3 participants