From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id B77494E324 for ; Wed, 9 Jul 2025 12:09:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 1653168E8FE; Wed, 9 Jul 2025 15:09:26 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id EB46B68E82A for ; Wed, 9 Jul 2025 15:09:19 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 6873627FFCCBE for ; Wed, 09 Jul 2025 14:09:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1752062959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HA+4etWvoGY+Y82wUMxvxn1y1FfuRnpFg5yt9z+XW1Q=; b=qa7/apgdAKdCoxrPjAx4QCiqTlBSVL4UC0VtP5doqmgBNQQx7+BNt5HnB5CFAWKuD635ud lJwckk2ZKBbcZmYLZDsiEePP3loz84zLjkqmTN+yFHZnnJht+OHELScDrTia5Sz4VPg1tR 96Uio4Vc/bIqt6VuE65TVbgS1FvfyeSsgEregcr4Nk8uVoKvqQJSl5bzjPoLcXEbQN0fpF xFg74l3KNYOb2IOb9sZW2ROi2VG0SLSG2nb6XPPY8Xy/uNLsxU/OxtKgOhRwH7S571N1s/ rlp1/2mPP1O21MfFsiInjZONcSLeJ0jK2dI1aBKV5emi6wSX2PB7+bzMIMSA7w== Message-ID: <65710263-e58b-4681-b92b-7a7645c173b6@rothenpieler.org> Date: Wed, 9 Jul 2025 14:09:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org References: <20250707225303.68084-1-jestrada.list@gmail.com> Content-Language: en-US, de-DE From: Timo Rothenpieler In-Reply-To: <20250707225303.68084-1-jestrada.list@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] avfilter/overlay_cuda: add timeline editing support 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 08/07/2025 00:53, Jorge Estrada wrote: > Enables timeline editing options for overlay_cuda similar to what overlay allows > > Example overlaying an image on a video between 30 to 60 seconds: > > ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i sample-video.mp4 -i sample-image.jpg > -filter_complex "[1:v]hwupload_cuda[image],[0:v]scale_npp=format=yuv420p[video],[video][image]overlay_cuda=enable='between(t,30,60)'" > -c:v h264_nvenc -c:a copy -y overlay-output-gpu.mp4 > > Signed-off-by: Jorge Estrada > --- > libavfilter/vf_overlay_cuda.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c > index 4708b34d30..3d39458f3f 100644 > --- a/libavfilter/vf_overlay_cuda.c > +++ b/libavfilter/vf_overlay_cuda.c > @@ -573,5 +573,6 @@ const FFFilter ff_vf_overlay_cuda = { > FILTER_OUTPUTS(overlay_cuda_outputs), > FILTER_SINGLE_PIXFMT(AV_PIX_FMT_CUDA), > .preinit = overlay_cuda_framesync_preinit, > + .p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL, > .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, > }; looks reasonable to me, will apply _______________________________________________ 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".