PDA

View Full Version : How can I use a GUI in a filter?


hanfrunz
10th October 2003, 20:13
Hello,

okay my plan: lets assume i'd like to code a pan&scan filter to convert widescreen films (letterbox) to 4:3 film (without black bars!). I could just cut away a part on the left and right, but i'd like to choose the position by hand. This should be done "live" while encoding! So what i need is a little GUI with two Buttons: "move left" and "move right". I saw something like that in the "AVSMON" filter.
To start coding a new filter with GUI it would be very nice to have another simplesample, lets call it simplesampleGUI. Can anybody do this for me and all the others, that don't know how this is done (the avsmon code is not easy to read...)
Or maybe it is possible to add such a funtion in the avs-core, so every plugin might be adjustable while encoding (of course not filters that change size or colorspace etc.)...


thanks for reading :)
hanfrunz