从动态内容创建视频电影

发布于 2024-12-26 02:06:03 字数 111 浏览 3 评论 0原文

我有一个应用程序(actionscript),它显示以 xml 编写的动态内容的幻灯片。幻灯片在 flashplayer 中运行。现在我被要求将内容显示为视频文件格式。可以做这样的事吗?

谢谢

I have an application (actionscript) that displayes a slideshow from dynamic content written in xml. The slideshow runs in flashplayer. Now i have been asked to display the content as a video file format. Is it possible to do such a thing?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

荒人说梦 2025-01-02 02:06:03

要回答您的问题,

如果我理解正确,并且您想要创建时间线或脚本动画,并让 as3 记录出现的内容,那么答案是肯定的。

下面是一个很好的例子:
http://www.zeropointnine.com/blog/updated-flv-encoder- alchem/

实际上,您所要做的就是使所有动作和子动画发生在单个 Sprite 或 MovieClip 内,然后在每一帧之后,复制该对象在该帧中出现的像素,然后存储这些像素在 ByteArray 甚至 BitmapData 的 Vector 数组中。

话虽这么说,一旦你有了数据,你就需要学习编码;然而,有大量的库可以帮助您避免学习文件规范并从头开始制作编码器。

希望这有帮助。

To answer Your Question,

If I understand you correctly, and you want to create either timeline or scripted animation, and have as3 record what appears, then the answer is Yes.

Below is a great example:
http://www.zeropointnine.com/blog/updated-flv-encoder-alchem/

Really, all you have to do is to make all your actions and child animations happen inside a single Sprite or MovieClip, and then after every frame, copy the pixels from that object as it appears for that frame, and store those pixel in a ByteArray or even a Vector array of BitmapData.

That being said, once you have the data you will need to learn about encoding; yet, there are a ton of libraries out there that can help you avoid having learn a file spec and make an encoder from scratch.

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文