当前位置:网站首页>王学岗————直播推流(软便)03x264集成与camera推流
王学岗————直播推流(软便)03x264集成与camera推流
2022-08-10 14:12:00 【qczg_wxg】
前言
1,软解码只有两种方式:x264只能做编码视频,功能单一;ffmpeg功能齐全。
2,faac用来做音频编码。
3,软解码不能用mediacodec。
架构解析
1,队列要放到native层。硬编的队列放到Java层,这是不一样的地方
2,队列一定要放压缩数据,而不能放原始数据。
3,今天用摄像头数据。
4,camerax不需要旋转,camera1需要自己写旋转算法
5,x264需要自己编译。
代码
添加camerax依赖
implementation "androidx.camera:camera-core:1.0.0-alpha05"
implementation "androidx.camera:camera-camera2:1.0.0-alpha05"
边栏推荐
- Pointer (preliminary solution of C language)
- MySQL interview questions
- 【MinIO】Using tools
- 快速了解大端模式和小端模式
- 【219】慕课三千多的那个go工程师的培训课笔记 02 go语言的编程思想
- How does IT Xiaobai learn PHP systematically
- 【量化交易行情不够快?】一文搞定通过Win10 wsl2 +Ubuntu+redis+pickle实现股票行情极速读写
- 写不完的数学试卷-----试卷生成器(Qt含源码)
- vue 怎么清除tab 切换缓存问题 ?
- 符合信创要求的堡垒机有哪些?支持哪些系统?
猜你喜欢

【JS高级】ES5标准规范之创建子对象以及替换this_10
![[Gazebo Introductory Tutorial] Lecture 3 Static/Dynamic Programming Modeling of SDF Files](/img/ec/87566763daf7faa3769ee186f93ee0.jpg)
[Gazebo Introductory Tutorial] Lecture 3 Static/Dynamic Programming Modeling of SDF Files

2022年五大云虚拟化趋势

日志@Slf4j介绍使用及配置等级

Matrix Keyboard & Calculator Small Project Based on 51 (UcosII)

借数据智能,亚马逊云科技助力企业打造品牌内生增长力

MySQL - storage engine for databases

从洞察到决策,一文解读标签画像体系建设方法论
雨水中存在的PFAS化学物质对饮用水安全构成了威胁
WebView的优化与常见问题解决方案
随机推荐
CodeForces - 811A
普林斯顿微积分读本05第四章--求解多项式的极限问题
Short read or OOM loading DB. Unrecoverable error, aborting now
malloc 函数详解
作业8.9 构建TCP协议的服务器
图式图例规范尺寸
the height of the landscape
How does vue clear the tab switching cache problem?
The recursive recursive Fighting_ silver study ah but level 4
awk的简单使用
[Gazebo Introductory Tutorial] Lecture 3 Static/Dynamic Programming Modeling of SDF Files
一汽奥迪:持续34年聚焦品质与体验 立足市场需求推进产品迭代
Calculate the number of combinations recursively
Error: Rule can only have one resource source (provided resource and test + include + exclude)
YTU 2295: KMP pattern match one (string)
ABAP file operations involved in the Chinese character set of problems and solutions for trying to read
C#实现访问OPC UA服务器
Data product manager thing 2
【MinIO】工具类使用
CodeForces-834C