Reputation: 2137
I am trying to record the video using GLSurfaceView and audio from the AudioRecord. In MediaMuxer I am sending both audio and video data when onFrameAvailable called. I set the camera preview size of 1280 * 720 and preview on the full screen. I am having problem to crop the frame to 600 * 600. Can anybody help me to crop the video frame before encoding to MediaCodec and MediaMuxer.
I am taking help from the Grafika android demo code
Upvotes: 4
Views: 1075
Reputation: 454
You need to solve to problems:
Upvotes: 0