I would like to open a SWF with AVIsynth. Is there any plugin that can perform this job? DirectShowSource does not work (and is anyway not recommendable as I think). I know that there is a commercial tool to perform this job but seems quite expensive for such an easy task.
If your swf an actual flash animation (vector drawings ?) or is it a renamed .flv video file ? I don't know of any support in AviSynth for such a thing. Maybe capturing your screen during playback with hypercam would do the job ? Or maybe ffmpeg has a swf decoder ? you could use ffmpeg to convert it to huffyuv for editing or something ... (dreams come true sometimes xD)
------------------------------ Fast and Reliable isn't Cheap Reliable and Cheap isn't Fast Fast and Cheap isn't Reliable
I can't find the other thread I was looking for, but here is a to a splitter written by gabest you might need to use in your script. Sorry I didn't bookmark the other thread. Edit: oops! wrong filter/wrong universe hehe :)
Now I see why I stayed in "newbies" for all this time : ) I couldn't find any method to open the file directly using DirectShowSource. In fact, I could not even manage to steal a single frame using mpc, the "GetCurrentImage" function fails under mpc for me. If you did open it with DirectShowSource in avisynth you would probably have to define the framerate, but you probably already know that. for transcoding .swf. Crappy site, nice content. Some flash properties that could be useful for coding or informational purposes.
------------------------------ 1982 320i - 86xxx miles and not moving for now. Sound : Sony Cassette + 10 disk changer, Pioneer speakers, 10'' Boss sub x 2 --- Suspesion : H&R lowering springs, Bilstien Sport shocks all around. 1995 Mitsubishi Mighty Max - 84,xxx miles Broken A/C,
No, I am not talking about FLV files, but real SWFs. I thought it should be rather easy to open them as IrfanView does it, based on the Macromedia flash SDK as it claims. Having had a closer look on the subject, I saw that the flash SDK is no longer free, see . There seems to be a GPL flash player library on , but it says that it doesn't work on Windows (why is that?). Some interesting SWF-tools can be found at but as far as I see, you cannot dump or read just the frames from a SWF - or I got something totally wrong...
So what's left is to do a screencapture of the swf while it's playing (into huffyuv, xvid, or whatever) and do something with that instead (or code your own directshow/vfw swf codec :p). I'm not sure fraps can capture the desktop (only 3D games or fullscreen apps IIRC). Hypercam DX should do the job though (I couldn't capture some fullscreen 1024*768 stuff at 25fps with it though .. so you might want to find something else :/)
VMR9 counts as D3D and works with Fraps. It'd be nice to have a dshow splitter/decoder for swf, it would make the occasional capture much simpler, although interactive ones would probably just fail totally.... ;_;