Hi Nicolas,

> On Oct 31, 2025, at 17:58, Nicolas George via ffmpeg-devel 
> <[email protected]> wrote:
> 
> Zhao Zhili via ffmpeg-devel (HE12025-10-31):
>> Current implementation isn’t a new API, but new flags. It extends the ways to
>> traverse a graph.
> 
> A new flag is a new API.
> 
>> The existing API has the capability to send commands to a specific filter, a 
>> certain
>> type of filter, or all filters, but it lacks the ability to send commands to 
>> a subgraph,
>> unless the user manually filters out all filters belonging to the subgraph, 
>> which is
>> possible but complex.
>> 
>> The newly added flags provide subgraph traversal capability.
>> 
>> A common use case is when a graph contains multiple sources; I want to send
>> commands, such as volume control, to a subgraph with a specific source as the
>> root node, without affecting other sources. While controlling via volume 
>> instance
>> names is also feasible, using the source for control offers additional 
>> flexibility.
> 
> Then we need a patch series that really allows to do that, including
> examples.


Use cases and FATE tests have been added with libavfilter/f_sendcmd.c, it looks 
fine
to me, could you please take a look?

https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20731


> 
> Regards,
> 
> -- 
>  Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to