react-native-skia icon indicating copy to clipboard operation
react-native-skia copied to clipboard

Some frames are missing at the very end of a video

Open ckswopnera opened this issue 8 months ago • 4 comments

Description

This is the url http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4

If I play the video in web then last frame should be Screenshot 2024-06-24 at 2 25 46 PM But while playing using skia the last frame is Screenshot_1719219441 Screenshot_1719219488

Version

"@shopify/react-native-skia": "^1.3.4",

Steps to reproduce

If I check the video duration then it is "duration": 596458 if I check current time after closing the video play then it gives me currentTime.value.toFixed(0)=596421 or 596425 or 596441 . different values most of the time.

Snack, code example, screenshot, or link to a repository

It never produces the last frame. it stops playing before the video actually stops.

ckswopnera avatar Jun 24 '24 09:06 ckswopnera