View Full Version : New Transition filter and two questions
albertgasset
20th January 2004, 00:35
The link to version 0.3 is broken (the file is not in the server).
This is a link to the last version: http://www-est.fib.upc.edu/~e7716401/Transition-0.4.zip
Alternative link: http://www.avisynth.org/warpenterprises/files/transition_25_dll_20040123.zip
Hi,
I've written a filter to make transitions between clips using a bitmap as a pattern. It needs some testing (probably it has bugs), but it can be useful for video editing, The code is in C and Assembly (I've used the avisynth_c interface), and optimized for MMX (the video part). I'll fix the bugs it might have, and maybe add some new features (like pre-defined patterns) in the next days. I'd really appreciate feedback if someone is interested in this filter.
http://www.fib.upc.es/~e7716401/Transition-0.3.zip
And now the two questions....
- About cache hints: what is exactly, how it works, how to use it, and if it's worth it to use it in filters (or where to find info about this).
- Avisynth audio bug?: the next script does not work:
# last is a clip with 16bit audio
ConvertAudioTo32bit
ConvertAudioTo16bit
I've looked the output with an audio editor and all the wave is at the bottom; all the samples are 0x8000. 32-bit audio doesn't seem very popular (I've searched in this forum), but maybe someone uses or will use it.
Thanks in advance,
Albert
lamer_de
20th January 2004, 19:25
The filter worked flawless for me, but I only tested it on pure video stream, so i can't say anything about the audio_offset part.
Very nice filter and thanks to the example easy manageable. Keep up the good work :)
CU,
lamer_de
sh0dan
20th January 2004, 19:49
32bit audio isn't that well tested - float is better, but I tested it when I implemented it. I'll look and see if I have broken it somehow.
Edit: Found and fixed! Great thing you found that one! :thanks:
If your filter accesses multiple frames from the same clip, you may get a speedup from setting cache hints. Otherwise leave the cache at it's default values, and everything will work out fine.
I found this piece I wrote when 2.5 was in alpha stage:
All PClip's can send a message to the cache before them about how many frames to maximum cache. This can be useful in optimizing memory usage:
clip->SetCacheHints(int cachehints,int frame_range)
Where frame_range is the maximum number of frames that will be requested back or forth from the current frame. cachehints can be:
CACHE_NOTHING // Don't cache any frames for this filter.
CACHE_RANGE // Cache so many frames as given in any direction of the current frame
As said - only use cache hints, if you have temporal filter. CACHE_NOTHING shouldn't be used - I don't think it does anything.
albertgasset
23rd January 2004, 18:18
Thanks lamer-de and shOdan for the replies.
I've been working on this filter and here's the next version. There are no huge changes from the user's point of view, but I've rewritten some part of the code so it will be easier to add new features. Now the plugin has built-in patterns, about 20.
www.fib.upc.es/~e7716401/Transition-0.4.zip
Albert
dplaton
2nd March 2005, 10:34
Great transition filter, just great.
Congratulations.
Dali Lama
3rd March 2005, 04:24
Hi,
I'm really interested in this filter, but I cannot load it (either automatically for manually)? It gives me an Avisynth open error with wierd symbols?
Sorry for the vague report,
Dali
stickboy
3rd March 2005, 06:31
Originally posted by Dali Lama
I'm really interested in this filter, but I cannot load it (either automatically for manually)? It gives me an Avisynth open error with wierd symbols?I haven't tried the plug-in myself yet, so this is just a shot in the dark: do you have LoadPluginEx loaded? IIRC you need to load that last.
dplaton
3rd March 2005, 09:25
You need avisynth_c that is available at avisynth home.
LoadCPlugin()
and everything it's OK
It is not only a transition plugin but it can be used as an effect plugin.
You paint a mask not only a rectangle also an elipse, circle, what ever you want, places it on a frame at position x,y, resize the second clip, addborders, use transition to mix the 2 clips.
dplaton
14th March 2005, 14:30
DVD slideshow GUI have some nice pictures that can be used as transition masks.
Enjoy.
rfmmars
14th March 2005, 23:14
Dead link, please repair
richard
photorecall.net
albertgasset
15th March 2005, 00:48
Originally posted by rfmmars
Dead link, please repair
The version 0.3 is not in the server, there's version 0.4: http://www.fib.upc.edu/~e7716401/Transition-0.4.zip.
rfmmars
15th March 2005, 02:38
Thanks,
richard
FredThompson
16th May 2005, 14:10
Dead links, again. Would someone please post a live link?
albertgasset
16th May 2005, 16:15
Originally posted by FredThompson
Dead links, again. Would someone please post a live link?
Sorry, the server will be out of service until Tuesday at 06:00 or 07:00 UTC (it's the server of my university, and they're doing some maintenance). If you wish, I could send you Transition-0.4.zip by e-mail.
I've found the filter at www.avisynth.org/warpenterprises/ (http://www.avisynth.org/warpenterprises/), this is the link to Transition-0.4.zip (http://www.avisynth.org/warpenterprises/files/transition_25_dll_20040123.zip).
LigH
29th March 2019, 13:41
Updated links:
http://www.avisynth.nl/users/warpenterprises/ ==> transition_5F25_dll_20040123.zip (http://www.avisynth.nl/users/warpenterprises/files/transition_5F25_dll_20040123.zip)
But outdated anyway... unfortunately, the TransAll effects (which were ported to AviSynth+ as TxPlus) are too fancy for my needs, so I hope this one still works, at least in legacy color modes.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.