当前位置:网站首页>音视频编解码
音视频编解码
2022-04-21 23:32: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
版权声明
本文为[lcyw]所创,转载请带上原文链接,感谢
https://blog.csdn.net/machh/article/details/124304830
边栏推荐
- 341-Linux 连接数据库
- php7. 2 Zend opcache cache includes the contents read out
- Leetcode每日一题824. 山羊拉丁文
- 【H.264】简单编码器及SPS
- 机器学习,深度学习,神经网络,深度神经网络之间有何区别?
- 【FFmpeg】命令行
- Ruffian Heng embedded: talk about the application and influence of system watchdog wdog1 in the startup of i.mxrt1xxx system
- 6. Hiérarchie des protocoles et modèle de service (clé)
- The pattern should be large and the vision should be broad, and the humanitarian spirit should be upheld [continuous updating, do not delete]
- 多表创建视图问题:修改视图数据时报1062
猜你喜欢

.101键盘事件

341 Linux connection database

红星美凯龙阵痛:“挥刀“降杠杆、净利率腰斩

leetcode:440. 字典序的第K小数字

入参有汉字,报错500,服务器内部错误

A collection of large factories and face classics. Do you know these knowledge points

6、协议层次化和服务模型(重点)

BUUCTF 荷兰宽带数据泄露

DetNet: A Backbone network for Object Detection

Click the imported file or click the component to enter the corresponding component page for editing
随机推荐
Ijcai2022 employment results released! The acceptance rate is 15%. Did you win?
MYSQL 为什么不要使用SELECT * 作为查询条件?(持续更新)
leetcode:443. 压缩字符串
Following Huawei Cangjie, it reproduces four domestic programming languages in various forms, including one 0 code
Sélection et évolution des microservices dans l'architecture native du cloud
Two benchmark performance test methods of redis
6、协议层次化和服务模型(重点)
C language: simple profit and bonus
php7. 2 Zend opcache cache includes the contents read out
(十)瑞芯微rk3568 中qt工程ffmpeg 拉取rtsp视频流
机器学习,深度学习,神经网络,深度神经网络之间有何区别?
LeetCode_ 746 climbing stairs with minimum cost
The three secret softwares of the leaders are practical and powerful, which are powerful tools for office efficiency and workplace promotion
(七)瑞芯微rk3568 buildroot 添加编译好的脚本和二进制程序文件
Golang force buckle leetcode 385 Mini parser
Connexion personnalisée traitée avec succès
Simple and easy to collect navigation website source code
Pytorch (V) -- Notes
[wrapper (1)]
(10) RTSP video stream pulled by QT engineering ffmpeg in Ruixin micro rk3568