GSYVideoPlayer is an Android video player library supporting IJKPlayer, Media3 (ExoPlayer), MediaPlayer, and AliPlayer. It adds caching, filters, subtitles, ads, and flexible UI layouts for app integration.
Overview
GSYVideoPlayer targets Android apps that need a full-featured in-app video experience. It wraps several playback kernels behind one API so developers can switch among IJKPlayer, Media3 (ExoPlayer), system MediaPlayer, or AliPlayer as needed.
Playback covers common streaming protocols including HTTPS, HLS, RTMP, RTSP, and concat sources, with play-while-cache via AndroidVideoCache or ExoPlayer SimpleCache. UI options span fullscreen and embedded layouts, danmaku overlays, small-window and multi-window modes, list auto-play, and foldable-device split layouts in XML or Jetpack Compose.
Video processing extras include filters and effects, watermarking, GIF export, external SRT and WebVTT subtitles, opening and interstitial ads, cast through an optional DLNA module, and DASH or HLS adaptive track switching in Exo mode. Native stacks ship FFmpeg and OpenSSL for current ABIs, with 16K page size support noted for Exo builds.
Dependencies publish to Maven Central, GitHub Packages, or JitPack, with modular artifacts per CPU ABI or bundled exso libraries. A Compose module embeds legacy players or exposes state and event flows for fully Compose-built controls.
Key features
- Multiple player kernel switching
- HTTPS, HLS, RTMP, and RTSP playback
- Play while caching
- External SRT and WebVTT subtitles
- Video filters and watermark support
- Small window and multi-window playback
- Jetpack Compose integration module
- Optional DLNA cast module
Use cases
- In-app streaming video for Android
- Short-form vertical video feeds
- List and detail video navigation
- Live and on-demand streaming with adaptive tracks