Skip to content

incorrect timestamps when keyFrameInterval is larger than frameRate #3

@deniszgonjanin

Description

@deniszgonjanin

In general I've noticed that playing around with the key frame intervals and frame rates will cause the resulting video to have a different length (all other things being equal). I'm encoding the video with the endPush(timestamp) method (not encoding everything frame by frame). Curiously, the larger the two parameters are, the smaller the error is.

For example, if the key frame interval is 64 , and the frame rate is say, 32, then the resulting video will be longer that it should be (about 20% longer in my case). If both parameters are set to the same value, the video encodes properly.

If needed, I can create a simple test case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions