当前位置:网站首页>【读书会第十三期】 音频文件的封装格式和编码格式
【读书会第十三期】 音频文件的封装格式和编码格式
2022-07-04 14:23:00 【华为云】
FFmpeg的音频封装格式
MP3是我们在日常生活中最常见的音频格式之一, 也是一种音频封装格式。
日常生活中,我们经常可以看到*. mp3的音频文件,就像mp4、 flv的视频封装格式一样。
MP3封装格式
我们可以使用如下命令查看ffmpeg 支持的封装格式列表:
ffmpeg- formats| XXX mp3
也可以使用如下命令播放一个mp3音乐文件:
普通模式:
ffplay XX.mp3
波形图模式:
ffplay -showmode 1 XX.mp3
频谱图模式:
ffplay -showmode 2 XX.mp3
FFmpeg的音频编码格式
FFmpeg支持很多编码格式,包括MP’3、 AAC、 AC3等。
我们主要学习的是MP3音频编码格式。
MP3编码格式
MP3也是一种音频编码格式。
和视频不同,视频编码格式,比如H264, -般会封装MP4或者FIV这种封装格式中被使用。音频编码格式MP3, 则是封装在同名的MP3的封装格式中。二者容易混淆,注意区分。
我们可以使用如下命令查看ffmpeg 支持的编码格式列表: .
ffmpeg- encoders| xxx mp3
使用如下命令查看ffmpeg 支持的解码格式列表:
ffmpeg- decoders| xxx mp3
MP3文件结构
总结:
通过本期,学习到FFmpeg查看音视频媒体信息的方法,以及MP3封装和编码格式。可以自己实践看到FFmpeg播放一个MP3文件时,不同的模式,默认是频谱图模式的。
边栏推荐
- selenium 浏览器(2)
- unity update 协程_Unity 协程的原理
- 深度学习 网络正则化
- I plan to teach myself some programming and want to work as a part-time programmer. I want to ask which programmer has a simple part-time platform list and doesn't investigate the degree of the receiv
- Luo Gu - some interesting questions
- 2022 financial products that can be invested
- Redis publier et s'abonner
- Partial modification - progressive development
- lnx 高效搜索引擎、FastDeploy 推理部署工具箱、AI前沿论文 | ShowMeAI资讯日报 #07.04
- 深度学习 神经网络案例(手写数字识别)
猜你喜欢
Dialogue with ye Yanxiu, senior consultant of Longzhi and atlassian certification expert: where should Chinese users go when atlassian products enter the post server era?
I plan to teach myself some programming and want to work as a part-time programmer. I want to ask which programmer has a simple part-time platform list and doesn't investigate the degree of the receiv
力扣刷题01(反转链表+滑动窗口+LRU缓存机制)
When synchronized encounters this thing, there is a big hole, pay attention!
Preliminary exploration of flask: WSGI
Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
音视频技术开发周刊 | 252
lnx 高效搜索引擎、FastDeploy 推理部署工具箱、AI前沿论文 | ShowMeAI资讯日报 #07.04
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
Preliminary exploration of flask: WSGI
随机推荐
Leecode learning notes - Joseph problem
Preliminary exploration of flask: WSGI
unity update 协程_Unity 协程的原理
Introduction of text mining tools [easy to understand]
Unity脚本API—Transform 变换
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
Flutter reports an error no mediaquery widget ancestor found
ES6 modularization
Details of FPGA underlying resources
.Net 应用考虑x64生成
Redis publish and subscribe
LeetCode 58. 最后一个单词的长度
左右对齐!
03-存储系统
03 storage system
Force button brush question 01 (reverse linked list + sliding window +lru cache mechanism)
Optimization method of deep learning neural network
输入宽度!
Quelles sont les perspectives de l'Internet intelligent des objets (aiot) qui a explosé ces dernières années?
IO流:节点流和处理流详细归纳。