Skip to content

About

Community Android port of OBS Studio with MediaCodec H.264/HEVC, GPU screen capture and WebView browser sources.

Resources

Contributing

Stars

73 stars

Watchers

0 watching

Forks

Repository files navigation

OBS Studio Logo        Android Logo

OBS for Android

Live Streaming & Recording Studio for Android
Powered by OBS Studio 33 · MediaCodec Hardware Acceleration · OpenGL ES · Adaptive Landscape UI

Release Build Status Platform Architecture OBS Baseline License

English  •  简体中文  •  Download APK


An independent community Android port of OBS Studio (v33 baseline), built upon cunminF/OBS_for_Android. It brings full scene compositing, multi-source capture, local Hybrid MP4/MOV recording, and live streaming to Android phones and tablets in a hardware-accelerated landscape studio interface.

Interface Preview

Tablet — Full multi-dock workspace

OBS for Android Tablet Landscape Workspace



Phone — Adaptive compact landscape layout

OBS for Android Phone Compact Landscape Layout

Features

Video, HDR & Encoding

Capability Details
MediaCodec Hardware Encoding H.264, HEVC (including Main10 HDR on Android 13+), AV1 (streaming & Hybrid MP4), and VP9 (Hybrid MP4) with zero-copy Surface input (CBR / VBR / CQ).
Color Range & Fallbacks Full & Limited (Partial / Full) color range probing per colorspace and rate mode, with automatic ByteBuffer YUV (NV12 / I420) and software encoder fallback when hardware constraints apply.
Software Encoders Bundled obs_x264, ffmpeg_x265 (3.6, 8/10-bit), and ffmpeg_aom_av1 (3.10.0) with matched rate-control mapping.
10-bit HDR Pipeline Rec. 2100 PQ/HLG compositing with P010 hardware decode/encode, I010 software encoding, and Hybrid MP4 color metadata tagging.

Capture, Audio & Playback Sources

Capability Details
Screen & Single-App Capture Zero-copy MediaProjection GPU capture (SurfaceTexture/OES, optional CPU fallback), Android 14+ single-app resize tracking, and Straight/Premultiplied Alpha compositing.
WebView Browser Source Android System WebView GPU capture for transparent overlays & danmaku widgets, local HTML/custom CSS, touch interaction, and "Control Audio via OBS" mixer routing.
USB & Camera Sources USB 3.0 UVC capture cards/webcams (YUYV, NV12, RGB24, BGR24, MJPEG with auto-matched UAC audio and watchdog recovery), built-in Camera2 NDK, and Nikon Z-series PTP Live View.
Media & Network Streams MediaCodec hardware decoding (H.264, HEVC, VP8, VP9, AV1) with software fallback; Document URI playback and HTTP(S), HLS, DASH, RTSP(S), RTMP(S), SRT, RIST, UDP/RTP/TCP feeds.
AAudio Input Low-latency native AAudio capture for built-in microphones, wired headsets, and USB audio interfaces / capture cards.

Android Architecture & UI

Capability Details
Adaptive Phone & Tablet UI Qt 6.12 responsive workspace switching seamlessly between full tablet docks and compact phone layout (< 952×552 logical px), with split-screen, freeform window, and IME support.
Efficient 60 FPS UI Rendering Partial Android RHI backingstore dirty-rectangle coalescing and snapshot-based VolumeMeter / MediaControls / AbsoluteSlider updates to minimize frame drops and CPU load.
Shared Storage Recording MediaStore / SAF file descriptor bridge for direct Hybrid MP4/MOV recording into public folders such as Movies/OBS or Download/obs.

Requirements

  • Architecture & OS: arm64-v8a, Android 10+ (API 29+), Target SDK 35 (Compile SDK 36).
  • Dependencies: Android System WebView (required for Browser Source). Supported hardware codecs and 10-bit HDR render targets depend on the device SoC and GPU driver.

Quick Start

  1. Install: Download an APK from Releases and install via adb install -r path/to/obs-android.apk, or build from source following BUILDING.md.
  2. Baseline Setup:
    • Video: 1920×1080 @ 60 FPS, SDR BT.709 (for 10-bit HDR, choose Rec. 2100 (PQ) or Rec. 2100 (HLG) in Settings → Advanced → Video with P010 + MediaCodec HEVC Main10, or I010 + x265 / libaom).
    • Output: Android MediaCodec H.264 (CBR) for streaming; Hybrid MP4 targeting shared storage (e.g. /storage/emulated/0/Movies/OBS or Download/obs) for recording.
  3. Add Sources:
    • Add Screen Capture (MediaProjection), UVC Camera (Android USB), Built-in Camera (Camera2), Nikon Webcam, or Android Browser.
    • For network streams, add Media Source, uncheck Local File, and enter an HTTP(S), HLS, DASH, RTSP, RTMP, SRT, or RIST URL (pass FFmpeg flags such as rtsp_transport=tcp in FFmpeg Options if needed).
Optional: Verify Hardware Encoding via ADB Logcat
adb logcat -v threadtime -d -s 'OBS-MediaCodec:*'

Look for event=started hardware=true software=false input=Surface, event=first-packet headers=valid keyframe=1, and rising frame/byte counters in event=summary / event=progress.

Known Limitations

  • HDR / 10-bit: Requires GPU support for 16-bit normalized textures and floating-point render targets. Preview output and Android screen capture composite as SDR at the configured SDR white level; P010 USB input requires compatible capture hardware.
  • Browser Source: Multi-touch gestures are not yet supported; routing cross-origin page audio requires CORS headers from the remote server.
  • Streaming Services: Twitch and YouTube OAuth logins are disabled; configure RTMP server URLs and stream keys manually via Custom service.

Documentation & License

  • Build Guide: BUILDING.md — GitHub Actions, Linux/WSL, and Windows build instructions
  • Architecture: IMPLEMENTATION_ANDROID.md — EGL/MediaCodec, MediaProjection, UVC, SAF storage, and Qt UI layers
  • Contributing: CONTRIBUTING.md — Issue reporting and pull request guidelines
  • Notices: NOTICE.md — Third-party licenses and trademark notices

Licensed under GPL-2.0-or-later (LICENSE). This is an independent community port and is not affiliated with the OBS Project.

About

Community Android port of OBS Studio with MediaCodec H.264/HEVC, GPU screen capture and WebView browser sources.

Resources

Contributing

Stars

73 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages