内容简介: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)和算法水印(频域方式图片合并)实现
- 前端页面水印生成实现
- 浅谈前端水印
- 前端水印初探
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
深入理解并行编程
[美] Paul E.Mckenney(保罗·E·麦肯尼) / 谢宝友 鲁阳 / 电子工业出版社 / 2017-7-1 / 129
《深入理解并行编程》首先以霍金提出的两个理论物理限制为引子,解释了多核并行计算兴起的原因,并从硬件的角度阐述并行编程的难题。接着,《深入理解并行编程》以常见的计数器为例,探讨其不同的实现方法及适用场景。在这些实现方法中,除了介绍常见的锁以外,《深入理解并行编程》还重点介绍了RCU的使用及其原理,以及实现RCU的基础:内存屏障。最后,《深入理解并行编程》还介绍了并行软件的验证,以及并行实时计算等内容......一起来看看 《深入理解并行编程》 这本书的介绍吧!