cobalt falls back to h264 when trying to download with av1 codec #759

Closed
opened 2025-11-09 09:57:48 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @osscleaner on GitHub (Mar 17, 2025).

bug description

When choose to download in 8k or 4k format, the main instance download 1080p instead.

reproduction steps

  1. go to cobalt.tools. in firefox.
  2. set the video format to 8k, av1
  3. go to save, and then paste https://www.youtube.com/watch?v=BmUZ2wp1lM8
  4. it should have downloaded 4k variant, but it download the 1080p instead.

screenshots

No response


platform information

Windows 11 Firefox 136

additional context

No response

Originally created by @osscleaner on GitHub (Mar 17, 2025). ### bug description When choose to download in 8k or 4k format, the main instance download 1080p instead. ### reproduction steps 1. go to cobalt.tools. in firefox. 2. set the video format to 8k, av1 3. go to save, and then paste https://www.youtube.com/watch?v=BmUZ2wp1lM8 4. it should have downloaded 4k variant, but it download the 1080p instead. ### screenshots _No response_ ### links ```shell ``` ### platform information Windows 11 Firefox 136 ### additional context _No response_
GiteaMirror added the main instance issue label 2025-11-09 09:57:48 -06:00
Author
Owner

@wukko commented on GitHub (Mar 17, 2025):

cobalt falls back to h264 if av1 & vp9 aren't available:

Image

enabling HLS & switching to VP9 might help, though we don't control what formats youtube returns.

this is caused by us having to switch to the iOS client due to android client being cut off by youtube. it usually doesn't have av1 adaptive formats at all, so cobalt always falls back. HLS playlists tend to have 4k vp9 though.

btw, i already answered this question before

@wukko commented on GitHub (Mar 17, 2025): cobalt falls back to h264 if av1 & vp9 aren't available: <img width="605" alt="Image" src="https://github.com/user-attachments/assets/40a3863a-5f4e-41f5-a513-caa690f90ab0" /> enabling HLS & switching to VP9 might help, though we don't control what formats youtube returns. this is caused by us having to switch to the iOS client due to android client being cut off by youtube. it usually doesn't have av1 adaptive formats at all, so cobalt always falls back. HLS playlists tend to have 4k vp9 though. *btw, [i already answered this question before](https://github.com/imputnet/cobalt/issues/1163#issuecomment-2727528062)*
Sign in to join this conversation.