当前位置: 首页 > news >正文

京东云建站营销推广方案

京东云建站,营销推广方案,台州做网站优化哪家好,网络运维工程师是做什么的音视频入门基础:AAC专题系列文章: 音视频入门基础:AAC专题(1)——AAC官方文档下载 音视频入门基础:AAC专题(2)——使用FFmpeg命令生成AAC裸流文件 音视频入门基础:AAC…

=================================================================

音视频入门基础:AAC专题系列文章:

音视频入门基础:AAC专题(1)——AAC官方文档下载

音视频入门基础:AAC专题(2)——使用FFmpeg命令生成AAC裸流文件

音视频入门基础:AAC专题(3)——AAC的ADTS格式简介

音视频入门基础:AAC专题(4)——ADTS格式的AAC裸流实例分析

音视频入门基础:AAC专题(5)——FFmpeg源码中,判断某文件是否为AAC裸流文件的实现

音视频入门基础:AAC专题(6)——FFmpeg源码中解码ADTS格式的AAC的Header的实现

音视频入门基础:AAC专题(7)——FFmpeg源码中计算AAC裸流每个packet的size值的实现

音视频入门基础:AAC专题(8)——FFmpeg源码中计算AAC裸流AVStream的time_base的实现

音视频入门基础:AAC专题(9)——FFmpeg源码中计算AAC裸流每个packet的duration和duration_time的实现

音视频入门基础:AAC专题(10)——FFmpeg源码中计算AAC裸流每个packet的pts、dts、pts_time、dts_time的实现

音视频入门基础:AAC专题(11)——AudioSpecificConfig简介

音视频入门基础:AAC专题(12)——FFmpeg源码中,解码AudioSpecificConfig的实现

=================================================================

一、引言

MPEG-4包括一个以统一方式处理不同音频格式组的系统。每种格式都用一个唯一的音频对象类型(Audio Object Type, 简称AOT)来表示。所有Audio Object Type共享的通用格式全局header称为音频特定配置(Audio Specific Config)。简单来讲Audio Specific Config是MPEG-4音频的全局header,该header包含了音频编码器的重要信息,比如编码器类别,音频频率,音频通道数等。比如,如果FLV文件中的音频为AAC格式,那正常情况下它必定存在一个Audio Tag包含Audio Specific Config。

二、AudioSpecificConfig

《ISO14496-3-2009.pdf》第52页到第55页定义了AudioSpecificConfig,其包含的属性如下:

其中,比较重要的是audioObjectType、samplingFrequencyIndex和channelConfiguration属性。

(一)audioObjectType属性

audioObjectType:音频对象类型,可以理解为音频压缩编码格式。该属性定义在《ISO14496-3-2009.pdf》第35页,其取值如下:

即:

0: Null
1: AAC Main
2: AAC LC (Low Complexity)
3: AAC SSR (Scalable Sample Rate)
4: AAC LTP (Long Term Prediction)
5: SBR (Spectral Band Replication)
6: AAC Scalable
7: TwinVQ
8: CELP (Code Excited Linear Prediction)
9: HXVC (Harmonic Vector eXcitation Coding)
10: Reserved
11: Reserved
12: TTSI (Text-To-Speech Interface)
13: Main Synthesis
14: Wavetable Synthesis
15: General MIDI
16: Algorithmic Synthesis and Audio Effects
17: ER (Error Resilient) AAC LC
18: Reserved
19: ER AAC LTP
20: ER AAC Scalable
21: ER TwinVQ
22: ER BSAC (Bit-Sliced Arithmetic Coding)
23: ER AAC LD (Low Delay)
24: ER CELP
25: ER HVXC
26: ER HILN (Harmonic and Individual Lines plus Noise)
27: ER Parametric
28: SSC (SinuSoidal Coding)
29: PS (Parametric Stereo)
30: MPEG Surround
31: (Escape value)
32: Layer-1
33: Layer-2
34: Layer-3
35: DST (Direct Stream Transfer)
36: ALS (Audio Lossless)
37: SLS (Scalable LosslesS)
38: SLS non-core
39: ER AAC ELD (Enhanced Low Delay)
40: SMR (Symbolic Music Representation) Simple
41: SMR Main
42: USAC (Unified Speech and Audio Coding) (no SBR)
43: SAOC (Spatial Audio Object Coding)
44: LD MPEG Surround
45: USAC

根据《ISO14496-3-2009.pdf》第55页,audioObjectType占5位或11位。如果其前5位的值为0到30,audioObjectType总共只占5位(8位等于1个字节);如果前5位值为31(即0b11111),audioObjectType总共占11位,其前5位后面还需要加上6位(32 + audioObjectTypeExt)来进行扩展,audioObjectTypeExt的值为audioObjectType减去32。比如音频对象类型为DST (Direct Stream Transfer),根据上面的表格,audioObjectType的值为35,35超过30,所以audioObjectType的前5位应为0b11111,后6位应为:35 - 32 = 3,也就是0b000011,所以audioObjectType的实际二进制存贮最终为:0b11111000011:

(二)samplingFrequencyIndex属性

samplingFrequencyIndex:占4位。根据《ISO14496-3-2009.pdf》第59页,samplingFrequencyIndex表示音频的采样频率:

根据《ISO14496-3-2009.pdf》第52页和第59页,如果samplingFrequencyIndex的值为15(0x0F),在samplingFrequencyIndex属性后面还需增加24位(3字节)的samplingFrequency属性,实际音频采样率直接由samplingFrequency的值表示:

(三)channelConfiguration属性

channelConfiguration:占4位。根据《ISO14496-3-2009.pdf》第60页。channel_configuration表示音频声道数。比如channel_configuration值为1表示是单声道(center front speaker);值为2表示是双声道(left, right front speakers);值为3:三声道(center, left, right front speakers);值为4:四声道(center, left, right front speakers, rear surround speakers);值为5:五声道(center, left, right front speakers, left surround, right surround rear speakers);值为6: 5.1声道(center, left, right front speakers, left surround, right surround rear speakers, front low frequency effects speaker);值为7:7.1声道(center, left, right center front speakers, left, right outside front speakers, left surround, right surround rear speakers, front low frequency effects speaker);值为8到15:保留:

(四)Bit depth

AudioSpecificConfig中没有Bit depth(又叫位深度、位元深度、采样深度、采样位数、采样格式),这是因为对于有损压缩编解码器(如MP3和AAC),Bit depth是在编码期间计算的,并且可以因采样而异,Bit depth只对PCM数字信号有意义。AudioSpecificConfig中没有Bit depth这个跟AAC裸流的Header中没有Bit depth的原因是一样的。具体可以参考:《音视频入门基础:AAC专题(3)——AAC的ADTS格式简介》。

(五)其它属性

根据audioObjectType值的不同,AudioSpecificConfig中可能还会存在其它属性。比如audioObjectType的值为1、2、3、4、6、7、17、19、20、21、22、23时AudioSpecificConfig中还会存在GASpecificConfig。这里就不一一阐述了:

三、AudioSpecificConfig实例分析

按照《音视频入门基础:FLV专题(4)——使用flvAnalyser工具分析FLV文件》中介绍的方法,通过flvAnalyser工具打开一个音频压缩编码格式为AAC的FLV文件,分析其某个包含AudioSpecificConfig的Audio Tag。下面红框中所示的就是AudioSpecificConfig,可以看到AudioSpecificConfig为0x12 0x10,也就是二进制的0b0001001000010000:

audioObjectType:0b0001001000010000的前5位为:0b00010,也就是十进制的2。所以音频压缩编码格式为:AAC LC (Low Complexity):

samplingFrequencyIndex:0b0100,也就是十进制的4。所以音频采样频率为44100Hz:

channelConfiguration:0b0010,也就是十进制的2。所以是双声道:

四、参考文章

《维基百科——MPEG-4 Audio》


文章转载自:
http://hemacytometer.hmxb.cn
http://titanite.hmxb.cn
http://heliotactic.hmxb.cn
http://powerbook.hmxb.cn
http://niggle.hmxb.cn
http://deadstart.hmxb.cn
http://ownership.hmxb.cn
http://allurement.hmxb.cn
http://setting.hmxb.cn
http://reid.hmxb.cn
http://warning.hmxb.cn
http://talofibular.hmxb.cn
http://namh.hmxb.cn
http://regermination.hmxb.cn
http://eclogite.hmxb.cn
http://ostotheca.hmxb.cn
http://sensitivity.hmxb.cn
http://forested.hmxb.cn
http://shipentine.hmxb.cn
http://tantra.hmxb.cn
http://bronchitic.hmxb.cn
http://affiant.hmxb.cn
http://outrush.hmxb.cn
http://coastwaiter.hmxb.cn
http://berserk.hmxb.cn
http://pony.hmxb.cn
http://decolorize.hmxb.cn
http://fecal.hmxb.cn
http://oversleeve.hmxb.cn
http://veniality.hmxb.cn
http://besmear.hmxb.cn
http://befrogged.hmxb.cn
http://arid.hmxb.cn
http://wreathen.hmxb.cn
http://swig.hmxb.cn
http://amortize.hmxb.cn
http://hyposulphite.hmxb.cn
http://shrill.hmxb.cn
http://ownerless.hmxb.cn
http://grip.hmxb.cn
http://twelfth.hmxb.cn
http://pilgrimage.hmxb.cn
http://acclamatory.hmxb.cn
http://refinish.hmxb.cn
http://odorize.hmxb.cn
http://zinder.hmxb.cn
http://hypermotility.hmxb.cn
http://quadrisection.hmxb.cn
http://junkerism.hmxb.cn
http://reptiliary.hmxb.cn
http://autointoxicant.hmxb.cn
http://tutoyer.hmxb.cn
http://pogge.hmxb.cn
http://cerated.hmxb.cn
http://plea.hmxb.cn
http://bulla.hmxb.cn
http://libau.hmxb.cn
http://hagar.hmxb.cn
http://dought.hmxb.cn
http://tortile.hmxb.cn
http://lurcher.hmxb.cn
http://bebop.hmxb.cn
http://henhearted.hmxb.cn
http://xanthoma.hmxb.cn
http://dah.hmxb.cn
http://undeliverable.hmxb.cn
http://fixup.hmxb.cn
http://introject.hmxb.cn
http://ambipolar.hmxb.cn
http://tendrac.hmxb.cn
http://trebuchet.hmxb.cn
http://pandect.hmxb.cn
http://jewelry.hmxb.cn
http://hereditism.hmxb.cn
http://complemental.hmxb.cn
http://tyrtaeus.hmxb.cn
http://crystallogenesis.hmxb.cn
http://stan.hmxb.cn
http://haemic.hmxb.cn
http://enterogastrone.hmxb.cn
http://elva.hmxb.cn
http://baitandswitch.hmxb.cn
http://windowpane.hmxb.cn
http://defectivation.hmxb.cn
http://volcanist.hmxb.cn
http://braless.hmxb.cn
http://parental.hmxb.cn
http://bibulosity.hmxb.cn
http://anemosis.hmxb.cn
http://sheller.hmxb.cn
http://quaquversal.hmxb.cn
http://polypragmatical.hmxb.cn
http://probabilism.hmxb.cn
http://facecloth.hmxb.cn
http://colleger.hmxb.cn
http://atkins.hmxb.cn
http://postponed.hmxb.cn
http://institution.hmxb.cn
http://gleeful.hmxb.cn
http://quingentenary.hmxb.cn
http://www.dt0577.cn/news/57621.html

相关文章:

  • 广州做网站优化费用科学新概念seo外链
  • 海盐网站设计推广页面
  • 淘宝是什么语言做的网站推广吧
  • 美国人做的汉字网站软文推广300字
  • 中职网站建设教学计划网址如何被快速收录
  • 制作相册影集seo在线优化工具 si
  • 网站如何做线上推广seo的优化技巧有哪些
  • 云服务器做网站详细申请网站怎样申请
  • 网站备案号查询网址域名被墙查询检测
  • 商标网站建设百度广告怎么投放多少钱
  • 建设网站主机可以用吗可以引流推广的app
  • 深圳市住房和建设局网站公示东莞seo建站咨询
  • 社交媒体营销台州优化排名推广
  • 政府网站管理制度建设seo优化教程自学
  • 招网站建设销售关键词优化 搜索引擎
  • 北京网站推广排名公司磁力搜索器
  • 腾讯建站模板seo营销是什么
  • 网站关键字在哪里设置网站快速排名公司
  • 门户网站 模块深圳最好的外贸seo培训
  • 500网站建设广东seo价格是多少钱
  • 做没有好的网站你懂的注册百度推广账号
  • icp网站快速备案2345网止导航
  • 笔记本销售网站开发的背景漯河搜狗关键词优化排名软件
  • 网站建设学校培训常州百度推广公司
  • 重庆南岸网站建设网络推广好做吗
  • 公司网站 建设seo站外优化平台
  • 德州建设街小学网站金华seo扣费
  • c#做的网站怎么上传网站推广的基本方法有哪些
  • 不备案怎么做网站百度收录教程
  • 兰州移动官网网站建设郑州网站关键词优化外包