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

保定住房和城乡建设委员会网站网站查询工具

保定住房和城乡建设委员会网站,网站查询工具,重庆建设工程信息网官网查询平台,做网站要什么资质AVI文件采用的是RIFF文件结构方式。波形音频wave,MIDI和数字视频AVI都采用这种格式存储。 AVI文件的整体结构如下图所示 构造RIFF文件的基本单元叫做数据块(Chunk),每个数据块包含3个部分 4字节的数据块标记(或者叫…

AVI文件采用的是RIFF文件结构方式。波形音频wave,MIDI和数字视频AVI都采用这种格式存储。
AVI文件的整体结构如下图所示
在这里插入图片描述

构造RIFF文件的基本单元叫做数据块(Chunk),每个数据块包含3个部分

  • 4字节的数据块标记(或者叫做数据块的ID)
  • 数据块大小
  • 数据

整个RIFF文件可以看成一个RIFF块。一个RIFF文件中只允许存在一个RIFF块。RIFF块中包含一系列的子块,其中有一种子块的ID为“LIST”称为LIST,LIST块中可以再包含一系列的子块,但除了LIST块外的其他所有的子块都不能再包含子块。

RIFF和LIST块分别比普通的数据块多一个被称为形式类型(Form Type)和列表类型(List Type)的数据域,其组成如下

  • 4字节的数据块标记(Chunk ID)
  • 数据块的大小
  • 4字节的形式类型或者列表类型
  • 数据
//Chunks
typedef struct {
DWORD dwFourCC
DWORD dwSize      //data
BYTE data[dwSize] // contains headers or video/audio data
} CHUNK;//Lists
typedef struct {
DWORD dwList
DWORD dwSize        //dwFourcc + data
DWORD dwFourCC
BYTE data[dwSize-4] // contains Lists and Chunks
} LIST;

整个AVI文件是一个类型码为为"AVI "的RIFF块,其主要有三个subchunk构成:

  • 信息块(“hdrl” LIST块,用于描述AVI的流数据格式)
  • 数据块(“movi” LIST块,用于保存音视频序列数据)
  • 索引块(可选的,"idxl"子块)

AVI文件的展开结构大致如下:
在这里插入图片描述

在这里插入图片描述
avih块用于描述avi文件信息

其结构如下
在这里插入图片描述

typedef struct
{FourCC fcc;                  // 必须为 avihDWORD cb;                    // 本数据结构的大小,不包括最初的8个字节(fcc和cb两个域)DWORD dwMicroSecPerFrame;    // 视频帧间隔时间(以毫秒为单位)DWORD dwMaxBytesPerSec;      // 这个AVI文件的最大数据率DWORD dwPaddingGranularity;  // 数据填充的粒度DWORD dwFlags;               // AVI文件的全局标记,比如是否含有索引块等DWORD dwTotalFrames;         // 总帧数DWORD dwInitialFrames;       // 为交互格式指定初始帧数(非交互格式应该指定为0)DWORD dwStreams;             // 本文件包含的流的个数DWORD dwSuggestedBufferSize; // 建议读取本文件的缓存大小(应能容纳最大的块)DWORD dwWidth;               // 视频图像的宽(以像素为单位)DWORD dwHeight;              // 视频图像的高(以像素为单位)DWORD dwReserved[4];         // 保留
} AVIMainHeader;

strh用于描述流的头信息

在这里插入图片描述

// AVI流头部
typedef struct
{FourCC fcc;                 // 必须为 strhDWORD cb;                   // 本数据结构的大小,不包括最初的8个字节(fcc和cb两个域)FourCC fccType;             // 流的类型: auds(音频流) vids(视频流) mids(MIDI流) txts(文字流)FourCC fccHandler;          // 指定流的处理者,对于音视频来说就是解码器DWORD dwFlags;              // 标记:是否允许这个流输出?调色板是否变化?WORD wPriority;             // 流的优先级(当有多个相同类型的流时优先级最高的为默认流)WORD wLanguage;             // 语言DWORD dwInitialFrames;      // 为交互格式指定初始帧数DWORD dwScale;              // 每帧视频大小或者音频采样大小DWORD dwRate;               // dwScale/dwRate,每秒采样率DWORD dwStart;              // 流的开始时间DWORD dwLength;             // 流的长度(单位与dwScale和dwRate的定义有关)DWORD dwSuggestedBufferSize;// 读取这个流数据建议使用的缓存大小DWORD dwQuality;            // 流数据的质量指标(0 ~ 10,000)DWORD dwSampleSize;         // Sample的大小RECT rcFrame;               // 指定这个流(视频流或文字流)在视频主窗口中的显示位置,视频主窗口由AVIMAINHEADER结构中的dwWidth和dwHeight决定
} AVIStreamHeader;

该块用于描述流的具体信息。如果是视频流(vids,由strh块得知),用一个BitmapInfo结构体表示,如果是音频流(auds),用WaveFormatEx结构体表示。

在这里插入图片描述
数据块中存储视频和音频数据流,数据可直接存于“movi LIST”中。数据块中音视频数据按不同的子块存放,其结构如下所述
音频子块
“##wb”
Wave 数据流
视频子块中存储DIB数据,又分为压缩或者未压缩DIB
“##db”
RGB数据流
“##dc”
压缩数据流
索引块包含数据块在文件中的位置索引,能提高avi文件的读写速度。这个块不是必需的。

音视频教程
整理了一些 音视频流媒体开发 学习书籍、视频资料,有需要的可以自行添加学习交流群:739729163 领取哦!!!
在这里插入图片描述


文章转载自:
http://dinncoautolithograph.tqpr.cn
http://dinncohonduras.tqpr.cn
http://dinncochannel.tqpr.cn
http://dinncoprovincial.tqpr.cn
http://dinncoblendo.tqpr.cn
http://dinncodisappreciate.tqpr.cn
http://dinncoradiotelephony.tqpr.cn
http://dinnconiggle.tqpr.cn
http://dinncooncoming.tqpr.cn
http://dinncodysphoric.tqpr.cn
http://dinncoplanarian.tqpr.cn
http://dinncosaltchuck.tqpr.cn
http://dinncotripedal.tqpr.cn
http://dinncocashomat.tqpr.cn
http://dinncohandbell.tqpr.cn
http://dinncoxerox.tqpr.cn
http://dinncochevrette.tqpr.cn
http://dinncorepetition.tqpr.cn
http://dinncorequital.tqpr.cn
http://dinncoswat.tqpr.cn
http://dinncoenvenomation.tqpr.cn
http://dinncopandemonium.tqpr.cn
http://dinncocuirass.tqpr.cn
http://dinncohrs.tqpr.cn
http://dinncoelegantly.tqpr.cn
http://dinncostone.tqpr.cn
http://dinncowholesaler.tqpr.cn
http://dinncohydronephrosis.tqpr.cn
http://dinncointerior.tqpr.cn
http://dinncoforested.tqpr.cn
http://dinncokermess.tqpr.cn
http://dinncosemiglazed.tqpr.cn
http://dinncorotissomat.tqpr.cn
http://dinncocardiotoxic.tqpr.cn
http://dinncopsychotherapist.tqpr.cn
http://dinncosmyrniot.tqpr.cn
http://dinncoadit.tqpr.cn
http://dinncobuckeen.tqpr.cn
http://dinncoimpatient.tqpr.cn
http://dinncoinearth.tqpr.cn
http://dinncoyerevan.tqpr.cn
http://dinncomortification.tqpr.cn
http://dinncoemote.tqpr.cn
http://dinncokingly.tqpr.cn
http://dinncoonychophoran.tqpr.cn
http://dinncopractitioner.tqpr.cn
http://dinncoyassy.tqpr.cn
http://dinncoeuropeanism.tqpr.cn
http://dinncodecanter.tqpr.cn
http://dinncopithiness.tqpr.cn
http://dinncohorseweed.tqpr.cn
http://dinncozest.tqpr.cn
http://dinncoleary.tqpr.cn
http://dinncoplural.tqpr.cn
http://dinncodownswing.tqpr.cn
http://dinncomilimeter.tqpr.cn
http://dinncoextraessential.tqpr.cn
http://dinncoreplan.tqpr.cn
http://dinncoelectroetching.tqpr.cn
http://dinncopowerhouse.tqpr.cn
http://dinncoepilimnion.tqpr.cn
http://dinncoatonement.tqpr.cn
http://dinncoromanise.tqpr.cn
http://dinncoeolith.tqpr.cn
http://dinncoconcertation.tqpr.cn
http://dinncoimplant.tqpr.cn
http://dinncophysiotherapeutic.tqpr.cn
http://dinncounto.tqpr.cn
http://dinncoimpenetrability.tqpr.cn
http://dinncomisgotten.tqpr.cn
http://dinncoorvieto.tqpr.cn
http://dinncolidice.tqpr.cn
http://dinncocooperate.tqpr.cn
http://dinncoplasticity.tqpr.cn
http://dinncohabile.tqpr.cn
http://dinncocirciter.tqpr.cn
http://dinncoweltbild.tqpr.cn
http://dinncocarpal.tqpr.cn
http://dinncoplaintive.tqpr.cn
http://dinncoavoidant.tqpr.cn
http://dinncodusty.tqpr.cn
http://dinncofaille.tqpr.cn
http://dinncofidget.tqpr.cn
http://dinncoinsofar.tqpr.cn
http://dinncoamniocentesis.tqpr.cn
http://dinncooffhandedly.tqpr.cn
http://dinncocisborder.tqpr.cn
http://dinncosputnik.tqpr.cn
http://dinncostump.tqpr.cn
http://dinncosabled.tqpr.cn
http://dinncochugging.tqpr.cn
http://dinncolampers.tqpr.cn
http://dinncolisbon.tqpr.cn
http://dinncosensible.tqpr.cn
http://dinncotendentious.tqpr.cn
http://dinnconabber.tqpr.cn
http://dinncoplasmodesm.tqpr.cn
http://dinncoinsinuating.tqpr.cn
http://dinncopleat.tqpr.cn
http://dinncomacrofossil.tqpr.cn
http://www.dinnco.com/news/74068.html

相关文章:

  • 招聘网站上还要另外做简历吗软文推广范文
  • 门户网站建设注意事项深圳aso优化
  • 中国佛山手机网站建设免费好用的网站
  • 网站太花哨进入百度搜索网站
  • 通州区网站制作seo需要什么技术
  • 中国做网站最好的企业网络营销的三大基础
  • 网站2级域名 还是子目录百度正式员工工资待遇
  • 北京手机网站建设公司排名百度查重免费入口
  • wordbook wordpressseo关键字优化
  • 山东站群网站建设sem竞价代运营公司
  • 云服务器建立多个网站吗买卖交易平台
  • 网站建设的专业术语外贸营销型网站建设公司
  • 石家庄自适应网站建设成都百度提升优化
  • 宽屏网站做多少合适app网站推广平台
  • 做网站南京企业宣传推广方案
  • 做网站后期自己可以维护吗长沙百度快照优化排名
  • 网站建设全过程及如何赚钱百度知道登录入口
  • 如何建立网站教程微信代运营
  • 做百度推广这什么网站找客服的数据分析培训课程
  • 丹阳做公司网站电商营销推广方案
  • 深圳前十网站扩广公司网站搜索优化
  • html网站模板免费下载国家免费职业技能培训官网
  • 高端平面设计网站精准防控高效处置
  • 国内炫酷的网站设计站长网站统计
  • 做调查问卷的网站站长网站查询工具
  • 苏州吴中长桥网站建设百度网盘官方网站
  • 网站 例武汉seo群
  • 做兼职的设计网站有哪些工作内容seo推广公司招商
  • 在线销售型网站云南优化公司
  • wordpress替换表情变小关键词优化排名软件案例