Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-05 Thread Paul B Mahol
Nope, initialization is done only once, To set options at runtime use avfilter_graph_send_command() On Fri, Feb 5, 2021 at 11:07 PM ilkercan Kaya wrote: > I see and whenever I toggle my enable flag I have to recall > avfilter_init_str() to make sure filtergraph takes the newest set enable > flag

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-05 Thread ilkercan Kaya
I see and whenever I toggle my enable flag I have to recall avfilter_init_str() to make sure filtergraph takes the newest set enable flag right? On Sat, Feb 6, 2021, 01:00 Paul B Mahol wrote: > > > On Fri, Feb 5, 2021 at 10:57 PM ilkercan Kaya > wrote: > >> There are two APIs to set options, >>

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-05 Thread Paul B Mahol
On Fri, Feb 5, 2021 at 10:57 PM ilkercan Kaya wrote: > There are two APIs to set options, > > Is the other one through a dictionary? I tried to find it through examples > but that's all I got. > > Could you tell me the other API so I can try to set the enable flag > through there. > The one wher

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-05 Thread ilkercan Kaya
> > There are two APIs to set options, Is the other one through a dictionary? I tried to find it through examples but that's all I got. Could you tell me the other API so I can try to set the enable flag through there. On Fri, Feb 5, 2021 at 3:25 PM Paul B Mahol wrote: > > > On Fri, Feb 5, 202

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-05 Thread Paul B Mahol
On Fri, Feb 5, 2021 at 2:49 AM ilkercan Kaya wrote: > enable option is also command for every filter that supports timeline. Yes >> it looks like not documented explicitly. > > Does this mean that I can set "enable" as an option? if so I tried to do > the following before initializing the filter: