From: yangyalei via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: =?gb18030?B?VHJpc3RhbiBNYXR0aGV3cyB2aWEgZmZtcGVnLWRldmVs?=
<ffmpeg-devel@ffmpeg.org>
Cc: =?gb18030?B?eWFuZ3lhbGVp?= <269032741@qq.com>
Subject: Re: [FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability
Date: Wed, 26 Mar 2025 10:54:00 +0800
Message-ID: <tencent_237A02EA7DAC4A290512331CBF7EFB6C4008@qq.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 2442 bytes --]
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
------------------ Original ------------------
From: "ffmpeg-devel" <george@nsup.org>;
Date: Tue, Mar 25, 2025 07:28 PM
To: "FFmpeg development discussions and patches"<ffmpeg-devel@ffmpeg.org>;
Cc: "yangyalei"<269032741@qq.com>;
Subject: Re: [FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability
yangyalei050 via ffmpeg-devel (HE12025-03-25):
> From: yangyalei <269032741@qq.com>
>
> 1. Support reuse the graph to play different audio.
> 2. Support config part of the graph.
Please explain what it means. I see a lot of new code, but I have no
idea what triggers it.
Regards,
--
Nicolas George
_______________________________________________
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".
next reply other threads:[~2025-03-26 2:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 2:54 yangyalei via ffmpeg-devel [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-25 11:24 yangyalei050 via ffmpeg-devel
2025-03-25 11:28 ` Nicolas George
2025-03-26 2:44 ` yangyalei via ffmpeg-devel
2025-03-27 19:38 ` Nicolas George
2025-03-26 3:09 ` yangyalei via ffmpeg-devel
2025-03-26 7:28 ` softworkz .
2025-03-24 2:28 yangyalei050 via ffmpeg-devel
2025-03-24 2:48 ` Zhao Zhili
2025-03-24 2:10 yangyalei via ffmpeg-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_237A02EA7DAC4A290512331CBF7EFB6C4008@qq.com \
--to=ffmpeg-devel@ffmpeg.org \
--cc=269032741@qq.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git