Skip to content

Support retrieving video image by frame index on VideoFrameDecoder #2180

@tnj

Description

@tnj

Is your feature request related to a problem? Please describe.
There is no way to decode an image by its frame index using coil-video.

MediaMetadataRetriever has getFrameAtIndex that is added on API 28, but it is not implemented on VideoFrameDecoder yet.

Describe the solution you'd like
Add a video frame index option to VideoFrameDecoder in addition to the current videoFrameMillis, videoFrameMicros and videoFramePercent

Additional context
I've implemented this for my project main...tnj:coil:video-index-support

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions