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 C613B4C50F for ; Thu, 23 Jan 2025 18:02:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B871A68B7D1; Thu, 23 Jan 2025 20:02:30 +0200 (EET) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D921E688115 for ; Thu, 23 Jan 2025 20:02:28 +0200 (EET) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 30CA0296C103F for ; Thu, 23 Jan 2025 19:02:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1737655348; 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=rDboLtjjevTUt4B0Vgn3jVWpW4SsXrrNXmekhnKJfDg=; b=Yb6bOE6umbGYyozc17F/D277b2p5pWw5WGRC87zttHy5cD2/wFdudM9jG8i0W5iuw/eglL vxOKb1SsAblmWsFZb2aldR8wlvgaMTbWZJgSuDB3Gu2rOF9fTN1NlGJ2IJIDP/zHn6Tnvz lCNe1xKC7UYjJbnx1PnBHVqOTV3PU4PfxO8/79n4b6ysLDR2cVwCOXA1VftCKyZzM2sNK2 vzlI0UV7NUEHSEa5l/ZHuBFHCjQW7GRLWx8gtDJq8e431KtEQpgVn9DXIZbcoI1GwEMpeX Tjs0NBzzVNpoOBs4iZN9YanJb5ACGl2Xycj9fti0gMPCV0YT1f/LpruAuLjgiw== Message-ID: Date: Thu, 23 Jan 2025 19:02:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org References: Content-Language: en-US From: Timo Rothenpieler In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH v3 1/3] 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 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 23.01.2025 15:17, Zhao Zhili wrote: > From: Zhao Zhili > > Otherwise all frames can be dropped after seek without the > output_corrupt/showall flags. > --- > libavcodec/nvenc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index 06e3fb81a4..68b1b661e4 100644 > --- a/libavcodec/nvenc.c > +++ b/libavcodec/nvenc.c > @@ -1247,6 +1247,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; > #ifdef NVENC_HAVE_SINGLE_SLICE_INTRA_REFRESH > h264->singleSliceIntraRefresh = ctx->single_slice_intra_refresh; > #endif > @@ -1380,6 +1381,7 @@ static av_cold int nvenc_setup_hevc_config(AVCodecContext *avctx) > hevc->intraRefreshPeriod = cc->gopLength; > hevc->intraRefreshCnt = cc->gopLength - 1; > cc->gopLength = NVENC_INFINITE_GOPLENGTH; > + hevc->outputRecoveryPointSEI = 1; > #ifdef NVENC_HAVE_SINGLE_SLICE_INTRA_REFRESH > hevc->singleSliceIntraRefresh = ctx->single_slice_intra_refresh; > #endif Is there any reason someone might not want this? Or could it break certain scenarios? Reads to me like it'd only make the bitstream slightly larger, or are there other implications? _______________________________________________ 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".