Onedayago / react-native-ijkvideo

A Cross Platform (Android & iOS) video & audio component with react-native-video like API & all formats support based on IJKPlayer FFMpeg 3.4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-ijkvideo

A Cross Platform (Android & iOS) video & audio component with react-native-video like API & all formats support based on IJKPlayer FFMpeg 3.2.

About this fork

The original project https://github.com/king6cong/react-native-ijkplayer is not maintained anymore, so this hard forked project was created.

Work in Progress...

This project is in very early stages and not suggested for production level apps.

Features:

  • FFMPEG 3.2 based IJKPlayer Backend
  • IJKplayer library size is small so don't worry about app size. its around 6 Megabytes on Android and compressed, it is even smaller.
  • Supports every format, including those that exoplayer does not support
  • react-native-video like api with some extra features.
  • MediaCodec Hardware decoding
  • Disable audio or video rendering completely.
  • Equalizer, bassboost & loudness enhancer support
  • Video resizing & scaling
  • Native subtitle (SubRip ass and mov_text etc.) render on Android.
  • Multi audio, video & subtitle trackselection.
  • Snapshot support
  • Video Mirroring
  • Video playback rate
  • Background playback
  • Support for H.265/HEVC playback
  • SoundTouch Support
  • Async Decoding Multi Thread
  • Uses TextureView on Android
Type Supported
Protocols HLS, RTMP, RTSP, HTTP, HTTPS, FILE,RTP
Containers FLV, TS, MPEG, MOV, M4V, MP3, AAC, GIF, ASF, RM, MKV, AVI, WEBM
Video Encoders H263, H264, H265, MPEG1, MPEG2, MPEG4, MJPEG, VC-1, WMV, RV40, PNG, JPEG, YUV, WEBP, TIFF, VP*
Audio Encoders AAC, MP3, NELLYMOSER, AMRNB, AMRWB, WMV1, WMV2, WMV3, OGG, FLAC, DTS, COOK

TODO

  • Android Implementation
  • iOS Implementation
  • Publish binaries to Cocoapods and Bintray
  • Add Typescript Definations
  • Create full documentation on now.sh
  • Cleanup code
  • Create an example

MIT Licensed

About

A Cross Platform (Android & iOS) video & audio component with react-native-video like API & all formats support based on IJKPlayer FFMpeg 3.4

License:MIT License


Languages

Language:Java 58.2%Language:Objective-C 38.6%Language:JavaScript 2.6%Language:Ruby 0.6%