ActionScript 3 AS3 FLVPlayback组件视频元数据

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ActionScript 3 AS3 FLVPlayback组件视频元数据相关的知识,希望对你有一定的参考价值。

flvPlayback.addEventListener(VideoEvent.READY, onFlvPlayback_READY);

function onFlvPlayback_READY(event:VideoEvent):void
{
	trace("onFlvPlayback_READY");
	var tempFlvPlayback:FLVPlayback = event.target as FLVPlayback;
	trace("tempFlvPlayback.source: "+tempFlvPlayback.source);
	
	var metaDataObj:Object = flvPlayback.metadata as Object;
	trace("metaDataObj.canSeekToEnd: "+metaDataObj.canSeekToEnd);
	trace("metaDataObj.cuePoints: "+metaDataObj.cuePoints);
	trace("metaDataObj.audiocodecid: "+metaDataObj.audiocodecid);
	trace("metaDataObj.audiodelay: "+metaDataObj.audiodelay);
	trace("metaDataObj.audiodatarate: "+metaDataObj.audiodatarate);
	trace("metaDataObj.videocodecid: "+metaDataObj.videocodecid);
	trace("metaDataObj.framerate: "+metaDataObj.framerate);
	trace("metaDataObj.videodatarate: "+metaDataObj.videodatarate);
	trace("metaDataObj.height: "+metaDataObj.height);
	trace("metaDataObj.width: "+metaDataObj.width);
	trace("metaDataObj.duration: "+metaDataObj.duration);
}

以上是关于ActionScript 3 AS3 FLVPlayback组件视频元数据的主要内容,如果未能解决你的问题,请参考以下文章

[ActionScript 3.0] AS3.0 水面波纹效果

ActionScript 3 AS3:使用SWFObject2和AS3传递变量

ActionScript 3 克隆数组(AS3)

ActionScript 3 AS3序列化

ActionScript 3 As3初始上限

ActionScript 3 AS3 HTML清理