maomao333@2005-02-25 17:40
在影片前加入图片引用
v1=AviSource("G:\Sample\AVI\s09.avi")
function convertToColorSpace(clip1,clip2) {
clip1 = (clip2.isRGB32() && !clip1.isRGB32()) ? clip1.convertToRGB32(): clip1
clip1 = (clip2.isRGB24() && !clip1.isRGB24()) ? clip1.convertToRGB24(): clip1
clip1 = (clip2.isYUY2() && !clip1.isYUY2()) ? clip1.convertToYuy2(): clip1
clip1 = (clip2.isYV12() && !clip1.isYV12()) ? clip1.convertToYv12(): clip1
return clip1
}
v2=imagesequence("G:\Sample\pics\p15.jpg",start=1, stop=240).assumefps(v1,true).BilinearResize(640,352).convertToColorSpace(v1)
v3=DirectShowSource("G:\Sample\AVI\s12.wav")
v4=audiodub(v2,v3)
v5=v4++v1
return v5
引用
function isYv12(clip) {
return !(clip.isRGB() || clip.isYuY2())
}
引用
v1=AviSource("G:\Sample\AVI\s09.avi")
function convertToColorSpace(clip1,clip2) {
clip1 = (clip2.isRGB32() && !clip1.isRGB32()) ? clip1.convertToRGB32(): clip1
clip1 = (clip2.isRGB24() && !clip1.isRGB24()) ? clip1.convertToRGB24(): clip1
clip1 = (clip2.isYUY2() && !clip1.isYUY2()) ? clip1.convertToYuy2(): clip1
clip1 = (clip2.isYV12() && !clip1.isYV12()) ? clip1.convertToYv12(): clip1
return clip1
}
v2=imagesequence("G:\Sample\pics\bmp Earth\00%.2d.bmp",start=1, stop=74).Loop(3).assumefps(v1,true).BilinearResize(640,352).convertToColorSpace(v1)
v3=DirectShowSource("G:\Sample\AVI\s12.wav")
v4=audiodub(v2,v3)
v5=v4++v1
return v5
引用
v1=AviSource("G:\Sample\AVI\s09.avi")
function convertToColorSpace(clip1,clip2) {
clip1 = (clip2.isRGB32() && !clip1.isRGB32()) ? clip1.convertToRGB32(): clip1
clip1 = (clip2.isRGB24() && !clip1.isRGB24()) ? clip1.convertToRGB24(): clip1
clip1 = (clip2.isYUY2() && !clip1.isYUY2()) ? clip1.convertToYuy2(): clip1
clip1 = (clip2.isYV12() && !clip1.isYV12()) ? clip1.convertToYv12(): clip1
return clip1
}
v2=immaread("G:\Sample\pics\p24.gif").Loop(50).assumefps(v1,true).BilinearResize(640,352).convertToColorSpace(v1)
v3=DirectShowSource("G:\Sample\AVI\s12.wav")
v4=audiodub(v2,v3)
v5=v4++v1
return v5
maomao333@2005-02-25 17:40
immaread滤镜(测试中)引用
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\immaread.dll")
immaread("G:\Sample\pics\p18.png")
引用
immaread("G:\Sample\pics\p24.gif")
引用
immaread("G:\Sample\pics\mng\pnglogo-grr-anim-lc.mng")
引用
immaread("G:\Sample\pics\mng\sample.mng")
引用
immaread("G:\Sample\pics\animated\d.psd")
引用
immaread("http://myphoto.myrice.com/photo/671289/4643_373430.jpg")
引用
immaread("http://myphoto.myrice.com/photo/671289/4643_373441.gif")
引用
immaread("magick:logo")
maomao333@2005-02-25 17:41
由于用immaread读取gif图时出现帧不连贯的情况,所以我想了下面的办法解决:引用
v1=CoronaSequence("G:\Sample\pics\png\%.2d.png", start=1, stop=6, fps=12).Loop (15)
v2=immaread("G:\Sample\pics\p24.gif").Loop(35).assumefps(v1,true)
return v1+v2
czbming@2005-02-25 20:18
GSpot的链接无效了,,,,maomao333@2005-02-25 20:44
官网:Conanzsw@2005-02-27 21:33
没人顶@@?.......偶顶上去:Dcthunter@2005-02-27 23:51
GIF加入不错啊weilai@2005-02-28 10:55
方法還真不少maomao333@2005-02-28 12:24
引用最初由 weilai 发布
方法還真不少
不知樓主認為哪種方法最簡單實用
P.S. 這個可以列入置頂,只是我沒這功能(權限)^^||
maomao333@2005-02-28 12:30
忘了说,如果是做avi,用logo.vdf最方便ccinsei@2005-02-28 19:50
这个教程真是好,方法很全,楼主辛苦了funking@2007-07-07 11:06
好厉害,,,全暴走shinjico@2007-07-07 11:15
谁又把古墓挖出来了wolfsoft@2007-07-07 12:32
古墓?有丽影么?GOD_HIKARU MK2@2007-07-07 12:57
= = 谁将罗拉推倒了OTL