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 ESMTP id 9A54A44A25 for ; Wed, 2 Nov 2022 10:13:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6C5B068BE7C; Wed, 2 Nov 2022 12:13:06 +0200 (EET) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 22A9D68BD74 for ; Wed, 2 Nov 2022 12:13:00 +0200 (EET) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id B6C562D50AB for ; Wed, 2 Nov 2022 11:12:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1667383974; 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=LuTxoIB0+KGWLmltLCSHb6vI3y2/H49gvaZl/G0cuUg=; b=MCjwr1zqlo/V9ZokUR/4VRDCnGL13HXeumZ+gcvYJ0fIP0ojnNiaSVuT8TxqafgBfdyDai R9liYafLHgInADU/riYTsWMzXYdakcM8IJuiSD+WzNDPFWB70Blh8My6cmbi/R1y5FqZQk S/pod2Zl3AYeHveA5fcw+8S3fResudfz6/THpV5PehmqTWEDBYIpE8fuKICjF4BA+GGLQd FGyaXlOB6qGlH17zRm8ovkHigjqaKtpREgmHQk5s/hfIiV1qTIjlREmYrzBfMr9sbyepRF 78Pbk4aZphMFeZlFgGTp9On/Soeei4KKVmO9YDqegCV+TvsXA3+0CW4/peiCew== Message-ID: Date: Wed, 2 Nov 2022 11:12:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 To: ffmpeg-devel@ffmpeg.org References: <20221101235933.114146-1-timo@rothenpieler.org> Content-Language: en-US From: Timo Rothenpieler In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: add AV1 encoding 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 02/11/2022 02:14, Andreas Rheinhardt wrote: > Timo Rothenpieler: >> --- >> >> diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c >> index 3c6fce391d..9a1a1fcc37 100644 >> --- a/libavcodec/nvenc.c >> +++ b/libavcodec/nvenc.c >> @@ -1,5 +1,5 @@ >> /* >> - * H.264/HEVC hardware encoding using nvidia nvenc >> + * H.264/HEVC/AV1 hardware encoding using nvidia nvenc >> * Copyright (c) 2016 Timo Rothenpieler >> * >> * This file is part of FFmpeg. >> @@ -222,8 +222,14 @@ static void nvenc_map_preset(NvencContext *ctx) >> >> static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level) >> { >> -#if NVENCAPI_CHECK_VERSION(11, 2) >> +#if NVENCAPI_CHECK_VERSION(12, 1) >> const char *minver = "(unknown)"; >> +#elif NVENCAPI_CHECK_VERSION(12, 0) >> +# if defined(_WIN32) || defined(__CYGWIN__) >> + const char *minver = "???.??"; >> +# else >> + const char *minver = "???.??"; >> +# endif > > Either one of the above is wrong or the above #if is superfluous (or I > am blind). Video SDK 12 is not released yet, so there is no documentation on the driver versions. Whenever it gets release, which was scheduled to happen in October already, those need filled in. _______________________________________________ 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".