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

Forum



ПоискПоиск   Users   Registration   Entrance
Today: 31.05.2025 - 02:33:44
Pages:  1  2  

I created a motion menu function for Avisynth

Advertising

/
MessageAuthor

I wrote a function that will create a six-thumbnail motion menu of any size and length. It does a title at the top of the menu and captions for each thumbnail clip. Here's a screenshot of what it can do (you might have to wait a bit): (I used the same clip for all, but you can do 6 separate ones). Anyway, here's the code: Code:

---------------------------
~Sean I beat him in a slushbox while handing a sippy cup to my toddler son. ~Mickey

funkyboss

users




Statistics:
Messages: 457
Registration: 08.28.2001
12.07.24 - 01:11:40
Message # 1
RE: I created a motion menu function for Avisynth

Thank you for posting your script. Do you recognize a speedup if you add brackets to your bottom = StackHorizontal(g,h,i).AddBorders(30,0,0,0).ConvertToYuy2 command, i.e. change it to: bottom = StackHorizontal(g,h,i).AddBorders(30,0,0,0).ConvertToYuy2() ? I read that this could make quite a difference. bb

---------------------------
['07 BMW M5/6.:Indianapolis Red/Black:. Toys '93 BMW 850i J Spec- (DiamondSchwartz)-CSI Kit- Lowered-Wokke Chips- Custom Exhaust- 18" MK1's-KN Filters+ M Steering Wheel- Stereo Upgrade +++ 94 BMW 850 CSi - OE 91 BMW 850Ci Manual '88 BMW 635CSi ACS's+

BMWM5LOVER

users




Statistics:
Messages: 100
Registration: 06.16.2003
12.07.24 - 01:20:56
Message # 2
RE: I created a motion menu function for Avisynth

I just tried it and it didn't seem to help or hurt the speed. This was also on a Celeron 466 where I tested so there might be a speedup with a faster processor.

---------------------------
1997 E36 323i, S50B30, MoTeC, stripped, caged, whored, the lover 2002 E53 X5, 4.4, stock as a rock. The wife, the tow car. 2008 E92 M3, Jet Black, Eibach's, Megan Exhaust, the mistress

m52

users




Statistics:
Messages: 451
Registration: 08.24.2001
12.07.24 - 01:29:02
Message # 3
RE: I created a motion menu function for Avisynth

ive been wanting to do this for a while 

---------------------------
i need a shit-load of dimes.

Mojo325is

users




Statistics:
Messages: 4,116
Registration: 01.26.2003
12.07.24 - 01:38:43
Message # 4
RE: I created a motion menu function for Avisynth

can you explain it please, what each line does im new to avsynth , i dont see any line for importing avis. :) kayman

---------------------------
97 M3 formerly AASC now Technique Tuning Stage II (thanks to Got PSI, Shuasha, BMWPerson, M3 Madbimmer and 99MPower) Cut Ring HG

acastillo

users




Statistics:
Messages: 14
Registration: 07.15.2003
12.07.24 - 01:49:00
Message # 5
RE: I created a motion menu function for Avisynth

This is a function definition. You have to provide your own sources. You use it either by pasting the text in you script or by using the import filter: Code:

---------------------------
www.dentsport.com Alex Grabau

Bimmubishi

users




Statistics:
Messages: 773
Registration: 10.15.2003
12.07.24 - 01:56:43
Message # 6
RE: I created a motion menu function for Avisynth

great thanks cant wait to try it out this is exatctly what i want to do but didnt have the know how to write one

---------------------------
PSOT

RichP

users




Statistics:
Messages: 42
Registration: 07.01.2001
12.07.24 - 02:04:42
Message # 7
RE: I created a motion menu function for Avisynth

um 1 more thing say if i want a title like "kaymans svcd" at the top and chapter 1 - 6 under each image how would i do that or can i?

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

RayDuck

users




Statistics:
Messages: 291
Registration: 05.10.2001
12.07.24 - 02:14:58
Message # 8
RE: I created a motion menu function for Avisynth

Oops I forgot the menu title in my example above I edited my post and changed the call to reflect your question

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

mredwin25

users




Statistics:
Messages: 60
Registration: 07.30.2003
12.07.24 - 02:26:01
Message # 9
RE: I created a motion menu function for Avisynth

The subtitle part is built in to the function. When you call it you put menu(nameofvideoclip,"Chapter 1"...), this makes a caption of Chapter 1 under the first clip. You specify the caption for each clip. After the clips is the title, which is put at the top of the menu. If you look at the code there is a line that starts with "#Usage" that tells you what all the arguments are. I'm on a family vacation right now, but when I get home I can write a description of how it works. dividee: The call you posted would make a 480x576 menu, not 800x600, just thought I'd point that out.

---------------------------
Eric WONGer 2012 NASA Nationals GTS3 First Loser EX-#121 IP/GTS3 M3 SOLD Now-#121 GTS3 E46 M3

magnetic1

users




Statistics:
Messages: 10,078
Registration: 12.15.2002
12.07.24 - 02:33:08
Message # 10
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