debugly / ijkplayer

【持续更新】macOS/iOS video player based on ijkplayer, using FFmpeg 5.1, support Metal、hw accel、HDR、ass subtitle effect...
GNU General Public License v2.0
69 stars 14 forks source link
ass ffmpeg hdr ijkplayer ios macos metal videoplayer videotoolbox
ijkplayer

ijkplayer

ijk media player based on ffplay

Platform Archs
iOS 11.0 arm64、arm64_simulator、x86_64_simulator
macOS 10.11 arm64、x86_64
tvOS 12.0 arm64、arm64_simulator、x86_64_simulator

My Build Environment

Latest Changes

Features

ON-PLAN

Installation

install use cocoapod:

pod "IJKMediaPlayerKit", :podspec => 'https://github.com/debugly/ijkplayer/releases/download/k0.11.3/IJKMediaPlayerKit.spec.json'

Development

if you need change source code, you can use git add submodule, then use cocoapod integrate ijk into your workspace by development pod like examples.

how to run examples:

git clone https://github.com/debugly/ijkplayer.git ijkplayer
cd ijkplayer
git checkout -B latest k0.11.3
git submodule update --init

./shell/main.sh install -p macos -l 'ass ffmpeg'
./shell/main.sh install -p ios -l 'ass ffmpeg'
./shell/main.sh install -p tvos -l 'ass ffmpeg'

pod install --project-directory=./examples/macos
pod install --project-directory=./examples/ios
pod install --project-directory=./examples/tvos

# run iOS demo
open ./examples/macos/IJKMediaDemo.xcworkspace
# run macOS demo
open ./examples/macos/IJKMediaMacDemo.xcworkspace
# run tvOS demo
open ./examples/macos/IJKMediaTVDemo.xcworkspace

if you want build your IJKMediaPlayerKit.framework, you need enter examples/{plat} folder, then exec ./build-framework.sh

Support (支持)

License

Copyright (c) 2017 Bilibili
Licensed under LGPLv2.1 or later
Copyright (c) 2022 Sohu
Licensed under LGPLv2.1 or later

ijkplayer required features are based on or derives from projects below:

android/ijkplayer-exo is based on or derives from projects below:

android/example is based on or derives from projects below:

ios/IJKMediaDemo is based on or derives from projects below:

ijkplayer's build scripts are based on or derives from projects below:

Commercial Use

ijkplayer is licensed under LGPLv2.1 or later, so itself is free for commercial use under LGPLv2.1 or later

But ijkplayer is also based on other different projects under various licenses, which I have no idea whether they are compatible to each other or to your product.

IANAL, you should always ask your lawyer for these stuffs before use it in your product.