I created a motion menu function for Avisynth » Career Advice » Forum
Forum

Forum



ПоискПоиск   Users   Registration   Entrance
Today: 01.06.2025 - 09:30:20
Pages:  1  2  

I created a motion menu function for Avisynth

Advertising

/
MessageAuthor

I corrected that :o I first made a 800x600 one, then edited it but forgot to change the text. I'm doing mistake after mistake in this thread...

---------------------------
1994 BMW 325i (RIP 7-31-2004) 1991 BMW 850i 6-speed 1995 Nissan 240sx

billycorgan

users




Statistics:
Messages: 85
Registration: 01.05.2003
12.07.24 - 02:42:40
Message # 11
RE: I created a motion menu function for Avisynth

trouble 

---------------------------
www.sbeuroclub.com

Mister X

users




Statistics:
Messages: 3,430
Registration: 10.26.2003
12.07.24 - 02:48:30
Message # 12
RE: I created a motion menu function for Avisynth

ive been trying to manually wdit the avs , but i cant get to display only 4 boxes can some avs master help me out again? kayman

---------------------------

Klaus

users




Statistics:
Messages: 15
Registration: 02.18.2002
12.07.24 - 02:52:05
Message # 13
RE: I created a motion menu function for Avisynth

Please post your script so we can see what you're doing wrong.

---------------------------

dazed^

users




Statistics:
Messages: 87
Registration: 05.29.2003
12.07.24 - 03:01:55
Message # 14
RE: I created a motion menu function for Avisynth

-main avs - Import("menu.avs") c1=AVISource("clip1.avi") c2=AVISource("clip2.avi") c3=AVISource("clip3.avi") c4=AVISource("clip4.avi") menu(c1,"chapter 1",c2,"chapter 2",c3,"chapter 3",c4,"chapter 4","kaymans svcd",480,576,100) -end- -menu avs- function menu(clip a, string txt1, clip b, string txt2, clip c, string txt3, clip d, string txt4, string title, int x, int y, int length) { a = a.BicubicResize(180,136).AddBorders(30,108,20,0) b = b.BicubicResize(180,136).AddBorders(0,108,20,0) c = c.BicubicResize(180,136).AddBorders(0,108,30,0) d = d.BicubicResize(180,136).AddBorders(0,40,20,0).Subtitle(txt1).AddBorders(30,0,0,0) e = e.BicubicResize(180,136).AddBorders(0,40,20,0).Subtitle(txt2) f = f.BicubicResize(180,136).AddBorders(0,40,30,0).Subtitle(txt3) top = StackHorizontal(a,b,c) middle = StackHorizontal(d,e,F) g = BlankClip(a,width=200,height=60).Subtitle(txt4) bottom = StackHorizontal(g).AddBorders(30,0,0,0) StackVertical(top,middle,bottom) Subtitle(title,38,64,0,a.framecount,"",36) (x == 0)

---------------------------
93

07.25.2002

users




Statistics:
Messages:
Registration: (y == 0) ? last : BicubicResize(x,y) length == 0 ? last : Trim(0,length-1) } -end-
12.07.24 - 03:06:46
Message # 15
RE: I created a motion menu function for Avisynth

I started to modify the script for 4 clips, but doing the calculations for the positions of each tumbnail is painful. So I rewrote the script using Layer. I think it makes a script more easier to read and modify: Here is the original function, rewritten using Layer: Code:

---------------------------
1995 325is. 1996 Charged M3. 1997 328i Convertible. 2005 X5 3.0

Solokron

users




Statistics:
Messages: 110
Registration: 06.18.2002
12.07.24 - 03:15:08
Message # 16
RE: I created a motion menu function for Avisynth

thanks! just 1 more question how do i "call" in my edit.avs? is it the same function ?

---------------------------
otor is BMW's middle name.

racecar

users




Statistics:
Messages: 646
Registration: 10.13.2001
12.07.24 - 03:18:54
Message # 17
RE: I created a motion menu function for Avisynth

Actually that's what I'm referring to (codecs that returns RGB32). The divx3.11 codec returns RGB32 data only AFAIK, and with garbage in alpha. (Yes that's stupid for a MPEG type codec no to return YUY2, but that's the case). I don't know if we should reset alpha in AVISource, there might be codec out there that returns genuine alpha info.

---------------------------

robncircus

users




Statistics:
Messages: 107
Registration: 02.04.2003
12.07.24 - 03:24:14
Message # 18
RE: I created a motion menu function for Avisynth

i got it to open up but hte 4 windows are all black no imagepresent c1=AVISource("clip1.avi") c2=AVISource("clip2.avi") c3=AVISource("clip3.avi") c4=AVISource("clip4.avi") menu4(c1,"chapter 1",c2,"chapter 2",c3,"chapter 3",c4,"chapter 4","kaymans svcd",480,576,450)

---------------------------
Specializing in High Performance European Motorsports. www.teutonic.ca

GR8 Ride

users




Statistics:
Messages: 363
Registration: 07.11.2001
12.07.24 - 03:27:41
Message # 19
RE: I created a motion menu function for Avisynth

Is your data RGB32 ? If yes, could you try this: c1=AVISource("clip1.avi") c2=AVISource("clip2.avi") c3=AVISource("clip3.avi") c4=AVISource("clip4.avi") c1=c1.Mask(BlankClip(c1,color=$FFFFFF)) c2=c2.Mask(BlankClip(c2,color=$FFFFFF)) c3=c3.Mask(BlankClip(c3,color=$FFFFFF)) c4=c4.Mask(BlankClip(c4,color=$FFFFFF)) menu4(c1,"chapter 1",c2,"chapter 2",c3,"chapter 3",c4,"chapter 4","kaymans svcd",480,576,450)

---------------------------
1986 325e coupe 1987 325i sedan sold 1985 318i sedan sold 1985 318i sedan sold 1984 318i coupe sold 1967 C/10 SS 383 M21 2006 KX250 horsepower sells cars torque wins races. "caroll shelby".

85-318i

users




Statistics:
Messages: 53
Registration: 10.09.2003
12.07.24 - 03:31:13
Message # 20
RE: I created a motion menu function for Avisynth
transport question : Previous topicNext topic: AC3Filter
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants