当前位置:网站首页>Two ways to realize video recording based on avfoundation
Two ways to realize video recording based on avfoundation
2022-07-05 21:09:00 【ReyZhang】
Preface
AVCaptureSession
yes AVFoundation
Of Core class
, Used to manage Capture
object AVCaptureInput Of Video and audio input
, Coordinate Capture
Output AVCaptureOutput
.
AVCaptureOutput
There are two ways to output :
- One is to directly movieFileUrl Mode output ;
- One is based on raw data flow data Mode output of
The flow comparison diagram is as follows :
Here are two ways to record video :
Scheme 1 、AVCaptureSession + AVCaptureMovieFileOutput
1. establish AVCaptureSession
// Import AVFoundation.framework
#import
边栏推荐
- 《SAS编程和数据挖掘商业案例》学习笔记# 19
- The reason why the ncnn converted model on raspberry pie 4B always crashes when called
- 校招期间 准备面试算法岗位 该怎么做?
- Modifiers of attributes of TS public, private, protect
- js常用方法封装
- selenium 获取dom内验证码图片
- ts 之 泛型
- LeetCode: Distinct Subsequences [115]
- Enclosed please find. Net Maui's latest learning resources
- Comparison table of foreign lead American abbreviations
猜你喜欢
使用WebAssembly在浏览器端操作Excel
研學旅遊實踐教育的開展助力文旅產業發展
显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
Clickhouse copy paste multi line SQL statement error
【案例】定位的运用-淘宝轮播图
[case] Application of positioning - Taobao rotation map
Realize the function of verifying whether the user has completed login when browsing the page
学习机器人无从下手?带你体会当下机器人热门研究方向有哪些
2022-07-03-CKA-粉丝反馈最新情况
The transformation based on vertx web sstore redis to realize the distributed session of vertx HTTP application
随机推荐
postgis 安装地理信息扩展
Pytorch实战——MNIST数据集手写数字识别
selenium 获取dom内验证码图片
int GetMonth( ) const throw( ); What does throw () mean?
wpf 获取datagrid 中指定行列的DataGridTemplateColumn中的控件
How to send samples when applying for BS 476-7 display? Is it the same as the display??
Add ICO icon to clion MinGW compiled EXE file
100 cases of shell programming
Sophomore personal development summary
SQL series (basic) - Chapter 2 limiting and sorting data
Arcgis\qgis no plug-in loading (no offset) mapbox HD image map
PostGIS installation geographic information extension
驱动壳美国测试UL 2043 符合要求有哪些?
显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
Get JS of the previous day (timestamp conversion)
ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图
Traps in the explode function in PHP
leetcode:1139. The largest square bounded by 1
浅聊我和一些编程语言的缘分
Hdu2377bus pass (build more complex diagram +spfa)