开发者

Detect whether an flv file contains video, audio or both

Is there a开发者_JS百科 way to detect whether an FLV file contains video, audio or both? The flv file is streamed to a flash client, that needs to show a certain view depending on the data in wrapped in the flv file.


According to the FLV specs, this is indicated in the 5th byte of the file.
(Bit 2 is set if there is audio and bit 0 is set if there is video.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜