当前位置:网站首页>【读书会第十三期】 音频文件的封装格式和编码格式
【读书会第十三期】 音频文件的封装格式和编码格式
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文件时,不同的模式,默认是频谱图模式的。
边栏推荐
- LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
- 重排数组
- Introduction to asynchronous task capability of function calculation - task trigger de duplication
- js平铺数据查找叶子节点
- selenium 浏览器(2)
- Leecode learning notes - Joseph problem
- Usage of database functions "recommended collection"
- 中国主要城市人均存款出炉,你达标了吗?
- Preliminary exploration of flask: WSGI
- 宽度与对齐
猜你喜欢

31年前的Beyond演唱会,是如何超清修复的?

leecode学习笔记-约瑟夫问题
![[local differential privacy and random response code implementation] differential privacy code implementation series (13)](/img/fe/f6a13dcf31ac67633ee5a59d95149d.jpg)
[local differential privacy and random response code implementation] differential privacy code implementation series (13)

Flutter reports an error no mediaquery widget ancestor found

The performance of major mainstream programming languages is PK, and the results are unexpected

Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist

When synchronized encounters this thing, there is a big hole, pay attention!

Intelligent customer service track: Netease Qiyu and Weier technology play different ways

暑期复习,一定要避免踩这些坑!

夜天之书 #53 Apache 开源社群的“石头汤”
随机推荐
对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
%f格式符
PLC模拟量输入 模拟量转换FC S_ITR (CODESYS平台)
Five minutes per day machine learning: use gradient descent to complete the fitting of multi feature linear regression model
Align left and right!
CentOS 6.3 下 PHP编译安装JSON模块报错解决
Leetcode 1200 minimum absolute difference [sort] the way of leetcode in heroding
MySQL learning notes - data type (numeric type)
夜天之书 #53 Apache 开源社群的“石头汤”
Hexadecimal form
Luo Gu - some interesting questions
干货 | fMRI标准报告指南新鲜出炉啦,快来涨知识吧
Is BigDecimal safe to calculate the amount? Look at these five pits~~
MP3是如何诞生的?
Unity脚本生命周期 Day02
Redis的4种缓存模式分享
力扣刷题01(反转链表+滑动窗口+LRU缓存机制)
【学习笔记】拟阵
unity update 协程_Unity 协程的原理
Unity脚本API—Time类
