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 8148E4850D for ; Sat, 6 Jan 2024 10:54:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A122668CC5B; Sat, 6 Jan 2024 12:54:26 +0200 (EET) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DFF4B68B02D for ; Sat, 6 Jan 2024 12:54:19 +0200 (EET) Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2ccbf8cbf3aso3714091fa.3 for ; Sat, 06 Jan 2024 02:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704538458; x=1705143258; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=ZI8BUlsWvOQucH+Wa+IjV0AG+gdH2tRq6Vhf+JlwKdk=; b=mbSqVwbEM0xjUZHSJeabDxxPkDfkHR/X8pns8KSKbwfCK6y1DySsS8OHvGtTLn1g8L 69Be4ZAPOqFRLHlG07ctMdZZARRKgQ3lS4S2JIHC8xtyX0XkcNF+deyFHR+zDd4anRNp sw+VLWf0MRlocr78tI7d8xj20VyODLVRlUdyxFH8UWq8zlxLqJ0jJrLtJBDSH6jpScRf UpGABHe9LH8FzWpURSuw7n1D2SLkrSCGpnqo6T0xRjvZozX7dzynkpPllLRys6FyYuj7 cYfJ2p66Xhy9m3S71VXtBInONt9wy2VSMXMDhqg5Dp/h3OnmhVqmw5YmAavl4NyQemWD 3oxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704538458; x=1705143258; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZI8BUlsWvOQucH+Wa+IjV0AG+gdH2tRq6Vhf+JlwKdk=; b=Loa0nMwji9bZQRI2Y1NPMIz00Wqeff1Vdj2sFNhci9LDWvJznpehJw1u4SB+pCYqxx 1IT4AU0tNFUFAgSZAdZsPFcOu1v6gQHKe3utQjKu6Uz78o9KFF8QphnqA+J57FcoRGiA QJ94yCReSjJdhmuNAwQTUm4hrB++EU63nqml0utEA2fxL4O6GGHq2rLghID4D5D/PkwB EvOhPXulIkT4f/VTsXtdd0eCc4KhgMxMIBpSBp7cLZZGLn0jqj56KUCGlbYRNKsMWiHU 5lAMv1HohDCHMrEqZKQateut7YK7yXdLVzlMRp9GO31pC+47AYoxXWGt66h6pKXHnT2H J7jg== X-Gm-Message-State: AOJu0YwwEqNhFLub7ujCKNv5dMjU/Rqblg7tjXyuzLimIuK8E8rQlRCg DlnbnwmxFKIkGm3ETrw5Fy25R6Bb0Og= X-Google-Smtp-Source: AGHT+IFIm454WztljayC44SZ8+kPwxc9CPvFoxpb4HHgyrrF7HgG500GppOEkdfLEUVM7IOmutXUNA== X-Received: by 2002:a2e:bc15:0:b0:2cc:f02c:c97d with SMTP id b21-20020a2ebc15000000b002ccf02cc97dmr363061ljf.87.1704538458032; Sat, 06 Jan 2024 02:54:18 -0800 (PST) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id x7-20020a170906298700b00a26af6131e0sm1848627eje.7.2024.01.06.02.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 02:54:17 -0800 (PST) Received: by mariano (Postfix, from userid 1000) id 1557ABFCDC; Sat, 6 Jan 2024 11:54:16 +0100 (CET) Date: Sat, 6 Jan 2024 11:54:16 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches , Haihao Xiang References: <20240105023352.3959874-1-haihao.xiang@intel.com> <20240105023352.3959874-2-haihao.xiang@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240105023352.3959874-2-haihao.xiang@intel.com> User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH v2 2/2] doc/ffmpeg: update the documentation about vaapi device creation 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: Haihao Xiang 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 date Friday 2024-01-05 10:33:52 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > Signed-off-by: Haihao Xiang > --- > doc/ffmpeg.texi | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi > index f095f402bd..8fb165c5df 100644 > --- a/doc/ffmpeg.texi > +++ b/doc/ffmpeg.texi > @@ -1385,6 +1385,29 @@ If not specified, it will attempt to open the default X11 display (@emph{$DISPLA > and then the first DRM render node (@emph{/dev/dri/renderD128}), or the default > DirectX adapter on Windows. > > +The following options are recognized: > +@table @option > +@item kernel_driver > +When @var{device} is not specified, use this option to specify the name of the kernel > +driver associated with the desired device. This option is only available when > +@emph{libdrm} works on Linux. Optional: might be good to specify a method to verify this condition. > +@end table > + > +Examples: > +@table @emph > +@item -init_hw_device vaapi > +Create a vaapi device on the default device missing final dot here and below > + > +@item -init_hw_device vaapi:/dev/dri/renderD129 > +Create a vaapi device on DRM render node /dev/dri/renderD129 > + > +@item -init_hw_device vaapi:1 > +Create a vaapi device on DirectX adapter 1 > + > +@item -init_hw_device vaapi:,kernel_driver=i915 > +Create a vaapi device on a device associated with kernel driver @samp{i915} > +@end table > + Looks good otherwise (but again, since hwaccels are probably independent from ffmpeg they should be probably moved to a dedicated manual). _______________________________________________ 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".