[GH-ISSUE #978] Video is being cut in half (roughly) and only the first half is being downloaded #3512

Closed
opened 2026-04-13 12:02:11 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @rods012 on GitHub (Dec 6, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/978

bug description

I attempted to download a video at 1080p with both the h264 and av1 codecs. The full length of the video is 22:04 minutes long but with the h264 codec the resulting video file was 13:18 minutes long. On my second pass with the h264 codec, the video file was 9:06 in length. With the av1 codec the video file was 10:57 minutes long. The videos simply cut off at the end.

reproduction steps

Cobalt setting variations tested (video max resolution is 1080p so higher settings in cobalt properly lowered to 1080p):

  • 4K video quality, h264 encoder
  • 1080p video quality, h264 encoder
  • 4K video quality, h264 encoder
  • 1080p video quality, h264 encoder

Video used: https://www.youtube.com/watch?v=FAERbvDbAKY

On the main cobalt page, I had the option set to "Auto" to get a video file, and I manually pasted the URL ( I did not use the paste button). Once the website finished checking my authenticity, I pressed the double arrows to download the video. The process of it actually downloading the video seemed normal and without any apparent issues.

I am using Firefox latest ESR browser version (1.28.5.1esr) 64-bit.
I am located in Brazil.

screenshots

No response

links

Video used: https://www.youtube.com/watch?v=FAERbvDbAKY

platform information

Firefox ESR version 128.5.1esr on Windows 11 23H2

additional context

No response

Originally created by @rods012 on GitHub (Dec 6, 2024). Original GitHub issue: https://github.com/imputnet/cobalt/issues/978 ### bug description I attempted to download a video at 1080p with both the h264 and av1 codecs. The full length of the video is 22:04 minutes long but with the h264 codec the resulting video file was 13:18 minutes long. On my second pass with the h264 codec, the video file was 9:06 in length. With the av1 codec the video file was 10:57 minutes long. The videos simply cut off at the end. ### reproduction steps Cobalt setting variations tested (video max resolution is 1080p so higher settings in cobalt properly lowered to 1080p): - 4K video quality, h264 encoder - 1080p video quality, h264 encoder - 4K video quality, h264 encoder - 1080p video quality, h264 encoder Video used: https://www.youtube.com/watch?v=FAERbvDbAKY On the main cobalt page, I had the option set to "Auto" to get a video file, and I manually pasted the URL ( I did not use the paste button). Once the website finished checking my authenticity, I pressed the double arrows to download the video. The process of it actually downloading the video seemed normal and without any apparent issues. I am using Firefox latest ESR browser version (1.28.5.1esr) 64-bit. I am located in Brazil. ### screenshots _No response_ ### links ```shell Video used: https://www.youtube.com/watch?v=FAERbvDbAKY ``` ### platform information Firefox ESR version 128.5.1esr on Windows 11 23H2 ### additional context _No response_
GiteaMirror added the main instance issue label 2026-04-13 12:02:11 -05:00
Author
Owner

@wukko commented on GitHub (Dec 7, 2024):

does enabling hls help? https://cobalt.tools/settings/video#youtube-hls

<!-- gh-comment-id:2525269185 --> @wukko commented on GitHub (Dec 7, 2024): does enabling hls help? https://cobalt.tools/settings/video#youtube-hls
Author
Owner

@rods012 commented on GitHub (Dec 7, 2024):

Yes, it does. Thank you! I must have missed that feature.

<!-- gh-comment-id:2525301757 --> @rods012 commented on GitHub (Dec 7, 2024): Yes, it does. Thank you! I must have missed that feature.
Sign in to join this conversation.