内容简介:build script is based on
GoPlay
- GoPlay is a media player framework for iOS. Based on FFmpeg and OpenGL ES 2.0. support all formats and custom your own filters by GLSL.
Build iOS
build script is based on FFmpeg-iOS-build-script
- To build everything:
./build-ffmpeg.sh
- PS
After compile, if you want to custom your own library, you shoud notice three points: 1) copy ./ffmpeg-3.4.1/libavformat/avc.h ---> ./FFmpeg-iOS/include/libavformat/ 2) copy ./FFmpeg-iOS ---> ./GoPlay/GoPlay/Vendor/FFmpeg/ 3) config: Build Settings - Header Search Paths - "$(SRCROOT)/GoPlay/Vendor/FFmpeg/FFmpeg-iOS/include"
Features
- H.264/H.265(hevc) hardware accelerator (VideoToolBox)
- support FFmpeg software Decode
- support all formats based on FFmpeg, including RTMP, RTSP, HTTP/HTTPS and so on
- support custom filter(based on OpenGL ES 2.0 glsl)
- support filter chain between source and display (refer GPUImage)
- support watermark filter
- VR video and arcball control
- accurate seek support
- powerful robust algorithm for audio and video synchronization
- support adaptive frame drop
- video-output: OpenGL ES 2.0
- audio-output: AudioUnit
Dependencies
// iOS - AVFoundation.framework - AudioToolBox.framework - VideoToolBox.framework - libiconv.tbd - libbz2.tbd - libz.tbd - FFmpeg 3.4.1
Basic Usage
PlayViewController* vc = [[PlayViewController alloc]init]; vc.url = @""; //input video/audio url [self.navigationController pushViewController:vc animated:YES];
Advanced Usage
//custom your own player based on FFPlay/FFFilter/FFView; //PlayViewController is a demo.
Screenshots
iOS
- plane video
- vr video
- video with watermark
Communication
- GitHub : dKingbin
- Email : loveforjyboss@163.com
License
Copyright (c) 2019 dKingbin Licensed under LGPLv2.1 or later
GoPlay required features are based on or derives from projects below:
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Python+OpenCV为图片添加中文水印与图片水印
- 工具系列--简单水印(watermark-dom)和算法水印(频域方式图片合并)实现
- 插件系列--简单水印(watermark-dom)和算法水印(频域方式图片合并)实现
- 前端页面水印生成实现
- 浅谈前端水印
- 前端水印初探
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。