[Libav-user] Update filter settings at runtime
bjoern.drabeck at gmail.com
Tue Apr 9 03:50:48 CEST 2013
> > I have recently played around with filters, and successfully integrated
> > them into my test application, so I can apply video and audio filters,
> > example bass and treble filters when I play an audio file, or apply a
> > filter - but those I always set on opening of the file.
> > I have however got a question on what the recommended practice would be
> > updating filters at runtime?
> See the process_command() API, for example how it is used in hue and
> sendcmd filters.
> Yes I saw that, and initially thought this mechanism is provided on most
filters (at least those for which it would make sense), but it's very few..
> > I would like to be able for example to have an equalizer panel for the
> > audio, where I can change the bass, treble, etc settings and apply those
> > while playing back the file, so I can fine tune it to a setting that I
> > The filter samples are very basic and don't really indicate an approach
> > that..
> > Anyone have any hints on how to do this?
> You need to implement a process_command() callback, which should be
> fairly simple, or in alternative send a feature request on trac.
> I suppose if I sent a feature request it would not be predictable when it
becomes available, so that leaves trying to implement it myself. Will check
out the code and do that, and report back on my progress.
If the result seems reasonable I can make it available for other people too.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user