当前位置:网站首页>王学岗————直播推流(软便)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"
边栏推荐
猜你喜欢
高数_证明_曲率公式
AWS Security Fundamentals
写不完的数学试卷-----试卷生成器(Qt含源码)
日志@Slf4j介绍使用及配置等级
第三方软件测评有什么作用?权威软件检测机构推荐
Cloud Migration Practice of Redis
Classifying irises using decision trees
[JS Advanced] Creating sub-objects and replacing this_10 in ES5 standard specification
易观分析联合中小银行联盟发布海南数字经济指数,敬请期待!
开源SPL消灭数以万计的数据库中间表
随机推荐
2022年五大云虚拟化趋势
Short read or OOM loading DB. Unrecoverable error, aborting now
R语言使用gt包和gtExtras包优雅地、漂亮地显示表格数据:gtExtras包的gt_highlight_rows函数高亮(highlight)表格中特定的数据行、配置高亮行的特定数据列数据加粗
leetcode 739. Daily Temperatures Daily Temperatures (Moderate)
图式图例规范尺寸
缺少比较器,运放来救场!(运放当做比较器电路记录)
系统架构系列文章三--解决传统企业核心系统的性能问题
2022-08-09: What does the following go code output?A: No, it will panic; B: Yes, it can run correctly; C: Not sure, see the voting result.package main import (“fmt“ “syn
Error: Rule can only have one resource source (provided resource and test + include + exclude)
【ECCV 2022|Millions of Prizes】PSG Competition: Pursuing the "Most Comprehensive" Scene Understanding
SenseTime self-developed robotic arm, the first product is an AI chess-playing robot: Guo Jingjing is also invited as an endorsement
雨水中存在的PFAS化学物质对饮用水安全构成了威胁
A unit test report for CRM One Order Application log
Borg Maze (bfs+最小生成树)
sql语句 异常 Err] 1064 – You have an error in your SQL syntax; check the manual that corresponds to your
基于ArcGIS水文分析、HEC-RAS模拟技术在洪水危险性及风险评估
面试面到了一个腾讯30k出来的,有见识到何为精通MySQL调优
MySQL - storage engine for databases
EVE模拟器的使用-带图超详细(学网络用)「建议收藏」
How to describe multiple paragraphs with different font settings in Open Office XML format