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 0260047A96 for ; Tue, 31 Oct 2023 05:16:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2FB1D68CCEE; Tue, 31 Oct 2023 07:16:31 +0200 (EET) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A7CD868CC56 for ; Tue, 31 Oct 2023 07:16:24 +0200 (EET) Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id E96A11060254 for ; Tue, 31 Oct 2023 05:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1698729383; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=OZ7jhZSZBItBOk+TEwIaBJmTY/fHiqDFGDzWwO1xMpU=; b=xao6Psu5tZC7nTvHHE//9bAp6EJuVUxdLh+3PhPmlSafQJhqj/TpUd+LufLGjcd6 4cenrOnrWatrHdQCcdxYz/j6vwRFxUmxg/hB2+m4kmAuSDjhiBVuUyk5BB1FoBWblXz 1GBOo0BLQrd1Lsfv0WmX9rjhvHl9N/mkY07H+qwwzBJN0iGvtqDXSuK8kgGZ5T8YEJ+ lrPPzx7guxdi64I075toJ6mWwDRNxKXUxh1kzDQxTu4V5ejp6gGZc8BCSr57WKFFCZv +jY8op22cS9VatRaqlebrEwvAz/+6plocguQaOVXwhETpDhwFWeP52Cs3gZhdu6goAO 4g70dCZsSQ== Date: Tue, 31 Oct 2023 06:16:23 +0100 (CET) From: Lynne To: FFmpeg development discussions and patches Message-ID: In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH v5] fftools/ffplay: add hwaccel decoding 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-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: Oct 30, 2023, 18:35 by quinkblack@foxmail.com: > > On 2023/10/31 01:05, Lynne wrote: > >> Oct 30, 2023, 17:05 by quinkblack@foxmail.com: >> >>> From: Zhao Zhili >>> >>> Add vulkan renderer via libplacebo. >>> >>> Simple usage: >>> $ ffplay -hwaccel vulkan foo.mp4 >>> >>> Use cuda to vulkan map: >>> $ ffplay -hwaccel cuda foo.mp4 >>> >>> Create vulkan instance by libplacebo, and enable debug: >>> $ ffplay -hwaccel vulkan \ >>> -vulkan_params create_by_placebo=1:debug=1 foo.mp4 >>> --- >>> v5: >>> 1. add vulkan_params option. >>> 2. vulkan instance can be create by hwcontext or libplacebo. >>> >>> v4: add more optional extensions >>> v3: shared vulkan instance between libplacebo and hwcontext >>> >> You did it the other way. Instead of creating a device through libplacebo, >> just create a Vulkan device via the hwcontext, and use it for libplacebo. >> > > I have done both: > > 1. create vulkan device by hwcontext and import to placebo > > 2. create vulkan device by placebo and pass to hwcontext > > It's controlled by -vulkan_params create_by_placebo=1(0). Default is the first behavior. > > Did I miss something? > Thanks, I overlooked that. Is there a reason for having a setting, and having that as the default? _______________________________________________ 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".