News for hackers. Stuff that matters.
Re:Invidious – An open source alternative front-end to YouTube by ggeorgovassilis on Tuesday October 17, 2023 @03:42AM (#37911773)
You are probably right, eg Losslesscut in Linux does exactly that: no transcoding, no overlays nor any editing other than cutting and moving around sequences from the same video. Editing and exporting such videos is blazingly fast.

Adding a bit technical context (for readers) to your comment on inserting ads at "random places": many codecs use the concept of an initial frame [1] which would place technical restrictions on where the ad could be inserted. If Youtube believes that ad timing is too important, they might not accept technical restrictions on the timing.

[1] https://en.wikipedia.org/wiki/Video_compression_picture_type...

Re:Invidious – An open source alternative front-end to YouTube by yurishimo on Tuesday October 17, 2023 @06:01AM (#37912714)
Creators can mark specific sections in the video where they want an ad to play. I assume this dynamism also plays a contributing role.
Re:Invidious – An open source alternative front-end to YouTube by ptspts on Tuesday October 17, 2023 @01:41PM (#37918660)
YouTube reencodes uploaded videos, so YouTube controls where the keyframes are at playback time.