FLV 支持哪些音频类型?
我在使用 Actionscript 3.0(NetStream 类)播放一些快速文件时遇到问题。
我无法控制快速文件的生成方式,但到目前为止,带有未压缩音频的文件在 Flash Player 中根本无法播放音频。
我正在尝试在 Flash Player 中使用视频(mov/flv/等)编译音频格式列表,但我对资源感到困惑。
我浏览了 FLV 格式规范(pdf 链接 )在 devnet 上,列出的媒体类型有:
MP3 .mp3 媒体类型 (0x2E6D7033) 表示该曲目包含 MP3 音频数据。点字符,十六进制 0x2E,包含在内以构成完整的 四字符代码。
AAC 一种媒体类型 mp4a (0x6D703461) 表示 该曲目使用 AAC 音频进行编码。 Flash Player 支持以下内容 AAC 配置文件,由其对象表示 类型: - 1 = 主要配置文件 - 2 = 低复杂度,又名 LC
- 5 = 高效率/尺度带复制,又名 HE/SBR 当 音频编解码器是 AAC,出现 esds 框 在示例表的 std 框中。 该框包含初始化数据 AAC 解码器需要解码 溪流。请参阅 ISO/IEC 14496-3 有关结构的更多信息 这个盒子。
在维基百科条目上,提到了未压缩的音频:
FLV 文件也支持未压缩 音频或 ADPCM 格式音频。
但该声明没有任何参考。
是否有一个页面列出了 Flash Player 中播放视频所支持的所有音频格式?
I'm having issues with playing back some quick time files using actionscript 3.0 (NetStream class).
I have no control on how the quick time files are produced, but it seems so far that the files with uncompressed audio do not play audio at all in Flash Player.
I'm trying to compile a list of audio formats using video(mov/flv/etc.) in Flash Player, but I'm confused by the resources.
I've look through the FLV Format Specs(pdf link) on devnet and the media types listed there are:
MP3 A media type of .mp3 (0x2E6D7033)
indicates that the track contains MP3
audio data. The dot character, hex
0x2E, is included to make a complete
four-character code.AAC A media type
of mp4a (0x6D703461) indicates that
the track is encoded with AAC audio.
Flash Player supports the following
AAC profiles, denoted by their object
types:
- 1 = main profile
- 2 = low complexity, a.k.a. LC
- 5 = high efficiency/scale band replication, a.k.a. HE/SBR When the
audio codec is AAC, an esds box occurs
inside the stsd box of a sample table.
This box contains initialization data
that an AAC decoder requires to decode
the stream. See ISO/IEC 14496-3 for
more information about the structure
of this box.
On the wikipedia entry, there is a mention on uncompressed audio:
FLV files also support uncompressed
audio or ADPCM format audio.
but there is no reference for that statement.
Is there a page that lists all the supported audio formats for playing back video in Flash Player ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请注意不要混淆 F4V 和 FLV 容器格式。
您提到的官方规范描述了这两种格式。
您的报价特指F4V格式,该格式在flash播放器中仅支持MP3和AAC。
FLV 容器支持的音频编解码器列表显示在同一文件的第 70 页上:
Be careful not to confuse the F4V and FLV container formats.
The official specification you mentioned describes both of these formats.
Your quote specifically refers to the F4V format which only supports MP3 and AAC in the flash player.
The list of audio codecs supported by the FLV container is shown on page 70 in the same file: