当前位置:网站首页>王学岗————直播推流(软便)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"
边栏推荐
- Summary of Force Buckle Solution 640 - Solving Equations
- 数据产品经理那点事儿 二
- 【MinIO】Using tools
- SecureCRTPortable – 破解
- [JS Advanced] Creating sub-objects and replacing this_10 in ES5 standard specification
- laravel 抛错给钉钉
- A method that can make large data clustering 2000 times faster
- 2022年五大云虚拟化趋势
- 面试面到了一个腾讯30k出来的,有见识到何为精通MySQL调优
- Circle 创始人回应美财政部禁止 Tornado :隐私与安全之间关系紧张
猜你喜欢
C#实现访问OPC UA服务器
使用mysq语句操作数据库
注意力模型---Attention Model
发送post请求前台无法获取数据
MySQL - 数据库的存储引擎
强意识 压责任 安全培训筑牢生产屏障
Matrix Keyboard & Calculator Small Project Based on 51 (UcosII)
实现一个深克隆
【ECCV 2022|Millions of Prizes】PSG Competition: Pursuing the "Most Comprehensive" Scene Understanding
关于已拦截跨源请求CORS 头缺少 ‘Access-Control-Allow-Origin‘问题解决
随机推荐
Send a post request at the front desk can't get the data
Makefile missing separator. Stop.怎么解决「建议收藏」
MySQL - storage engine for databases
Fragment-hide and show
In the second half of 2012 system architecture designers afternoon paper II
C#实现访问OPC UA服务器
MySQL interview questions
【Gazebo入门教程】第三讲 SDF文件的静/动态编程建模
tensorflow安装踩坑总结
A method that can make large data clustering 2000 times faster
Error: Rule can only have one resource source (provided resource and test + include + exclude)
发送post请求前台无法获取数据
【219】慕课三千多的那个go工程师的培训课笔记 02 go语言的编程思想
Open source SPL wipes out tens of thousands of database intermediate tables
Matlab画分段函数「建议收藏」
OpenStack-related commands that need to be recorded _ self-use
vivado闪退或者message无显示
Calculate the number of combinations recursively
@RequestBody的使用[通俗易懂]
d为何用模板参数