既然我们已逐帧提取出了源视频文件,对于最终产品的每一帧,我们可以按次序创建贴片的背景图像。
Now that we have a frame-by-frame extraction of our source video files, we can create tiled background images in sequence for each frame of the final product.
使用MPlayer来提取任何视频帧为jpeg文件,我们将使用perl脚本来处理图片并按次序进行合成。
Using MPlayer to extract frames of any video into jpeg files, we will process the images using a Perl script to composite them into sequence.
此外,需用mplayer提取视频帧,按本文所开发应用程序使用的格式保存(参阅参考资料)。
And you need mplayer to extract video frames into a format usable by the application we develop here (see Resources).
应用推荐