mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 14:24:23 -05:00
[GH-ISSUE #94] YouTube download has bugged time #11357
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @6ojo on GitHub (Mar 10, 2023).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/94
downloaded a 31 second video. time shown in screenshot

video was unlisted
@6ojo commented on GitHub (Mar 26, 2023):
downloaded a public video- same issue
@wukko commented on GitHub (Mar 26, 2023):
hey! this issue can be fixed via simple ffmpeg command:
ffmpeg -i inputvideohere.mp4 -c copy outputvideohere.mp4this 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.
@SKCro commented on GitHub (Nov 27, 2023):
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?
@wukko commented on GitHub (Nov 27, 2023):
how do you expect me to edit the header that's already been sent AFTER the render is done? that's literally impossible