Is there any way to get the video frame number every 200ms? #1778
Replies: 4 comments
-
Also curious, @currysesame do you have any new knowledge since Nov 9, 2022? |
Beta Was this translation helpful? Give feedback.
-
Yes. I had used another method to work around. |
Beta Was this translation helpful? Give feedback.
-
Would you mind sharing the method you use for capturing the current frame number? |
Beta Was this translation helpful? Give feedback.
-
@currysesame can you shre the work around, i need some way to get frame number faster than once per second |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions