So I have an app where users can take videos, and I want to grab specific frames from the file. When I use the method MediaMetaDataRetriever.getFrameAtTime()
, it can only extract one frame for every second, but I want to grab frames between the seconds as well. I also tried to implement Jcodec into my project to grab the right frames:
FrameGrab.getFrame(new File(videoFileToRetreive.getVideoFile()), currentFrame);
,
However, no matter what number I put into currentFrame, the image is always returns the first frame of the video. Is there any way to perform something like this without the use of ffmpeg? If anyone knows an answer it'd be greatly appreciated.