Can anyone please tell what is the easiest way to complete topic task in android studio? I found some solutions but was unable to set to work any of them.
One suggestion was to use FFmpeg recorder like it's described here. Problem is recorder takes only
IplImage
type. I tried to createIplImage
withjavacv.cpp.opencv_core
, but it refers tojava.awt.*
stuff, which is not supported by android, so i catch crash. Moreover, usingIplImage
is highly unlikely because it is old format and because transformations ofMat
(that's type that i have) toIplImage
takes a lot of formating steps withbyte[]
,BufferedImage
and other types of one to another.Another way i tried from here. It looked acceptable - to process multiple
.jpeg
to video stream with codecs. But as far as i understand problem is that FFmpeg is not provided as complete stand-alone SDK lib for android. And almost all web-links to source FFmpeg-files which could contain methods (likeexecFFMPEG
) are already dead.
In general, topic task must not be hard: to combine simple video stream with given set of images, fixed fps and video coder (i don't even need audio stream). In practice, i'm already overheaded with tones of infos and still not a step closer to solution. Thanks in advance.