当前位置:网站首页>直播弱网优化
直播弱网优化
2022-08-03 11:02:00 【51CTO】
弱网优化可以从推流端和拉流端两个方面来优化。
1. 根据上行带宽的状况来动态调整码率、帧率、分辨率
直播过程中可能会遭遇网络变差的情况,为了保证直播流的延续,可以根据上行带宽来适当降低码率、帧率、分辨率。不同的带宽对应一定范围的码率、帧率值 ,调整过后,就不至于太低或太高导致画面不流畅。
2. 推流端使用H.265编码推流
使用H.265编码推流可以节省40%带宽,可惜的是并不是所有手机都支持用H.265编码格式播放,所以需要针对手机型号进行推流。
3. 播放端(拉流端)弱网优化
不同播放内核的弱网优化的策略是不同的,如果是VLC media player,可以在网络状况变差时,将视频画面卡住,等Buffering数据填充5s后,再进行播放。FFmpeg也可以如此定义优化策略。当然其他的优化策略也是值得考虑和尝试的。
谢谢阅读。
边栏推荐
- Machine Learning Overview
- STM32入门开发 介绍SPI总线、读写W25Q64(FLASH)(硬件+模拟时序)
- What is the ERC20 token standard?
- MATLAB Programming and Applications 2.6 Strings
- 【TypeScript】Why choose TypeScript?
- 【多线程的相关内容】
- QT with OpenGL(HDR)
- Why is the new earth blurred, in-depth analysis of white balls, viewing pictures, and downloading problems
- Dva.js 新手入门指南
- Babbitt | Metaverse daily must-read: Players leave, platforms are shut down, and the digital collection market is gradually cooling down. Where is the future of the industry?...
猜你喜欢

巴比特 | 元宇宙每日必读:玩家离场,平台关停,数字藏品市场正逐渐降温,行业的未来究竟在哪里?...

FR9811S6 SOT-23-6 23V,2A同步降压DC/DC转换器

The way of programmer architecture practice: how to design a sustainable evolution system architecture?

【多线程的相关内容】

SAP 电商云 Spartacus UI 的 External Routes 设计明细

二叉搜索树(搜索二叉树)模拟实现(有递归版本)

numpy

redis基础知识总结——数据类型(字符串,列表,集合,哈希,集合)

深度学习经典网络 -- Inception系列(稀疏结构)
![[Star Project] Little Hat Plane Battle (9)](/img/e3/c7d2728080bcdccc181a7e5c50ee6f.png)
[Star Project] Little Hat Plane Battle (9)
随机推荐
【JDBC以及内部类的讲解】
ETL data cleaning case in MapReduce
Simple implementation of a high-performance clone of Redis using .NET (1)
完全背包问题
袋鼠云思枢:数驹 DTengine,助力企业构建高效的流批一体数据湖计算平台
DOM对象能干什么?
试题G:单词分析 ← 第十一届蓝桥杯大赛第二场省赛赛题
二叉搜索树(搜索二叉树)模拟实现(有递归版本)
[Star Project] Little Hat Plane Battle (9)
聊天app开发——防炸麦以及节省成本的内容鉴定方法
complete knapsack problem
Babbitt | Metaverse daily must-read: Players leave, platforms are shut down, and the digital collection market is gradually cooling down. Where is the future of the industry?...
numpy
苏州大学:从PostgreSQL到TDengine
数字藏品和ICP
通过GBase 8c Platform安装数据库集群时报错
mysql数据库定时备份占用大量线程,导致全局锁表,有啥好的解决方法么
鸿蒙第三次
如何将Oracle/MySQL中的数据迁移到GBase 8c中?
509. 斐波那契数