Skip to content

Provide functionality to get frame indices for keyframes #878

@scott-martens

Description

@scott-martens

Currently, we can get keyframes for videos via Document.load_uri_to_video_tensor(only_keyframes=True). However, use-cases typically require us to be able to link keyframes back to the source video. It would be very helpful to be able to:

  1. Load the video using load_uri_to_video_tensor
  2. Then extract keyframes in a way that retains or outputs the frame number of the keyframes.

This is so that we can access the video at keyframes and extract snippets of film.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions