当前位置:网站首页>音频编解码基础知识
音频编解码基础知识
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边栏推荐
猜你喜欢

Lake Shore—OptiMag 超导磁体系统 — OM 系列
![[to.Net] C set class source code analysis](/img/59/4c7b910bc6505e5f81015ce80812fc.png)
[to.Net] C set class source code analysis

XML语法、约束
![[pytorch record] automatic hybrid accuracy training torch cuda. amp](/img/a5/cf1eb2801380cf2887dfd532d3eb1e.jpg)
[pytorch record] automatic hybrid accuracy training torch cuda. amp

数字化转型企业成功的关键,用数据创造价值

MySQL common graphics management tools | dark horse programmers

Digital business cloud: from planning to implementation, how does Minmetals Group quickly build a new pattern of digital development?

Solidity - contract structure - error - ^0.8.4 NEW

Junit单元测试框架详解

如何正确使用Vertx操作Redis(3.9.4带源码分析)
随机推荐
Go语言高级
nacos启动失败问题解决与总结
Chaos engineering platform chaosblade box new heavy release
Flutter 实战-快速实现音视频通话应用
PostgreSQL varchar[] 数组类型操作
【Go ~ 0到1 】 第四天 6月30 defer,结构体,方法
[go ~ 0 to 1] day 5 July 1 type alias, custom type, interface, package and initialization function
win10下使用msys+vs2019编译ffmpeg源码
DTD建模
宝,运维100+服务器很头疼怎么办?用行云管家!
【Go ~ 0到1 】 第五天 7月1 类型别名,自定义类型,接口,包与初始化函数
ES6中的代理proxy
Learning notes - steps of JDBC connection database operation
Facebook聊单,SaleSmartly有妙招!
论文泛读【FiLM: Visual Reasoning with a General Conditioning Layer】
The intelligent epidemic prevention system provides safety guarantee for the resumption of work and production at the construction site
axure不显示元件库
Manufacturing SRM management system supplier all-round closed-loop management, to achieve procurement sourcing and process efficient collaboration
Dom4J解析XML、Xpath检索XML
Helium transmission line of lake shore cryostat