My app is filming a video from which i need to get specific frames. Is it possible to save specific frames while taking the video or even after saving the video? how?
EDIT: Another option is to take several pictures in a row with no video(moving the camera and taking a picture every second) is this possible?
Is it possible to save specific frames while taking the video or even after saving the video? how?
The MediaMetadataRetriever class has a function called getFrameAtTime()
. I think this works only after saving the file. You will only get key frames.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.