From nobody Mon Jan 08 19:35:33 2024 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T846L159xz56Xbr for ; Mon, 8 Jan 2024 19:35:38 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T846L0MWHz4LS4; Mon, 8 Jan 2024 19:35:38 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704742538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nstIj5/fTQjF/YSjPw5GwIOobhuTplXtu5XwRZCdW/A=; b=W8ftUk4rthAxHXfvhKK6UQaa7O+7ZOmUyMTpuJytreD353yKjSW/tt4GrOePl71hH3xof8 g943CyHpQE1PjEE7Cupb9pkg5jiKSdbMAFy8LxhXexiNraLuCC9HnGj8zXtFJKWGHJbq0+ dFcZsnh21KOG38yKKii+zI0C0nUZQ531Qtfdxf3k9l6zZ7pzleRAyRFX8KEPiLKWOrKSM6 vwPbmJugr1ewH7DPxYd9W4N9tI4RJsX//FT4gGdjtC2CpSRtd1Q8I2MI1lOLQnJrQ6cmib ZCUlQAEPKV5gRiI3kf0SsuCKlgVR/u2VjY0i6zQMsP/Li74xyzdlIw+0U+Ngfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704742538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nstIj5/fTQjF/YSjPw5GwIOobhuTplXtu5XwRZCdW/A=; b=JFmAkTxqpruIsh/8iAFR8DvMTuhu7VZBztblxIYZpjua/49fDh5LaY0Il2O+OyloPfRBwg ADdDTdzETqBANTJVR67WxD3HmVLs8eE1OOvby31cRWoARqxdGksnPeeDgyoamcHlSPbMgY 8x6sXNFn08xy3OMFBdZHSxvbX4+gW0Zwdwf1WxN7BmxkeLQ71504xUCYBitJ+2xw+d4XY1 OanaD/M6tATPrUWCqyhU1xtzL9+7xE2RQurg+fIMo956ZiWPnjyW40JfjPc5aCnwCHubMc E9j88DvhYLAkIF8VKILPXKUIQU1c6UtA6v1VS03FNWNFZypUfdSoWP1X5HY/wQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704742538; a=rsa-sha256; cv=none; b=T93sN6FpxB5zgn4tWaIgVncEzKDzlstrYRCOHvjs3RN3TE0EwUusPOztd2OHvo7q80elfc 6ISly6y0x9VLmqYo75FM9Gagk5NfH+RxinzRSJgUQVs8ddbL4cl5GTMxlxsO7yeT0QC5bw /RSNbH8ZD4Vi5XfDHMQYE1/b6luLie5MrvmAxYbgLRQSXv4wnzkQvObQcIA5LgWbxsmG4d Heie9ft8tzOkojCFpjAqDlnUT/FYSO4PH8AugByQVNjNIb07C8We11bxvvOQgdSVWn4SF4 G+2P0gznjdplKhKcrzv5tNgVabA5Og1VemHtQrbvM5VUBO12g88DlFqMKCMaYg== Received: by freefall.freebsd.org (Postfix, from userid 1354) id ECCC569A7; Mon, 8 Jan 2024 19:35:37 +0000 (UTC) From: Jan Beich To: Mario Marietto Cc: multimedia@freebsd.org Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported In-Reply-To: (Mario Marietto's message of "Sat, 6 Jan 2024 15:50:40 +0100") References: Date: Mon, 08 Jan 2024 20:35:33 +0100 Message-ID: List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Mario Marietto writes: > I'm using FreeBSD 14.0-p3 with the latest packages and I'm trying to enable > the VAAPI H264 / HEVC encoding for obs-studio,but it says that they aren't > supported. There may be a bug somewhere ? NVIDIA doesn't support VA-API natively, and neither libva-vdpau-driver nor libva-nvidia-driver support encoding[1] (required by obs-studio). - VDPAU is a decoding-only API thus pointless for screen recording - NVENC uses CUDA thus requires nv-sglrun (from libc6-shim) on FreeBSD - Vulkan Video encoding[2] is not supported by obs-studio yet [1] https://github.com/elFarto/nvidia-vaapi-driver/issues/116 [2] https://www.khronos.org/blog/khronos-finalizes-vulkan-video-extensions-for-accelerated-h.264-and-h.265-encode > info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX > 1060 3GB/PCIe/SSE2 > info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading > language 3.30 NVIDIA via Cg compiler [...] > info: NVENC supported Maybe double-check https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264027 I don't have an NVIDIA GPU to test if it hasn't regressed since then. However, if mpv with --hwdec=nvdec (requires nv-sglrun) still works then try bisecting obs-studio updates.