debugly / ijkplayer

macOS/iOS video player based on ijkplayer, using FFmpeg 6, support Metal、hw accel、HDR、ass subtitle effect...
GNU General Public License v2.0
102 stars 16 forks source link

你好 我直接运行iOS demo 报错 #43

Closed wfs498121294 closed 2 weeks ago

wfs498121294 commented 3 weeks ago

'libavutil/imgutils.h' file not found

wfs498121294 commented 3 weeks ago

有 pod install

debugly commented 3 weeks ago

pod install 前没有下载依赖库吧

debugly commented 3 weeks ago
git clone https://github.com/debugly/ijkplayer.git ijkplayer
cd ijkplayer
git checkout -B latest k0.11.6
git submodule update --init

./FFToolChain/main.sh install -p macos -l 'ass ffmpeg'
./FFToolChain/main.sh install -p ios -l 'ass ffmpeg'
./FFToolChain/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/ios/IJKMediaDemo.xcworkspace
# run macOS demo
open ./examples/macos/IJKMediaMacDemo.xcworkspace
# run tvOS demo
open ./examples/tvos/IJKMediaTVDemo.xcworkspace