I have a video playing, and at some point, i need to pause the video, take a capture, and use then that image, to modify it, in a paint activity. The problem is that if, i try to save the video, the picture will be black (tried with setDrawingCacheEnabled(true);
)........
Is it possible to take a screenshot of a video?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
Try this Link ..
Hope it may help you
Screen capture
For more info try this link
& this link
I Think u should use screencaputre application in android that is use full to you... rather than the best way for u can connect your android with PC than start the video and pause it, than in keyboard press print screen, and in paint software press ctrl+V (paste) and save in jpeg format than you get the screen shot/image...
Have you tried
ThumbnailUtils.createVideoThumbnail(String, int)?