Hi! I want to ask if it's possible to retrieve an image (like a screenshot) from given either seek time or take the current state
Thanks!
@kendrickkesley Not at the moment. That said I am in the middle of adding that and it should be supported on iOS tomorrow.
@kendrickkesley not finished, but here is a first pass... I welcome any feedback on the API
https://github.com/react-native-community/react-native-video/tree/getFrames
Please note that you can only currently get frames of a video that has played for at least 300ms. This is a bug I plan to fix ASAP
@mattapperson Thanks a lot! will you add this feature on android too? :)
@kendrickkesley At this time, no. Android we ran into issues with memory getting all the frames of longer videos. Hopefully down the road someone smarter then me will figure it out ??
[--- Commented from Asana.com
---[aa]
Oh okayy thankss!
Still awesome anyway!
Is the getFrames branch getting merged anytime soon?
Not as such. We have an updated API for android and iOS that we will be merging soon
@mattapperson that's exciting! But which branch is this on so that we can take a look? I was checking out the new-api branch but that looks way to old too be what you're referring to...
Thanks @mattapperson. If i may ask, does it include the "get image from video" functionality?
@jephtta yes.
@mattapperson did this (or something similar) ever get added? just logged the props and i dont see anything along these lines
In its own branch yes. Never matured enough for master
@mattapperson looking for this as well where can i find this?
Any updates on that? Would love to add it to my project
I'm with @rnowm - any chance of this getting into the master branch?
The example is not working...help anyone?
Hey @mattapperson, what would you suggest is needed for this branch to be considered mature enough to be merged into master? (Beyond updating it to bring it in line with master of course)
Depending on what's involved, I may be able to work on a PR for this if that'd be helpful?
@thillin there are some perf issues with hitting that api too quickly... my plan was to build a queue. But as I am no longer using the feature I dropped it. That said, I not sure that鈥檚 truly needed to be merged
did you check out https://www.npmjs.com/package/react-native-thumbnail?
@mattapperson So is there functionality to get a thumbnail from the video ? I really do not want to install another package that does this...It seems that rn-video should be totally capable of doing this. thank you
did you check out https://www.npmjs.com/package/react-native-thumbnail?
But this doesn't give us thumbnail for urls.
Any Solution for that?
On iOS this could be done with AVAssetImageGenerator.
@codervss You could create a pull request that adds such a feature.
Does it happen now?
You could create a pull request that adds such a feature.
@maomeiqi Please do not spam this issue.
did you check out https://www.npmjs.com/package/react-native-thumbnail?
It just works for Youtube Links not for videos from own server.
is there any update on this issue? Perhaps someone has found a workaround or other solution to this?
Most helpful comment
did you check out https://www.npmjs.com/package/react-native-thumbnail?