YouTube download has bugged time
downloaded a 31 second video. time shown in screenshot
video was unlisted

downloaded a public video- same issue
hey! this issue can be fixed via simple ffmpeg command:
ffmpeg -i inputvideohere.mp4 -c copy outputvideohere.mp4
this issue is well-known and im working on an easier solution for this.
it's caused by live rendering, since cobalt can't predict what final file size will be exactly.
Correct me if I'm wrong (I'm not really sure how ffmpeg works), but can't you count the duration after it's finished rendering or something?
can't you count the duration after it's finished rendering or something
how do you expect me to edit the header that's already been sent AFTER the render is done? that's literally impossible