当前位置:网站首页>音频编解码基础知识
音频编解码基础知识
2022-07-01 18:45:00 【lcyw】
PCM基础知识
PCM是指未经过压缩的原始声音脉冲信号数据,它主要通过采样率、采样格式(比如每个采样点是8位、16位、32位等)、声道数来描述。
在FFmpeg中有两种表示PCM数据包的模式,分别是planer和packed模式,那么它们有什么区别呢?其中packed又叫做交错模式,而planer又叫平面模式,所谓交错或平面就是不同声道的声音信号排列储存的方式,例如对于一个双声道的PCM数据来说, 用packed模式表示是这样子的:
用L表示左声道数据,用R表示右声道数据
LRLRLRLRLRLRLRLR
而用laner模式表示的话,则是这样子的:
用L表示左声道数据,用R表示右声道数据
LLLLLLLL RRRRRRRR
在FFmpeg中,packed模式的格式有:
AV_SAMPLE_FMT_U8, ///< unsigned 8 bits边栏推荐
- Learning records of building thingsboard, an Internet of things platform
- Dlib+Opencv库实现疲劳检测
- XML语法、约束
- 云服务器ECS夏日省钱秘籍,这次@老用户快来领走
- CMU AI PhD 第一年总结
- EasyGBS主子码流都为H.265时,切换出现花屏如何解决?
- Implement a Prometheus exporter
- 记一次 .NET 差旅管理后台 CPU 爆高分析
- 118. 杨辉三角
- Extensive reading of the paper [film: visual reasoning with a general condition layer]
猜你喜欢

Learn MySQL from scratch - database and data table operations

How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
使用环信提供的uni-app Demo,快速实现一对一单聊

Lumiprobe free radical analysis h2dcfda instructions

为什么一定要从DevOps走向BizDevOps?

uni-app商品分类

【森城市】GIS数据漫谈(一)

Les canaux de culture intensive s'efforcent de développer Fu Xin et Wei Shi jiajie pour organiser une conférence de formation sur les nouveaux produits

sql查询去重统计的方法总结

论文泛读【FiLM: Visual Reasoning with a General Conditioning Layer】
随机推荐
Facebook聊单,SaleSmartly有妙招!
B2B e-commerce platform solution for fresh food industry to improve the standardization and transparency of enterprise transaction process
Chinese and English instructions human soluble advanced glycation end products receptor (sRAGE) ELISA Kit
EasyGBS网络不稳定情况下重复请求视频拉流问题的优化
【英语语法】Unit1 冠词、名词、代词和数词
【6.24-7.1】写作社区精彩技术博文回顾
ECS summer money saving secret, this time @ old users come and take it away
测试自学人必看:软件测试如何找测试项目?
实现一个Prometheus exporter
Three ways for redis to realize current limiting
English语法_形容词/副词3级 -注意事项
Nacos configuration file publishing failed, please check whether the parameters are correct solution
The difference between indexof and includes
正则表达式=Regex=regular expression
[go ~ 0 to 1] day 5 July 1 type alias, custom type, interface, package and initialization function
Intensive cultivation of channels for joint development Fuxin and Weishi Jiajie held a new product training conference
kubernetes命令入门(namespaces,pods)
Solution and summary of Nacos startup failure
任务:拒绝服务DoS
研究了11种实时聊天软件,我发现都具备这些功能…