From: "Jörg Habenicht via ffmpeg-devel" <ffmpeg-devel@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: "Jörg Habenicht" <j.habenicht@gmx.de>
Subject: Re: [FFmpeg-devel] [PATCH 1/3] avfilter/delogo: add parameter to switch on circular delogo
Date: Thu, 6 Feb 2025 23:03:25 +0100
Message-ID: <a47ed929-160c-45c6-b1e5-3546dcd2507d@planetsserver.lan> (raw)
In-Reply-To: <20250206171257.GX4991@pb2>
Hi
Am 06.02.25 um 18:12 schrieb Michael Niedermayer:
> Hi Jörg
>
> On Tue, Feb 04, 2025 at 08:53:58PM +0100, Jörg Habenicht via ffmpeg-devel wrote:
>> Add a parameter (boolean) r to switch the area from
>> rectangular (r=0) to circular(r=1) delogo.
>>
[...]
>> @@ -209,6 +209,7 @@ static const AVOption delogo_options[]= {
>> { "y", "set logo y position", OFFSET(y_expr), AV_OPT_TYPE_STRING, { .str = "-1" }, 0, 0, FLAGS },
>> { "w", "set logo width", OFFSET(w_expr), AV_OPT_TYPE_STRING, { .str = "-1" }, 0, 0, FLAGS },
>> { "h", "set logo height", OFFSET(h_expr), AV_OPT_TYPE_STRING, { .str = "-1" }, 0, 0, FLAGS },
>> + { "r", "logo is round/ellipse", OFFSET(round), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
> maybe a superellipse would be interresting
> https://en.wikipedia.org/wiki/Superellipse
>
> This would allow intermediates between a rectangle, elipse and rhombus
> I imagine this could cover more cases of logos
hm, good idea.
How do I get the user Interface right? Extending the new 'r' option from bool to accept a float type?
r=2.0 would result in an ellipse or circle and r=1.0 would result in a rhombus?
>
> either way teh 3 patches should be merged
>
> thx
>
>
my pleasure
cu
Jörg
_______________________________________________
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 prev parent reply other threads:[~2025-02-06 22:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 19:53 [FFmpeg-devel] [PATCH 0/3] Patch to create a circular delogo area Jörg Habenicht via ffmpeg-devel
2025-02-04 19:53 ` [FFmpeg-devel] [PATCH 1/3] avfilter/delogo: add parameter to switch on circular delogo Jörg Habenicht via ffmpeg-devel
2025-02-06 17:12 ` Michael Niedermayer
2025-02-06 22:03 ` Jörg Habenicht via ffmpeg-devel [this message]
2025-02-04 19:53 ` [FFmpeg-devel] [PATCH 2/3] avfilter/delogo: added circular delogo algorithm description Jörg Habenicht via ffmpeg-devel
2025-02-04 19:54 ` [FFmpeg-devel] [PATCH 3/3] avfilter/delogo: added the circular delogo algorithm Jörg Habenicht via ffmpeg-devel
-- strict thread matches above, loose matches on Subject: below --
2025-02-03 20:45 [FFmpeg-devel] [PATCH 1/3] avfilter/delogo: add parameter to switch on circular delogo Jörg Habenicht 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=a47ed929-160c-45c6-b1e5-3546dcd2507d@planetsserver.lan \
--to=ffmpeg-devel@ffmpeg.org \
--cc=j.habenicht@gmx.de \
/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