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 6F0D34BEC0 for ; Tue, 4 Feb 2025 12:26:12 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AA77068B6FC; Tue, 4 Feb 2025 14:26:07 +0200 (EET) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7220968AC45 for ; Tue, 4 Feb 2025 14:26:01 +0200 (EET) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-53e3a227b82so5101492e87.0 for ; Tue, 04 Feb 2025 04:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1738671960; x=1739276760; darn=ffmpeg.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=Ok65q8iKci7FLCtZcoPqFDAm/6laYHtnBu/v6QHYQa4=; b=f1yVTzlDG3Y5F4PoL412bn5+hIvTpNejTW1dlDyiaR4BN9zVl6mvwfkvDXCjSbhArJ IqqFy64GYDs3/b4pvbRyDM6JlJKUxzpaCXpMvLCisC6+kT3rRV4geqQ9EtN8WH7jYWSe seqioQCkRga1gpyonGIOlNdHTEexdDHcufu5iJ/ZPzfzFgAONgF3BSqYFaw0QhqAxDHg EEH8Bh9lxFyOYqV4xMy74eKPEDIm6i+CB1ZE8ljzYSQZspl3tO56UaEM8aQZKVrGAh6F CbLyyUnQQaGPMcHzGcScJ/p7LNADsxTt+1opcrjNifARoGVHTXEl1izSVFDm6MSAS5Tl 9aYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738671960; x=1739276760; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ok65q8iKci7FLCtZcoPqFDAm/6laYHtnBu/v6QHYQa4=; b=e6jcPKSUG4BiTe2a9MTN+SLTFcDtLXbaiodffjpEZeoEkHqnkVChwE6VjdrY+UI5gl i40hx26fdWnsBx4TShjqu9XJgb+16EozPAcwc2ndORs75xAwqjz9kaH3PIUvtycXtDpq +UPRJ5DkrpN/DauKsGKmV1mWRgAfz+w+RNaiEGnDcugh7RQVSxV3ljMTrvmgQHWLC6QT GTvlIrco3F9J/60ug/UMw4gDIFOF9juwA+K1pUUyRQeI73ksM1R/ds9x/VzyLIi64ZAI mh9lK98iYyo3q2LJXnGkCJlX+ROnGRl1RfhoxewKa5vuP3aO1vqDrYHRIzeadcuAGDjn sJyw== X-Gm-Message-State: AOJu0YzCMQ73kJ19XL51tEykIyQbkJsSlfWxo9Bq6Uu0qElngTsw0Q7F 5JN0jZe6+EkUCV0dBwl6A8/uybZrN85lXnEEVkZYfVfgSM0BUkcxc+hhPcWBplf/wIxQo/XaZgE VBQ== X-Gm-Gg: ASbGncuU0XlsiaOs++UjnglRBTmZGmM2mPbPzpecliK3xcyhgn7buQa8KntbIjdmtR7 NasQPk5NMT3xP4uk3Km8PO/Gpk9B9xrwhrg2up5gJXyz/kI6al3TFmPrkZe51PjBwf/2O8NRWZS U54nxJqSJkMmWPlwuTivjQt3HiwlrAiNf9JUAle9Iwv7vUKwB+jPQJ3k98/SAMJfkVy9Y0z0sXb kGhDwnTAczw+6TLUocCyF59R0JNCKYCJVqCpUMQwVGt38XUC3yYM5g9JZ2DUmoejxYOfbMRUBc1 AyC/6xnrHGbZiuS+sIE6zEoHfCIJ5C205q6EtJKaLI+/e7syjAinXrw7+TrB6VIzHWfK/IWBVXA +tLe95TzWKDs= X-Google-Smtp-Source: AGHT+IHPRe9QkhJih7qhQ5F5I8PB+b291DKJoB6UyWP0+FTeWxf3Zy2DsOolNaAIop3axNe/JTJ21w== X-Received: by 2002:a05:6512:15e:b0:540:1f7d:8bc4 with SMTP id 2adb3069b0e04-543e4c37a89mr8069748e87.48.1738671960235; Tue, 04 Feb 2025 04:26:00 -0800 (PST) Received: from tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net (tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:11::2]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-543ebeb077dsm1583762e87.120.2025.02.04.04.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2025 04:25:59 -0800 (PST) Date: Tue, 4 Feb 2025 14:25:57 +0200 (EET) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20250203174043.141F7412710@natalya.videolan.org> Message-ID: References: <20250203174043.141F7412710@natalya.videolan.org> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/nvenc: Enable recovery point SEI for intra refresh mode 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 Cc: zhilizhao@tencent.com, timo@rothenpieler.org 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 Mon, 3 Feb 2025, Zhao Zhili wrote: > ffmpeg | branch: master | Zhao Zhili | Thu Jan 23 22:17:29 2025 +0800| [1438f6997db70945173f01aea1768e3b27ce2679] | committer: Zhao Zhili > > avcodec/nvenc: Enable recovery point SEI for intra refresh mode > > Otherwise all frames can be dropped after seek without the > output_corrupt/showall flags. > > Signed-off-by: Zhao Zhili > Reviewed-by: Timo Rothenpieler > >> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1438f6997db70945173f01aea1768e3b27ce2679 > --- > > libavcodec/nvenc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index c52e47734e..c359c2bc8a 100644 > --- a/libavcodec/nvenc.c > +++ b/libavcodec/nvenc.c > @@ -1281,6 +1281,7 @@ static av_cold int nvenc_setup_h264_config(AVCodecContext *avctx) > h264->intraRefreshPeriod = cc->gopLength; > h264->intraRefreshCnt = cc->gopLength - 1; > cc->gopLength = NVENC_INFINITE_GOPLENGTH; > + h264->outputRecoveryPointSEI = 1; This change breaks building with older versions of nv-codec-headers installed. // Martin _______________________________________________ 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".