Hi all, We are working on a project where we are required to record an OpenGL Surface. We are planning to use MediaRecorder API by setting the video source to VIDEO_SOURCE_GRALLOC_BUFFER and generate the compressed file
We are using the following code as the base code. https://android.googlesource.com/platform/frameworks/av/+/master/media/libstagefright/tests/SurfaceMediaSource_test.cpp I want to know 1.) If this is the right approach to record an OpenGL (GLsurfaceView) which is being displayed?. If not what are the options available. 2.) With the sample code given above, the video and audio are compressed and an MP4 file is being generated. but the OpenGL surface is not displayed. What am I missing ? Any help /pointers is greatly appreciated. thanks, Satish -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.