From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id F1D4C4BB9C for ; Fri, 21 Feb 2025 07:56:19 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8904868C5BF; Fri, 21 Feb 2025 09:56:15 +0200 (EET) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2F9A368C33A for ; Fri, 21 Feb 2025 09:56:08 +0200 (EET) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-439a1e8ba83so17152825e9.3 for ; Thu, 20 Feb 2025 23:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740124567; x=1740729367; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=+/hNCs6Gy59Zo1nD1moS/cGE7D8r44wrREoeMBRaVHo=; b=lfFVasDJfk7BF3OD5WIQNMsezHGXhPZ1LD6tHbyj5zwjz81zOs0qG7BOGIzqhcCUeS WfWn2FaUoCiaOu9X+YMxfHudHmd8E0YFy/oXabG/q6Ws1Tw9xWo9RLfL/bPW8kWpZs5W s7t1Wy8zAOjlESYbr89r9FDTU5JXS4TttPpnY9idj9tgiH/giweVwG5o5fVm/KV4tD+l vSGpMtm68ccWdWKVn1WC9S7pCGkhW6IZDdcAn4+3NAcS0kwpy8m8OK9794EFc09O+Jpe JPq55R1y4GbPZw07M4mnIhJU1DkZtFYe5hSlc7fLgBDWPCH0k6CFZomugyXIQaMt3ZiV /ZMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740124567; x=1740729367; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+/hNCs6Gy59Zo1nD1moS/cGE7D8r44wrREoeMBRaVHo=; b=CNJ+aGsYxa5Kx71s/+2tl3QUOrQA+cuNOMFtK+b+0KhrbggvNYm4DCQC4/kBR+vr9c 5yO8rLVW2AwQBrxDM+YH8R7JYlUzJ748ddoIrxd4gfJs/lSPegzTtAL3pph0bcEjo2yd qfzRV725ogAPc2LgvHoK2B53yeOOovUviYFY1Vui1kFnWjz3Zc02KLFh7W/m0UbMqepd O6OqHRtWT6bxRFhtueNa7rH+zzzUf9ByHTCasoHEvM14VVC3C1bTSvMlncamXdrCnbV9 cZR647uz+ETj9bW4ZOzfASX8qF0Wosi6uBUo3FTOuAcZzqMuOYFaty0+kqdvqyPfvSsD Qp2w== X-Gm-Message-State: AOJu0Yyq8a3ldqEmLEGI/IqgUxIbNln8v8cAiJsdp+n2s04GPIEtZ0N1 eEKLvFo80TBRWg6u8IHOrZbtUgPG47XNlqQMwMsv+jPubpDkSGZG5XWdOi7L X-Gm-Gg: ASbGncumVE0SgBTBz2H8/H7YQNP0Zm+YS/4erE3BB3x2nHNUhEwc+EzQ1m69tb3L23o ocbIDDKEGPUotYsIIM92u/KAgBA5o97UaOcVWmJ01ArhshIOcMtzsFdpNd12YVsb79IyVEQipcX /pfYGKLhkR72g5f5KPXV4kwBhgVqtzMAk8DtCxFoYfEJidPF6g2qzKfG43wbtXK8ClJiEdpLPh8 MibYrChHRfg348o4nmvWxUZBihws8kLPfngc96zeKRwDddf5LhvpSTziEOrbW7Ri2/hhCQg2hai TNSPomRnvym132sZziFFSazfL4FFCPZ0CYerZf0WAQnOVPAvKagUjEKjAWUWia46x9rQ832qM5k lliFZ X-Google-Smtp-Source: AGHT+IFvsIyGXZPd2KFe4kQ5QpqQp7YY/l8sJLqVof3CC6DJEI4+Mmx2JhKZm29xIZbXck3nxgiTOQ== X-Received: by 2002:a05:600c:358c:b0:439:84ba:5760 with SMTP id 5b1f17b1804b1-439aeae1c8bmr13711715e9.5.1740124567012; Thu, 20 Feb 2025 23:56:07 -0800 (PST) Received: from ?IPV6:2001:9e8:1daa:f400:a216:d2e1:8f56:e8e1? ([2001:9e8:1daa:f400:a216:d2e1:8f56:e8e1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-439b01346d1sm9606245e9.0.2025.02.20.23.56.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Feb 2025 23:56:05 -0800 (PST) Message-ID: Date: Fri, 21 Feb 2025 08:56:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: FFmpeg development discussions and patches , Michael Niedermayer References: <418474f4-5b38-4a44-822a-8e3c367e673c@gmail.com> <20250220224924.GL4991@pb2> Content-Language: en-US From: Leandro Santiago In-Reply-To: <20250220224924.GL4991@pb2> Subject: Re: [FFmpeg-devel] I've written a filter in Rust X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 2/20/25 23:49, Michael Niedermayer wrote: > Hi > > On Thu, Feb 20, 2025 at 02:06:47PM +0100, Leandro Santiago wrote: >> [insert meme here] > [...] >> I also recorded a video showing the filter in action [7]. > [... >> [7] https://youtu.be/U_y4-NnaINg > cool, it doesnt detect everyone though Yes, this has two reasons: one is the quality of the detection depends on the model used. I use in the demo a yolov4-tiny that is very fast but not really accurate, leading to many people not being tracked. There can be bugs in the track_sort code as well. The other reason is that the `track_sort` at the moment ignores all the detected boxes which have a position, but no area (they seem to be detected as simple points by `dnn_detect`), which are useless for now, as the SORT implementation at the moment depends only the boxes dimensions for computing IOU (intersection over union). I could think though on extending the code to "fake an area" of a box when it's unknown, which might help to improve the tracking. > > also i think this shows how useful a plugin framework would be for ffmpeg > > with plugins everyone could use,test and contribute to this today. > without plugins, this needs to be merged in ffmpeg git master. (which > will take some time i suspect) Yes, it could even open space for webassembly based plugins, which would be less of a hassle regarding ABI and potentially be cross platform, although I foresee some challenges on getting wasm runtime to share data with the host without copying, especially if the data in the GPU. > > Rust support in FFmpeg is an interresting idea though, iam in favor of > supporting more "safe" languages Great to hear that! > > thx > > [...] > > _______________________________________________ > 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".