Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some frames are missing at the very end of a video #2493

Open
ckswopnera opened this issue Jun 24, 2024 · 4 comments
Open

Some frames are missing at the very end of a video #2493

ckswopnera opened this issue Jun 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ckswopnera
Copy link

ckswopnera commented Jun 24, 2024

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 ckswopnera added the bug Something isn't working label Jun 24, 2024
@ckswopnera ckswopnera changed the title Some frames are missing at the very end Some frames are missing at the very end of a video Jun 24, 2024
@wcandillon
Copy link
Contributor

Can you confirm that this is an Android only issue?

@sayan-avantai
Copy link

sayan-avantai commented Jul 29, 2024

both platforms has some missing frames. android has more missing frames than ios.

@mrEuler
Copy link
Contributor

mrEuler commented Aug 5, 2024

@wcandillon I have few ideas, as I had these issues, so decided to use modified hook for the video.

@sayan-avantai
Copy link

any update regarding this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants