当前位置:网站首页>王学岗————直播推流(软便)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 tensorflow installation stepping on the pit
- IT小白怎么系统的php学习
- R语言实战应用案例:论文篇(一)-特殊柱形图绘制
- How to describe multiple paragraphs with different font settings in Open Office XML format
- 正则表达式(包含各种括号,echo,正则三剑客以及各种正则工具)
- 【219】慕课三千多的那个go工程师的培训课笔记 02 go语言的编程思想
- 从洞察到决策,一文解读标签画像体系建设方法论
- C#实现访问OPC UA服务器
- 锂电池技术
- How does vue clear the tab switching cache problem?
猜你喜欢
【ECCV 2022|Millions of Prizes】PSG Competition: Pursuing the "Most Comprehensive" Scene Understanding
1W字详解线程本地存储 ThreadLocal
Short read or OOM loading DB. Unrecoverable error, aborting now
写不完的数学试卷-----试卷生成器(Qt含源码)
“Oracle 封禁了我的账户”
How does IT Xiaobai learn PHP systematically
A unit test report for CRM One Order Application log
如何完成新媒体产品策划?
什么?你还不会JVM调优?
Short read or OOM loading DB. Unrecoverable error, aborting now
随机推荐
leetcode 739. Daily Temperatures 每日温度(中等)
Matrix Keyboard & Calculator Small Project Based on 51 (UcosII)
SecureCRTPortable – 破解
锂电池技术
epoll学习:思考一种高性能的服务器处理框架
开源SPL消灭数以万计的数据库中间表
NAACL 2022 | 简单且高效!随机中间层映射指导的知识蒸馏方法
ABAP file operations involved in the Chinese character set of problems and solutions for trying to read
malloc 函数详解
[target detection] small script: extract training set images and labels and update the index
【有限元分析】异型密封圈计算泄漏量与参数化优化过程(带分析源文件)
【219】慕课三千多的那个go工程师的培训课笔记 02 go语言的编程思想
Error: Rule can only have one resource source (provided resource and test + include + exclude)
日志@Slf4j介绍使用及配置等级
Classifying irises using decision trees
“Oracle 封禁了我的账户”
重要通知 | “移动云杯”算力网络应用创新大赛初赛延期!!
usb转rs485测试软件,usb转rs485「建议收藏」
Summary of Force Buckle Solution 640 - Solving Equations
【ECCV 2022|Millions of Prizes】PSG Competition: Pursuing the "Most Comprehensive" Scene Understanding