PDA

View Full Version : Slideshow with FadeIO()?


IanD
12th October 2006, 07:08
I have about 300 pics interspersed with short clips that I want to convert into a combined slideshow/movie with FadeIO transition for each pic and clip.

I've worked out how to create the basic slideshow combined with the clips using avisynth, but am unable to add FadeIO transitions to each pic of the slideshow.

I tried using ApplyEvery(150,"FadeIO(25)"), but avisynth generates an error which I think means it can't handle so many iterations.

I really don't want to have to do this manually pic by pic.

Any suggestions on how to script this process?

It needs some form of looping construct that will duplicate a single pic x number of times, then FadeIO() on that clip segment before moving onto the next pic, but I don't know how to do it.

The Slideshow GUI is not much use, because I need the flexibility to insert the clips amongst the slideshow before passing it through an mpeg2 encoder as a continuous clip.

I did try a recursive script using a simple Dissolve, which I found as an example in the syntax documentation, but the script opens very slowly and then got progressively slower after the first transition, until it hung completely in Virtualdub. I really didn't understand how the example worked as complex iterative mental gymnastics are beyond me.

tin3tin
12th October 2006, 09:59
Hi IanD

The Slideshow GUI is not much use, because I need the flexibility to insert the clips amongst the slideshow before passing it through an mpeg2 encoder as a continuous clip.

If you are referring to DVD slideshow GUI, then it does let you use avi. However Media Player Classic isn't too happy with previewing slideshows lager than 100 slides, and might stay in the memory after closing it. Use Ctrl+ALT+DEL to get rid of mplayerc.exe.

I have been looking for alternative players which will play .avs files from a commandline, but I haven't found any yet.

BTW. DVD slideshow GUI also lets you save your slideshow as .avs , if you want to see how it is done there in code.

Have fun,
Tin2in

IanD
13th October 2006, 10:02
BTW. DVD slideshow GUI also lets you save your slideshow as .avs , if you want to see how it is done there in code.

Unfortunately I use Win98SE and I thought DVD slideshow GUI was XP only.

Really would like to be able to do this completely within a single script within avisynth.