Skip to content

Is there any way to get the video frame number every 200ms? #1536

@currysesame

Description

@currysesame

Be sure to search for your issue before opening a new one.

Current Behavior

Is there any way to let me get the video frame number for each 200ms?
Already test the getCurrentTime, but it renew the number per second.

Expected Behavior

Return the video frame number when the video is playing for each 200ms.
If the video stopped, return the same number would be great.

Tried to use getCurrentTime in this file: react-player/src/players/FilePlayer.js to get the current time, but that is not fast enough.
Tried this one: #163.
But the progress.played updated per second.

How can I renew the getCurrentTime/progress.played faster ?

Environment

  • URL attempting to play: mp4 local file
  • Browser: Chrome

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