我们将使用MPlayer和一个简单的perl脚本,将磁盘上源文件中的帧自动提取为jpeg文件。
We will use MPlayer and a simple Perl script to automate the extraction of frames from the source files into jpeg files on disk.
使用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.
如果一些脚本不需要在每一帧都运行,就使用协同函数。
Use coroutines if you don't need some scripts to run every frame.
应用推荐