将图片做成视频文件

系统:windows
工具:dta,下载链接: ftp://ftp.povray.org/pub/povray/utilities/dta/

文章转自:http://f-lohmueller.de/pov_tut/animate/anim002e.htm

There’s no way to produce an avi, mpeg or gif file directly with POV-Ray.
POV-Ray produces only a serie of numbered images for making a gif file or a video file.
Here a fast and easy way to get a video file: (Assuming your using Windows!)

Step 0: Go to the archive of DTA at
ftp://ftp.povray.org/pub/povray/utilities/dta/
and download Dave’s Targa Animator (DTA) “dtawin.exe”:
这里写图片描述

Then unzip the file “dta30.zip” to a separate directory.
Move all numbered animation images from the POV-Ray output (sphere01.bmp, sphere02.bmp, … sphere30.bmp) to the same directory.
(Alternatively move the DAT Windows files “dtawin.exe” and “zlib.dll” to the directory of your numbered images)

Step 1: Start Dave’s Targa Animator by double clicking on the file “dtawin.exe”.
Fill in the field “Script” the base name of your images,
were the numbers must be replaced by the wildcard sign “*”.
Input file types for DTA: .bmp, .jpg, .tga
New in POV-Ray 3.7: The default output file type has changed to png (DTA don’t understand .png files!)
The POV-Ray output file type “.jpg” (new in 3.7) with a command line: +fj is okay with DTA.
(It’s also recommanded because of the usually big number of frames in animations).
In POV-Ray 3.6 the default output file on Windows was “.bmp” ! (command line: +fb nbsp;!)
这里写图片描述

Step 2: Choose global options (the blue ball button) and select the file format “avi” and click on “OK” button.
这里写图片描述

Step 3: The field “Output options” show now “AVI format”.
Now click on the camera button to build the video file.
You will see the progress in the lower left field.
And there will appear a new file named “anim.avi” in your image directory.
这里写图片描述

Step 4: To see the video with the Windows Media Player just doubleclick on the file named “anim.avi”.
To see a cyclic animation in an endless loop you will have to click at CTRL-T
or activate the endless loop in your player options.
这里写图片描述

视频格式转换,参考:
http://www.leawo.cn/space-627-do-thread-id-32121.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值