Does anyone knows some convinient method to capture video to file or stream from OpenGL app on Android device?
For example, can we capture video from a view, opengl view?
I just found out the following: 1) We can get frames using glReadPixels. (No video on this step?) 2) MediaRecorder can encode video, but how can we provide it our raw source, if possible? 3) Any working ports of ffmpeg(for example) or other encoding libraries? There are some tutorials of portng ffmpeg to use withing NDK. So, having raw frames and working port of ffmeg we can create video? Any issues on this step? Anyone managed to port any encoding library successfully? What components do I need from ffpmeg?
Preffered formats are mp4 or flv. Target devices > 2.1. NDK is no problem