Syncopator
12th July 2006, 06:02
Can AVISynth feed frames through an external command line program? Something like the following perhaps:
SaveCurrentFrame("framefile.bmp")
ExecuteCmd("c:/utilities/processbmpframe.exe framefile.bmp frameout.bmp")
LoadCurrentFrame("frameout.bmp")
and iterated over an entire input AVI?
Basically, I have an external program I'd like to use as a filter, but it wasn't written as a virtualdub or avisynth filter, it's just a command-line command that takes an input file and produces an output file. I know it'll be slow, but it would be far more space efficient than splitting it into separate files and recombining them all as a compressed AVI after processing...
--
Sync
SaveCurrentFrame("framefile.bmp")
ExecuteCmd("c:/utilities/processbmpframe.exe framefile.bmp frameout.bmp")
LoadCurrentFrame("frameout.bmp")
and iterated over an entire input AVI?
Basically, I have an external program I'd like to use as a filter, but it wasn't written as a virtualdub or avisynth filter, it's just a command-line command that takes an input file and produces an output file. I know it'll be slow, but it would be far more space efficient than splitting it into separate files and recombining them all as a compressed AVI after processing...
--
Sync