Hi

I'm working on an interactive video filter, with a gui window.  The gui
thread is created & monitored inside the filter functions, for example the
gui can pause  the filter pipeline while user adjusts image controls.

If the user closes the window, I need to abort the job. There does not seem
to be a libavfilter function for that, so I have resorted to exporting
ffmpeg_exit() (inside a wrapper) from the ffmpeg mainline.  That means I
cannot build this filter as a pure libavfilter member at present, and must
use a modified main program.  So I would like to suggest that a function,
called for example avfilter_abort(), be added to the avfilter support code
to handle this need cleanly.

I don't consider myself qualified to do that, but would welcome advice on
what  the problems might be.

Actually, I'm not sure I want to put this filter in libavfilter.  It depends
on several external dlls that would be required to run ffmpeg even when my
filter was not being used.  That could cause unpleasant distribution
problems.  Those could be minimized  if ffmpeg  had the ability to
selectively load filters from separate dlls, however I suppose that would be
too big a change to consider.

-- Tom
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to