如何创建一个电影从5000 PNG文件?
好了,简单的情况。我已经创造了约5000帧作为,我想显示为.NET应用程序内的动画PNG文件。每一个图像是1920×1080尺寸和PNG文件使用alpha通道的(部分)的透明度。而这要复杂的事情一点,因为我会preFER以保持透明。 (但如果这是不可能的,我就添加背景图像的每一个PNG)。
Well, simple situation. I've created about 5000 frames as PNG files which I want to display as an animation inside a .NET application. Every image is 1920x1080 in size and the PNG file uses alpha channels for (partial) transparency. And that's going to complicate things a bit, because I would prefer to keep it transparent. (But if that's impossible, I'll just add a background image to every PNG.)
由于大量图像的,我需要大量的内存。好了,1 TB硬盘和运行Vista 64位的12 GB四核英特尔®至强®系统是解决这些内存要求。但是,除非创建了一个工具,支持64位,它可能会装载或许是5000的图像800后窒息。所以,我需要一个工具,可以做到这一点。
Because of the large amount of images, I would need lots of memory. Well, a 1 TB harddisk and a 12 GB Quad-core Intel Xeon system running Vista 64-bits is solving those memory requirements. But unless a tool is created to support 64-bits, it will probably choke after loading perhaps 800 of the 5000 images. So I need a tool that can do this.
影片格式并不重要。无论是COM pression,只要图像质量居高不下。 (还有就是为什么我用了这样一个巨大的分辨率的原因!)无损COM pression将是preferred,虽然。我的系统是速度不够快,事后再这样,我不担心它的速度回放短片。然而,图像质量是这里最重要的因素。
The movie format isn't that important. Neither is compression, as long as the image quality stays high. (And there's a reason why I've used such a huge resolution!) Lossless compression would be preferred, though. My system is fast enough to replay the movie afterwards again so I'm not worried about it's speed. However, image quality is the most important factor here.
到目前为止,我已经提出了两种选择:
1)我找到一些免费的工具,它可以处理这么多的数据。 (免费,还是很便宜的。)
2)我写这样一个工具,我自己...
So far, I've come up with two options: 1) I find some free tool which can handle this much data. (Free, or very cheap.) 2) I write such a tool myself...
选项1是有点乱发生在这里。此外,作为一个软件工程师,我的手都只是抽动将它写我自己!在C#中以preferably没有第三方库。所以我的问题:
- 从哪里开始写这篇文章我自己?
(在你想知道的情况下,这部电影就是一个年轻女子经过一些城市的街道上行走的动画,路过几个招牌其中提到一个产品的功能。在电影的结尾,她走了一个更大的牌子,上面显示了产品本身的名字。而且它是一个长的,连续的场景,没有休息,而且真正的乐趣创造呢!和大约10 GB图像...)
Option 1 is a bit out-of-place here. Besides, as a software engineer, my hands are just twitching to write it myself! In C# with preferably no third-party libraries. So my question: - Where to start writing this myself?
(In case you're wondering, this movie is an animation where a young woman is walking through the streets of some city, passing several signs which mention features of a product. At the end of the movie, she walks up to a bigger sign which shows the name of the product itself. And it's one long, continuous scene, no breaks. And real fun to create too! And about 10 GB of images...)
如果您使用的是Windows,你也可以看看到VirtualDub中。
http://www.virtualdub.org/
if you are on windows, you can also look into virtualdub. http://www.virtualdub.org/
它可以从骨形态发生蛋白,PNG格式等作出的AVI文件。
it can make AVIs from bmps, pngs, etc.