鸿蒙开源组件——基于FFmpeg的ohos视频播放器
ijkplayer
基于FFmpeg的ohos视频播放器
概述
ijkplayer是基于ffmpeg进行封装的,所以ffmpeg支持的流媒体协议和视频格式ijk都支持,具体支持的协议可以看ffmpeg相关文档: 支持的流媒体协议:https://ffmpeg.org/ffmpeg-protocols.html 支持的音频\视频媒体文件格式:https://ffmpeg.org/ffmpeg-formats.html 特殊视频格式可以自行修改ffmpeg的编译脚本以支持相关功能
集成使用
详情请参考ijkplayer_example工程的README.md
如何编译
详情请参考ijkplayer hos工程中的README.md
License
Copyright (c) 2017 Bilibili
Licensed under LGPLv2.1 or later
ijkplayer 需要组件级下载地址:
- LGPL
- zlib license
- BSD-style license
- ISC license
android/ijkplayer-exo is based on or derives from projects below:
- Apache License 2.0
android/example is based on or derives from projects below:
- GPL
- android-ndk-profiler (not included by default)
ios/IJKMediaDemo is based on or derives from projects below:
- Unknown license
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.