r/coolgithubprojects • • 18m ago

I built QingLu, a 271 KiB open-source Android screen recorder

https://github.com/jiusi1-cpu/QingLu

I wanted to capture high-refresh-rate gameplay on my Xiaomi tablet with a small, offline screen recorder. I reworked LiteRec into QingLu. Both projects use the MIT license.

  • The signed 1.1 APK is about 271 KiB. QingLu uses native Android APIs with zero third-party runtime SDKs. It runs offline with no INTERNET permission, ads, or analytics.
  • A VirtualDisplay feeds the hardware MediaCodec input surface directly. Asynchronous codec callbacks hand compressed frames to reusable buffers, and a separate low-priority thread writes the MP4. The audio loop reuses PCM buffers, and the floating timer refreshes once a second.
  • The UI uses a custom aurora backdrop and sliding controls. Tap the floating timer once to reveal the Stop button, then tap again within three seconds to end the recording.
  • Android 7.0 (API 24) is the minimum. Presets include 1080p, 1440p, native resolution, and 60, 90, or 120 fps. Available presets and HEVC/H.264 support depend on the device encoder. QingLu supports portrait and landscape layouts and includes 11 languages. I reviewed Android 17 compatibility at the API level and still need on-device results.

GitHub source · Signed APK and SHA-256

If you try it, I’d like to hear how it behaves on your device. For dropped frames, blank captures, or audio issues, please include the device model, Android version, and recording preset.

1 Upvotes

0 comments sorted by