Shopify / Shopify/react-native-skia
Some frames are missing at the very end of a video
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.6k
- Forks
- 647
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 35
Description
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
But while playing using skia the last frame is
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the video playback and current-time handling described in the issue, using the BigBuckBunny.mp4 URL to reproduce the mismatch between duration and the final currentTime values. Compare the web result with react-native-skia playback and verify that playback reaches and renders the final frame consistently. There are no file paths or tests named in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100