(YouTube) Audio file corrupted when you download at best quality #861

Open
opened 2025-11-09 10:00:02 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @diorandan on GitHub (Jun 3, 2025).

bug description

I noticed how when exporting and downloading audio from YouTube using the best format (.m4a because YouTube uses that format), it extends the audio file 2 times the original length. It doesn’t repeat the audio though, only silence.

reproduction steps

  1. Go to YouTube and find a short video you want to download (I downloaded an unreleased song).
  2. Go to cobalt.tools > settings > audio
  3. Click “best” under “audio format” and turn on “prefer better quality” under “youtube audio quality”.
  4. Go to “save”, click “audio”, paste your YouTube link and press the “>>” button to download your file.
  5. The file you’re downloading should be in .m4a format. Check the audio length, it extends twice the original length (e.g. your video was 4 minutes 11 seconds, the file should be around 8 minutes 22 seconds).

screenshots

Image
Image
Image


platform information

Safari on iPhone 15 iOS 18.4.1

additional context

No response

Originally created by @diorandan on GitHub (Jun 3, 2025). ### bug description I noticed how when exporting and downloading audio from YouTube using the best format (.m4a because YouTube uses that format), it extends the audio file 2 times the original length. It doesn’t repeat the audio though, only silence. ### reproduction steps 1. Go to YouTube and find a short video you want to download (I downloaded an unreleased song). 2. Go to cobalt.tools > settings > audio 3. Click “best” under “audio format” and turn on “prefer better quality” under “youtube audio quality”. 4. Go to “save”, click “audio”, paste your YouTube link and press the “>>” button to download your file. 5. The file you’re downloading should be in .m4a format. Check the audio length, it extends twice the original length (e.g. your video was 4 minutes 11 seconds, the file should be around 8 minutes 22 seconds). ### screenshots ![Image](https://github.com/user-attachments/assets/bd1eb98e-5843-4c78-a40d-eb5f8b1639df) ![Image](https://github.com/user-attachments/assets/9d643166-b059-4c2a-9386-3a98f6caf310) ![Image](https://github.com/user-attachments/assets/1d8c7197-5306-4f4b-8625-131577f931e0) ### links ```shell ``` ### platform information Safari on iPhone 15 iOS 18.4.1 ### additional context _No response_
GiteaMirror added the bug label 2025-11-09 10:00:02 -06:00
Sign in to join this conversation.