Skip to content

Stabilized video has fewer frames than original video #117

@anirudh-chakravarthy

Description

@anirudh-chakravarthy

Hi,

I was planning to use this library to stabilize a video dataset before further processing. However, I observe that usually, the stabilized video (after filtering out the black frames) has fewer frames than the original video itself. Most commonly, it's 1 frame lesser, but I've also encountered a difference of 6-7 frames as well. I verified this observation on the ostrich video as well, where I see 1 frame fewer in the stabilized video.

Could you help me understand why this happens, and if there is a workaround to retain the number of frames? I use stabilize_frame on each frame in the input video. However, on using stabilize on the ostrich video, the number of frames returned are equal before and after stabilization. Why is this the case?

Thanks!

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