[FFmpeg-devel] 回复: [PATCH] avfilter: Proof of Concept: enable out-of-tree filters

yangyalei 269032741 at qq.com
Wed Mar 26 04:59:53 EET 2025


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 at Music)(abuff_src at Ring)---amix---abuff_sink


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


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


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


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





杨亚磊
269032741 at qq.com



 




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

主题: 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 at gmail.com>
wrote:

> I really hope this can be the last iteration, as I ran out of ideas on how
> 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 at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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


More information about the ffmpeg-devel mailing list