I'm trying to find a way to extract video into frames. The main goal is to change the image using openGl and construct the video again.
the problem is that I can't find a desent way to extract the video. I saw that lots of familiar questions were answered with the use of MediaMetadataRetriever but I don't want to use it because it works really slow.
I did a little research about libraries like - jcodec, ffmpeg ,openCV and mp4parser.
jcodec - works fine but really slow, every getFrame() costs 1 second.
ffmpeg - under GPL license which means that you'll have to publish your code.
openCV - complicated. Maybe I can accomplish what I need with it but it looks too complicate and I'm looking for a simpler solution.
mp4parser - extracts decoded frames but doesn't support encoding them to jpg/png.
Would be wonderful to get some help on that one. tnx