简体   繁体   English

使用ActionScript 3进行FLV视频标记

[英]FLV video tagging using ActionScript 3

I would like to tag some parts on screen (like tagging people's head in photos in Facebook) in video (in certain second). 我想标记视频中的屏幕上的某些部分(例如标记Facebook中照片中的人的头部)(在一秒钟内)。 Videos are in FLV format, video on demand. 视频为FLV格式,点播视频。 Is there any library that I can use to tag the video? 我可以使用任何库来标记视频吗? or I can only use a cue point? 或者我只能使用提示点?

Environment: 环境:

  1. Flash Media Server 闪存媒体服务器
  2. Flash CS4 (ActionScript 3) Flash CS4(ActionScript 3)

Other information can be further given. 其他信息可以进一步给出。 Ask me. 问我。

I don't know if there is a library (which doesn't mean there isn't any), but you could do it with cuepoints: Create cuepoints in your video (either on encoding, or put them in on runtime via actionscript cuepoints) that have x, y, width, height as params, maybe also a duration and description. 我不知道是否有一个库(这并不意味着没有库),但是您可以使用提示点来做到这一点:在视频中创建提示点(在编码时,或者通过actionscript提示点在运行时放置) ),其中包含x,y,宽度,高度作为参数,也可能是持续时间和说明。

Type for encoding cuepoints probably would be navigation, so you can get the nearest Cuepoint on seeking. 编码提示点的类型可能是导航,因此您可以在搜索时获得最近的提示点。 Then you need actionscript to listen for your cuepoints, and then draw those rectangles as an overlay over the video. 然后,您需要使用动作脚本来侦听提示点,然后将这些矩形绘制为视频上的叠加层。

There is NO direct solution of this issue. 没有直接解决此问题的方法。 I end up have to record the time in a Flash embedding the movie player and make tagging actions there. 我最终不得不在嵌入影片播放器的Flash中记录时间,并在其中进行标记操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM