[Libav-user] Libavfilter - Changing audio filter parameters during runtime C++

ilkercan Kaya canilkerkaya at gmail.com
Sun Jan 31 01:42:32 EET 2021


I see, thank you for the quick and clear response.

I hope it gets implemented one day. Ffmpeg is really amazing and I kindly
think this is a field where it lacks. I will be checking which filters
support T and will probably use those filters for the time being.

Thank you for your help!


On Sun, Jan 31, 2021, 01:15 Paul B Mahol <onemda at gmail.com> wrote:

>
>
> On Sat, Jan 30, 2021 at 11:12 PM Paul B Mahol <onemda at gmail.com> wrote:
>
>>
>>
>> On Sat, Jan 30, 2021 at 11:08 PM Paul B Mahol <onemda at gmail.com> wrote:
>>
>>>
>>>
>>> On Sat, Jan 30, 2021 at 11:00 PM ilkercan Kaya <canilkerkaya at gmail.com>
>>> wrote:
>>>
>>>> Hi Everyone,
>>>>
>>>> I am making a mobile music app where the user can add FX to current
>>>> playing music through a two dimensional pad. I am using FFmpeg, libavfilter
>>>> in C++ to add FX to the audio. In FFmpeg you can create an audio filter and
>>>> set it parameters and initialize a graph.
>>>>
>>>> My problem is since the user will use a FX pad to change these
>>>> parameters with their fingers I need to be able to modify these parameters
>>>> during runtime.
>>>>
>>>> Looking at ffmpeg filter documentation, it says the following:
>>>>
>>>> "Some options can be changed during the operation of the filter using a
>>>> command. These options are marked ’T’ on the output of ffmpeg -h filter=.
>>>> The name of the command is the name of the option and the argument is the
>>>> new value."
>>>>
>>>> I looked at aecho, agate, acrusher and more but nearly all the effects
>>>> I want have 0 modifiable option which makes my FX pad nonadjustable.
>>>>
>>>> Is there a way to make ffmpeg audio filters change their parameters
>>>> during runtime?
>>>>
>>>> I could really use the help, thank you!
>>>>
>>>
>>> It is currently not implemented, because nobody needed such feature.
>>>
>>> Latest git ffmpeg master, have T support for agate and acompressor and
>>> couple others.
>>>
>>
>> Also you really want both T and C (and S if performance is important)
>> C is for commands
>> T is for timeline with enable options.
>>
>> Also that documentation is wrong, C is flag you need.
>>
>
> Ignore that line, C is for output of "ffmpeg -filters"
> T is for "ffmpeg -h filter=agate"
>
>
>>
>>
>>
>>>
>>>
>>>> _______________________________________________
>>>> 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".
>>>
>>> _______________________________________________
> 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/20210131/d5213f5a/attachment.html>


More information about the Libav-user mailing list