Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th January 2004, 00:35   #1  |  Link
albertgasset
Registered User
 
albertgasset's Avatar
 
Join Date: Jan 2003
Location: Barcelona
Posts: 68
New Transition filter and two questions

[EDIT]
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/warpenterpri...l_20040123.zip
[/EDIT]

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:
Code:
# 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

Last edited by albertgasset; 10th October 2006 at 08:49. Reason: I've updated the link because it didn't work anymore.
albertgasset is offline   Reply With Quote
Old 20th January 2004, 19:25   #2  |  Link
lamer_de
Member
 
lamer_de's Avatar
 
Join Date: Dec 2001
Location: somewhere far beyond
Posts: 270
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
lamer_de is offline   Reply With Quote
Old 20th January 2004, 19:49   #3  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
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!

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:
Quote:
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.
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 20th January 2004 at 21:54.
sh0dan is offline   Reply With Quote
Old 23rd January 2004, 18:18   #4  |  Link
albertgasset
Registered User
 
albertgasset's Avatar
 
Join Date: Jan 2003
Location: Barcelona
Posts: 68
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
albertgasset is offline   Reply With Quote
Old 2nd March 2005, 10:34   #5  |  Link
dplaton
Registered User
 
Join Date: Apr 2004
Location: Romania
Posts: 101
Great transition filter, just great.
Congratulations.
dplaton is offline   Reply With Quote
Old 3rd March 2005, 04:24   #6  |  Link
Dali Lama
Registered User
 
Join Date: Jan 2002
Posts: 331
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
Dali Lama is offline   Reply With Quote
Old 3rd March 2005, 06:31   #7  |  Link
stickboy
AviSynth Enthusiast
 
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
Quote:
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.

Last edited by stickboy; 3rd March 2005 at 06:41.
stickboy is offline   Reply With Quote
Old 3rd March 2005, 09:25   #8  |  Link
dplaton
Registered User
 
Join Date: Apr 2004
Location: Romania
Posts: 101
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 is offline   Reply With Quote
Old 14th March 2005, 14:30   #9  |  Link
dplaton
Registered User
 
Join Date: Apr 2004
Location: Romania
Posts: 101
DVD slideshow GUI have some nice pictures that can be used as transition masks.
Enjoy.
dplaton is offline   Reply With Quote
Old 14th March 2005, 23:14   #10  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 743
Dead link, please repair

richard
photorecall.net
rfmmars is offline   Reply With Quote
Old 15th March 2005, 00:48   #11  |  Link
albertgasset
Registered User
 
albertgasset's Avatar
 
Join Date: Jan 2003
Location: Barcelona
Posts: 68
Quote:
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.
albertgasset is offline   Reply With Quote
Old 15th March 2005, 02:38   #12  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 743
Thanks,

richard
rfmmars is offline   Reply With Quote
Old 16th May 2005, 14:10   #13  |  Link
FredThompson
Registered User
 
FredThompson's Avatar
 
Join Date: Feb 2002
Location: Charlotte, NC USA
Posts: 1,984
Dead links, again. Would someone please post a live link?
__________________
Reclusive fart.
Collecting Military, Trains, Cooking, Woodworking, Fighting Illini, Auburn Tigers
FredThompson is offline   Reply With Quote
Old 16th May 2005, 16:15   #14  |  Link
albertgasset
Registered User
 
albertgasset's Avatar
 
Join Date: Jan 2003
Location: Barcelona
Posts: 68
Quote:
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.

[edit]
I've found the filter at www.avisynth.org/warpenterprises/, this is the link to Transition-0.4.zip.
[/edit]


Last edited by albertgasset; 16th May 2005 at 16:27.
albertgasset is offline   Reply With Quote
Old 29th March 2019, 13:41   #15  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Updated links:

http://www.avisynth.nl/users/warpenterprises/ ==> 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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.