『漫游』酷论坛>『影音数码技术学习交流』>AviSynth怎么在AVI里加SWF ..

阿苏@2003-07-24 00:11

引用
最初由 tench 发布
试过了,不过那个 logo.vdf得另找.....

对哦...忘了说了...这个也要另外下载的...:o
引用

skywalker@2003-07-24 03:53

其实.......
有个叫imagesequence的avs plugin可以读取连续的图片...........
具体我没试过......
因为没有连续的图片........
readme:

Image Sequence Source Plugin
----------------------------

This AVISYNTH plugin allows you to import image sequences into AVISYNTH scripts.
It is based on the IMGLIB.DLL so it will support all the formats supported by that library,
provided that they are 24bits images. (succesfully tested .TIF, .TGA and .JPG)

You will need IMGLIB.DLL either in the same directory as ImageSequence.DLL, or may be
in the %SystemRoot%\SYSTEM32 directory.

The plugin uses sprintf() to generate the file name, so use any C syntax to suit
the naming convention of your files

Usage :

ImageSequence("path",first frame, last frame, frames per second)

Use C syntax to generate filenames according to your sequence of images.
eg: if you have SEQUENCE_001.TGA to SEQUENCE_250.TGA you should use:
path = SEQUENCE_%.3d.TGA
if you have SEQUENCE1.TGA to SEQUENCE250.TGA use:
path = SEQUENCE%d.TGA

Example:
This example assumes you have 22 images from sequence001.tga to sequence022.tga in the
c:\images\ directory, and that I want a 25 fps video.

LoadPlugin("ImageSource.dll")
ImageSequence("C:\images\sequence%.3d.tga",1,22,25)



Feel free to use the source code to whatever suits you,

Regards



/Bzzz - June 2002
引用

squallwu@2003-07-24 22:28

最严重的问题...我什么都没试出来啊,请大家在帮帮忙吧?使用的详细方法拜托了...真的是弄不出来才来这儿麻烦大家的...
引用

squallwu@2003-07-24 23:17

能逐个解释一下下面这行吗?因为我最后试出图象来了,但不知道怎么调整...郁闷...淡入淡出,透明度之类的我都不知道...
VD_logo(640,480,128,true,0,0,255,0,"C:\logos\logo canalXviD.bmp",true,0,1,0,0,0,0)
拜托了...
引用

squallwu@2003-07-24 23:58

还有,我在用X-LOGO的时候显示:X-LOGO:BITMAP WIDTH MUST BE EVEN FOR YUY2 AND YV12 SOURCES,我在前面加上了ConvertToRGB() 后居然显示:X-LOGO:COULD NOT LOAD BITMAPS,我昏...但我确认图象目录是对的,这是怎么回事啊?拜托阿苏来帮帮忙吧,也将就帮我试试X-LOGO到底怎么样,我根本用不出来啊...
引用

squallwu@2003-07-25 13:22

:confused: :confused: :confused:
:( :( :(
高手来解答一下吧...
引用

阿苏@2003-07-26 07:33

引用
最初由 squallwu 发布
能逐个解释一下下面这行吗?因为我最后试出图象来了,但不知道怎么调整...郁闷...淡入淡出,透明度之类的我都不知道...
VD_logo(640,480,128,true,0,0,255,0,"C:\logos\logo canalXviD.bmp",true,0,1,0,0,0,0)
拜托了...

这个我也只用过一次...看看这里吧...

http://www.dvdrhelp.com/forum/userguides/99389.php#logo
引用

阿苏@2003-07-26 07:34

引用
最初由 squallwu 发布
还有,我在用X-LOGO的时候显示:X-LOGO:BITMAP WIDTH MUST BE EVEN FOR YUY2 AND YV12 SOURCES,我在前面加上了ConvertToRGB() 后居然显示:X-LOGO:COULD NOT LOAD BITMAPS,我昏...但我确认图象目录是对的,这是怎么回事啊?拜托阿苏来帮帮忙吧,也将就帮我试试X-LOGO到底怎么样,我根本用不出来啊...

这里是说logo图片的宽度必须是双数...自己修改一下宽度就好了...
引用

squallwu@2003-07-26 17:57

在此鸣谢阿苏大哥,呵呵...问题终于解决了...真的是非常感谢啊...
引用

«12»共2页

| TOP