temporance
10th October 2003, 09:44
I just had a neat idea (please forgive me if it's not original)
Why not implement a DirectShow filter that parses an Avisynth script and performs the functions that are described in that script?
For example,
_______________
| Avisynth DSF |
| |
---->| LanczosResize |---->
| (640, 480) |
|_______________|
Input pins on the filter would be generated automatically according to input clips defined. The output pin would output the result of the script's "return".
This could be extremely powerful.
The only problem I can see is the lack of ability to seek on the input pins in the DirectShow environement (maybe this could be overcome to some extent by buffering frames).
Is it a good idea?
Why not implement a DirectShow filter that parses an Avisynth script and performs the functions that are described in that script?
For example,
_______________
| Avisynth DSF |
| |
---->| LanczosResize |---->
| (640, 480) |
|_______________|
Input pins on the filter would be generated automatically according to input clips defined. The output pin would output the result of the script's "return".
This could be extremely powerful.
The only problem I can see is the lack of ability to seek on the input pins in the DirectShow environement (maybe this could be overcome to some extent by buffering frames).
Is it a good idea?