[Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

Paul B Mahol onemda at gmail.com
Mon Feb 1 22:02:56 EET 2021


lowpass, highpass and agate on master git version have both timeline and
command support.

On Mon, Feb 1, 2021 at 7:39 PM ilkercan Kaya <canilkerkaya at gmail.com> wrote:

> Hi Everyone,
>
> I am making a mobile music app where the user can add multiple different
> FXS at runtime to current playing music through a two dimensional pad with
> an effects header. I am using FFmpeg, libavfilter in C++ to add multiple FX
> to the audio.
>
> My problem is, the user can disable any of the FX's I am using at any time
> as they wish, the effects I use are agate, lowpass, highpass. The graph is:
>
> abuffer -> lowpass -> highpass -> agate -> aformat -> abuffersink.
>
> From time to time, I want to disable some of the following  lowpass,
> highpass, agate. So I thought I could just reconfigure the graph and
> basically get rid of links to fulfil my wish. I am not sure this is the
> right way to do it tho. I tried to dig online but all I could find was a
> thread from 2012 with no conclusion. Libavfilter documentation doesn't say
> anything about reconfigure or reset existing filtergraph (of that I could
> find).
>
> What would be the best way to do this?
>
> Thank you!
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210201/fe64c31e/attachment.html>


More information about the Libav-user mailing list