bobohuang1985 / AndroidScreenRecordAndCrop

A simple demo to demonstrate how to record screen using MediaProjectionManager and crop the video using OpenGL ES when recording on Android. Also record audio from microphone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CroppedScreenRecorder

This project is to demonstrate how to record the screen using MediaProjectionManager and using OpenGL ES to crop the video footage.

  1. Grant all permissions
  2. Click 'Start' button
  3. Touch and hold the record button to record screen
  4. Click cancel to finish screen projection.

The recorded videos will be in test folder under the sdcard.

The recorded video is like this (no status bar and nav bar):

Sample

Some of the source code is from https://github.com/google/grafika

About

A simple demo to demonstrate how to record screen using MediaProjectionManager and crop the video using OpenGL ES when recording on Android. Also record audio from microphone.


Languages

Language:Java 100.0%