Sorry for garbled, reissued as follows.


In the avfiltergraph of FFmpeg, it is required that all filters within the graph can obtain a format and successfully negotiate for data flow.


So, is it allowed for the graph to contain filters that cannot obtain a format? Can these filters be ignored during format negotiation, allowing only the filters that can obtain a format to negotiate successfully?


This patch addresses the problem described in this scenario.


For example:


(abuff_src@Music)(abuff_src@Ring)---amix---abuff_sink


In the graph above, We support three playback scenarios at the same time:


1. Only abuff_src@Music needs to be played, and abuff_src@Ring has no data. abuff_src@Ring is ignored during negotiation, "abuff_src@Music -- amix -- abuff_sink" link negotiation is successful, and playback can be performed;


2. Only abuff_src@Ring needs to be played, and abuff_src@Music has no data. abuff_src@Music is ignored during negotiation, "abuff_src@ring --> amix --> abuff_sink" link negotiation is successful, and playback can be performed;


3. Both abuff_src@Music and abuff_src@Ring need to be played, and all filters are negotiated successfully and mixed playback is performed.





杨亚磊
269032741@qq.com



 




------------------ 原始邮件 ------------------
发件人:                                                                                                                        "FFmpeg development discussions and patches"                                                                                    <rsbultje@gmail.com&gt;;
发送时间:&nbsp;2025年3月26日(星期三) 凌晨2:05
收件人:&nbsp;"FFmpeg development discussions and patches"<ffmpeg-devel@ffmpeg.org&gt;;

主题:&nbsp;Re: [FFmpeg-devel] [PATCH] avfilter: Proof of Concept: enable out-of-tree filters



Hi,

On Mon, Mar 24, 2025 at 12:20 PM Leandro Santiago <leandrosansilva@gmail.com&gt;
wrote:

&gt; I really hope this can be the last iteration, as I ran out of ideas on how
&gt; to simplify the process, so please let me know your thoughts :-)


I'm not sure I understand the rationale or goal of this. It seems you're
trying to create a process for extending the source/build tree with
components not part of our git. Is this something people are interested in?
I've never heard this use case before.

Ronald
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".