Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Insert keyframes for each change in data frame? #53

Closed
vanakema opened this issue Feb 24, 2023 · 0 comments
Closed

Insert keyframes for each change in data frame? #53

vanakema opened this issue Feb 24, 2023 · 0 comments

Comments

@vanakema
Copy link

vanakema commented Feb 24, 2023

I'm going to start with defining two similar terms to reduce confusion

  • Frame: A single frame of video in the video stream
  • Data frame: A single unique frame of data representing a portion of the encoded file

This issue is written under the assumption that there are multiple frames in the video stream representing the same data frame.

In video encoding there's the concept of keyframes which is kind of where it "resets" the frame. Sometimes you'll notice a video stream gets super messed up, with weird blocky artifacts, and then it cleans up, almost like it's on some interval. That interval is when the stream reaches a keyframe.

I'm not sure if YouTube will actually respect the source video's keyframes, but if it does, we could enhance the quality of each unique data frame by dropping a keyframe each time a unique data frame is shown in the video stream.

Video size would definitely go up, but compression artifacts for each data frame would go down significantly

@vanakema vanakema changed the title Insert keyframes for each change in frame? Insert keyframes for each change in data frame? Feb 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants