Skip to content

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.

Notifications You must be signed in to change notification settings

junyuecao/AndroidScreenRecordAndCrop

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages