通过帧计数设置Flash视频的大小? [英] Setting size of flash video through frame count?

查看:178
本文介绍了通过帧计数设置Flash视频的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在Flash Builder 4手动设置视频的帧计数?在Flash Builder 4如何是视频的帧的长度决定的?我需要这样做,以诱骗的视频格式转换器,以为我的视频实际上是X展架,而不是仅仅1长(我的SWF视频是完全可以控制通过AS3 code,因此居住在刚刚的第一帧)。以此方式,视频格式转换器将能够自动地(和正确地)转换我视频到另一种格式(FLV的期望)。另一种解决方案,这将是一个转换器,实际自动转换基于视频的长度,而不是帧数,但我已经彻底搜查了一个又一个似乎不存在了。

Is it possible to set the frame count of a video manually in Flash BUilder 4? How is the frame length of a video determined in Flash Builder 4? I need to do this in order to trick video format converters into thinking that my video is actually x frames long instead of just 1 (my swf video is controlled completely through as3 code and thus resided on just the 1st frame). This way, the video format converters will be able to automatically (and correctly) convert my videos to another format (flv is desired). Another solution to this would be a converter that actually automatically converts based on video length rather than frame count, but I have already thoroughly searched for one and one doesn't seem to exist.

推荐答案

我不是视频转换专家,但我会假设转换器将简单地使SWF和帧之间的一对一场比赛视频的帧。添加更多的帧到您的SWF在1帧之后,只会造成空帧的视频。

I'm not an expert on video conversion but I'd assume the converter will simply make a one-to-one match between the frames of the SWF and the frames of the video. Adding more frames to your SWF will only result in a video with empty frames after frame 1.

我能想到的最好的办法是自己出口的框架。您可以在Flash中得出任何影片剪辑到一个BitmapData对象帧一帧,这样使一个新的应用程序,加载您的SWF并保存为PNG / JPG到本地磁盘之前绘制每一帧。然后,您的影片剪辑可以调度的事件信号的视频的结尾,你必须保存为一个单独的文件每一帧。之后,你可以使用免费的动画包采取一切框架文件,并创建一个视频。

The best solution I can think of is to export the frames yourself. You can draw any MovieClip in flash to a BitmapData object frame-by-frame, so make a new app that loads your SWF and draws each frame before saving it as a PNG/JPG to the local disk. Your MovieClip can then dispatch an event to signal the end of the video and you have each frame saved as a separate file. After that you can use a free animation package to take all of the frame files and create a video.

这听起来像很多艰苦的工作,但我怀疑你会发现任何软件,可以自动执行此操作。

It sounds like a lot of hard work but I doubt you'll find any software that can do this automatically.

这篇关于通过帧计数设置Flash视频的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆