gpt4 book ai didi

audio - FLV 支持哪些音频类型?

转载 作者:行者123 更新时间:2023-12-03 21:27:50 27 4
gpt4 key购买 nike

我在使用 actionscript 3.0(NetStream 类)播放一些快速时间文件时遇到问题。

我无法控制如何生成快速时间文件,但到目前为止,带有未压缩音频的文件似乎根本无法在 Flash Player 中播放音频。

我正在尝试在 Flash Player 中使用视频(mov/flv/etc.)编译音频格式列表,但我对资源感到困惑。

我浏览了FLV Format Specs (pdf 链接)在 devnet 上列出的媒体类型有:

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.

wikipedia entry ,提到了未压缩的音频:

FLV files also support uncompressed audio or ADPCM format audio.

但该声明没有引用。

是否有一个页面列出了在 Flash Player 中播放视频所支持的所有音频格式?

最佳答案

注意不要混淆 F4V 和 FLV 容器格式。

你提到的官方规范描述了这两种格式。

您的报价具体指的是F4V格式,它只支持Flash播放器中的MP3和AAC。

FLV 容器支持的音频编解码器列表显示在同一文件中的第 70 页:

SoundFormat
(See notes following
table, for special
encodings)
UB [4] Format of SoundData. The following values are defined:
0 = Linear PCM, platform endian
1 = ADPCM
2 = MP3
3 = Linear PCM, little endian
4 = Nellymoser 16 kHz mono
5 = Nellymoser 8 kHz mono
6 = Nellymoser
7 = G.711 A-law logarithmic PCM
8 = G.711 mu-law logarithmic PCM
9 = reserved
10 = AAC
11 = Speex
14 = MP3 8 kHz
15 = Device-specific sound
Formats 7, 8, 14, and 15 are reserved.
AAC is supported in Flash Player 9,0,115,0 and higher.
Speex is supported in Flash Player 10 and higher.

关于audio - FLV 支持哪些音频类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4716203/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com