From nobody Sun Dec 31 04:28:21 2023 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 4T2mMB2ggVz565hL for ; Sun, 31 Dec 2023 04:28:22 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T2mM95qWWz4Plp for ; Sun, 31 Dec 2023 04:28:21 +0000 (UTC) (envelope-from portscout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703996901; a=rsa-sha256; cv=none; b=scY9uxOZD2Oj2Q7/Glq6MEo0oQKzJwk5J1nuigFT+ik4+3bvsmS9oY1fl3DCy9DSaDRaQ1 4TKiRZhib4AvCXxzK+e5/am7o+vjpWo/pkm0tvVOOl7bdJ1ti0EgUE7fTNRBjIsQmQLyun 1HznT1uHBGBeFikvbgQhzL+FDwnIROQvHjyW48jt7Y1pKqrodjUeUVbbQQdCz9NIP/N8vk DukcfKOF9b7hbVeP73uLBKSfV65nz09cM/VB6hhOYR6nfTTPfGKbi0+HoyNzcRrzErCplI NXM+Pqh3SIrcMZzd0ZWEvNhqYMJgyyXToJ+gN/MtEi6CHnnnoF6N2cc2Vh+tpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703996901; 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; bh=q0xSX3eSrLGwStQmEkrZDDKrpVi6kMp/zeLKJpvIi5o=; b=ipEpTi84S79PPC0xxlbKSh3VmRUFoXbOIcMAbIGpOgR5b5snlz9uhjYY0enRc8RL1rCUoW hLG6n/u3RHc8QsHFwZyXtjvODqHVi4HnRwqTpUu6miPikzxCw1PM4LiI39WbUPPuWOJoS8 G0YBr9kF0nD9LeEqL4BLjkUfRCMdiNMU7RR6HxhR3KB9RWvsGbo3k98ErlOv6MqXS7tcAe tdugL82ZWRNNPTSt1GCsUx2ZbvbFW0vLCe1Y+cbTjgZXir1jFkasu6K2pqOj8uS8n2yNwM D/5hgB6HzaN101oXGnBMeCOGNjv/8LD//8P8cFHiZugXYVpYsxNu4KSVgKqwtQ== Received: from portscout.nyi.freebsd.org (portscout.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:21]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T2mM91t2Rz4X3 for ; Sun, 31 Dec 2023 04:28:21 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org ([127.0.1.10]) by portscout.nyi.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BV4SLfF056634 for ; Sun, 31 Dec 2023 04:28:21 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.nyi.freebsd.org (8.17.1/8.17.1/Submit) id 3BV4SLuH056633; Sun, 31 Dec 2023 04:28:21 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <202312310428.3BV4SLuH056633@portscout.nyi.freebsd.org> X-Authentication-Warning: portscout.nyi.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 Date: Sun, 31 Dec 2023 04:28:21 +0000 From: portscout@FreeBSD.org To: multimedia@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/multimedia@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ multimedia/ffmpeg | 6.1 | 6.1.1 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by: portscout! From nobody Sun Dec 31 21:00:59 2023 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 4T3BNX4VTcz55HbF for ; Sun, 31 Dec 2023 21:01:00 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T3BNX0975z3Yj5 for ; Sun, 31 Dec 2023 21:01:00 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704056460; a=rsa-sha256; cv=none; b=nqDL66ZDWkGPUL0QIW66GXpUiSEOt1UofbzWh/0VfABRoRiJwNVQYeAgCQUOfYIfXsQgAa vMPlhQcf8N5T8dDT9QUeEEXXoyJQfxVE3BDhFjS4v3cp0/zWDEddWEO3TWD4wwvAlQlX9Z 3BfLS+Zi5yRr+q8EgfCTLWy8xeWODdgHirB8Fx592KTNAVj7IATK1NTyao1HmgPYZ/UsGN lN7cyxLx110XwHCTu2AgkE+dUics9cf+4eknO7nAsLit+GCU4UcWp7mQqbuHs8Z5P6KfQc 48u5g1yqk+sHsWk3dA9U67Z0gGa9QCKa+0Lr3IuyPO+DmT7FYCzDYakWfRNWOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704056460; 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; bh=lktJlqC9Z15JT+S8vFq8PexST5xplK6QjjgDt7PMfs4=; b=yfcP724J0Zpl9zkY4PgmWXeinIZyIHffTWvTyNSlFlGzp7yT/cgGHc0xoXRDGL78C98fzc vF+QLxYTthETx4rU4HmZ1SVg5pYcqlkB+WKtXLcxrnAZPMort2ueGxjUu0Pdd85+VoicTN q7iyliSY1XealYM3gMvK9waTS3pcFeBd7z6V1KNtQA6pdUSp6oLNfisVkuT1iGwQDugWR3 w2Nemr5SzkGnH7ZoWr5Oe+o1lYdFUBVo4+lLg+HTUzQMmlp0MOlzgzRZya4lTnKsyJJjw4 ZwrPcnXtwCKDddYl2Vjkh8K6zaFq+RwiF05e2eHMCrQPZLSetmdXfceEf5J+FQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T3BNW6M4FzqLD for ; Sun, 31 Dec 2023 21:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BVL0xkH062339 for ; Sun, 31 Dec 2023 21:00:59 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BVL0xvT062338 for multimedia@FreeBSD.org; Sun, 31 Dec 2023 21:00:59 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202312312100.3BVL0xvT062338@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: multimedia@FreeBSD.org Subject: Problem reports for multimedia@FreeBSD.org that need special attention Date: Sun, 31 Dec 2023 21:00:59 +0000 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: multipart/alternative; boundary="17040564598.bd3Cf.56781" Content-Transfer-Encoding: 7bit --17040564598.bd3Cf.56781 Date: Sun, 31 Dec 2023 21:00:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 275057 | audio/libsndfile: CVE-2022-33065 fix not availabl Open | 252099 | multimedia/webcamd after a stop of the webcamd se Open | 270642 | www/firefox: 112.0: no sound with sndio backend Open | 225237 | www/firefox causes zombie through accessibility/s 4 problems total for which you should take action. --17040564598.bd3Cf.56781 Date: Sun, 31 Dec 2023 21:00:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
New         |    275057 | audio/libsndfile: CVE-2022-33065 fix not availabl
Open        |    252099 | multimedia/webcamd after a stop of the webcamd se
Open        |    270642 | www/firefox: 112.0: no sound with sndio backend
Open        |    225237 | www/firefox causes zombie through accessibility/s

4 problems total for which you should take action.
--17040564598.bd3Cf.56781-- From nobody Mon Jan 1 06:06:15 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 4T3QTj6JFXz563PS for ; Mon, 1 Jan 2024 06:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T3QTj4DkBz3Tsr for ; Mon, 1 Jan 2024 06:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704089177; a=rsa-sha256; cv=none; b=xypluPk0xgmsCOskKr4n5JbF/EdxmLGzX2/IK6i1e0zuwAKt0K1+v7aELZKtGCyDUVad/4 sTiqs6Yz/XullKBSVpZTXnd9lk6zt52ZMz4v1Kn9iKXPEcGzLK5om/sX56NUhKOa3SYl0x TiWnweKIEIzwIqL+EuVN/9jXybzk0GlFAJgYrpsahQ1dJKBuuamsQjLB7lQZwAWEvLZ0zL bzeN1BT0A/j/kmgPiP70k4Kw8yjrM43d6+vUr5FkvlSNN4Eqpry64GY8P/RLNzQllpgfUH QLCKQRm4KNHXWRJfCSAfYT4ux809qZiH1dXabND1rr82mH5VH+J3XbxeI/64yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704089177; 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=pWsf69sgNH5tBbr5BtQ9cpPKHIHyeOOhdWKddo8InZs=; b=wQTH/wMbEbpLaKYyPnq5zPpw6WVd2aqTG0tPeuwZguP02gFMIMRMtBFaV6eHOmaxT0fdD2 /5exnhcu9IRQE0I9r1I/We0uzYnJSDEo2ef0WGlqPkb2PU7R9yazBQYAEzNBDJjDdCO8ty QqNtPthZD0vwChpjM2+WnTPo5a17OpKd736b6uBgpmAx50TAEaOVa3ohejdIE+FJlTZvJR pOAKLy5jh7Mc5wydg0hCr4W/JaRBJRarp4WcyqCgm8UrLxvqJ3vjDZEc/aTpKBh7AXLxdj VxdagsOLn7eDyIPcIK2u2C+36mU/19iIUClWuY2fKw7fNpXcBMO8erjzo9Y7hg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T3QTh02kcz15qC for ; Mon, 1 Jan 2024 06:06:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40166Fd4020720 for ; Mon, 1 Jan 2024 06:06:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40166FR8020719 for multimedia@FreeBSD.org; Mon, 1 Jan 2024 06:06:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 267218] audio/gstreamer1-plugins-chromaprint sys/v4l2codecs/meson.build:38:2: ERROR: Unknown variable "gstcodecs_dep" Date: Mon, 01 Jan 2024 06:06:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: satyamsinghh1122@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267218 --- Comment #12 from satyamsingh --- However, some clients have been so fortunate as to have Call Girls in Karol Bagh number them on WhatsApp within 45 minutes, which is obviously not id= eal. We appreciate your appreciation for Karol Bagh https://www.ektachopra.com/= =20=20=20 women and take special care of our Karol Bagh Escorts because we know h= ow much you enjoy spending time with them. Most of them are in the service industry, and they go to great lengths to look their best for the guys they socialise with. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jan 1 20:05:23 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 4T3n5w1rcJz55Rcp for ; Mon, 1 Jan 2024 20:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T3n5w0mYrz3bvC for ; Mon, 1 Jan 2024 20:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704139524; a=rsa-sha256; cv=none; b=MYv4cuPCn2TxiL+A/ye5q+4pqaCchYL3zekfk1ZNqn/8H+TRo82xZQPC+3Om1O4MLh5qgf s5O1eq7Xz/bw2b+Zg3EX6XaMSBMjaOcKOOD8/Jk0FMB7+yQb5eQhWKnhl541CKut4rG+Yh ncMzzSR64GQPt+SE/x8KZFwcqPhNBKLHm/H6haI4kmRMhQGQQpXE+tH4qtqFnXvRFcO3vC eJdiVE0FR0C31VAQaMNzBeby1AlyGvsr0yxSMLrPDJ8UvoNHlhsy78+mGEfjOhqdBfX9jL gvPf7TBbq/frKe3zuvXUzgQBzglum2WZngNPw+qDl0ypxjW4TmG/aVkYGi+pIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704139524; 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=neA7HTgFrBLhOsGx4rXKvHpbK38htA5pmepImPnZKfI=; b=BDljqXQa31Z8VlS8xb6gF07h9H1faMj4/GYvQHw3Xvb16w69JFD0eu1VpU75eT91N4biQa CgkMEkXWUVjwuCm1agXLy8nZO0HduecZnPLb68Q9cDbsnqidFPGj/GrqUE/A+hqtrL8hHE ywaq4nKuQPEsFG2DJYZ9K9iGASLUBPO7ZKyiB10N8ClZF8/SPHCEFlXas1e+d63gM1CZw2 YU00g5rHBCohsG9WAir6ObAQ6F9SzTB2hbCwQusQzW6gCwFNNWzweXqKMTsWvF2FKEBpsM KMZXq5DEEojl6YWOLbq7263J/BwVxXgd1CpflG6v7aHQxKZChbjcfaDQAdtn5A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T3n5v6tLRzWrQ for ; Mon, 1 Jan 2024 20:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 401K5NVC043618 for ; Mon, 1 Jan 2024 20:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 401K5N67043617 for multimedia@FreeBSD.org; Mon, 1 Jan 2024 20:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 275886] multimedia/vlc: VDPAU is not working Date: Mon, 01 Jan 2024 20:05:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dmk@ncf.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275886 Dwayne MacKinnon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmk@ncf.ca --- Comment #1 from Dwayne MacKinnon --- I'm seeing the same thing with nvidia-driver-470 and vlc. I'd be happy to provide more info if somebody could guide me in how to create it. I do have poudriere set up, so rebuilding vlc should be easy if somebody can tell me = the flags to set. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jan 1 23:12:04 2024 X-Original-To: freebsd-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 4T3sFY1yRKz55psT for ; Mon, 1 Jan 2024 23:12:17 +0000 (UTC) (envelope-from mail@vyryls.com) Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [IPv6:2001:41d0:203:375::ab]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T3sFX3JM0z4ZBh for ; Mon, 1 Jan 2024 23:12:16 +0000 (UTC) (envelope-from mail@vyryls.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=vyryls.com header.s=key1 header.b=XFI+wFwV; spf=pass (mx1.freebsd.org: domain of mail@vyryls.com designates 2001:41d0:203:375::ab as permitted sender) smtp.mailfrom=mail@vyryls.com; dmarc=pass (policy=quarantine) header.from=vyryls.com 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vyryls.com; s=key1; t=1704150728; 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; bh=XeDhN376o101GBVDwSRbuiOIhRXqpJ+Zv5NISjZ4whY=; b=XFI+wFwVsffOGrjvUzPtjCjsY4KGTNI8tIHA52hXw9/EM003B05wqHBS9IlRipLMzOsMTA uINJOiZyq8yglvPGRKLuKcXPHBmKoNDp296uwbNBsWlt9o0VXyOEirdLufdbvHJnjk8eW5 tT20NbNgeV9Gm0qdvQWgKwEBZbfWMDfoK62hNdU9NphE+EOEri5Qnxcw9zy+lFAKrO3rDr U3pCbaJrLWzXzFyhcmzCbiKMjbkvlCLvrxM3KLCA/cRywomZNsVFSYfvw0zAu9ZqHCacEg mIqXGYIFByrvU9ZsFod+OZgccU4DPYgqyaiFc1S4wsXSoZfH+8OKaQxEyG8tvw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed Date: Tue, 02 Jan 2024 10:12:04 +1100 Message-Id: Subject: rubberband option for mpv X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Joel Pickett" To: X-Migadu-Flow: FLOW_OUT X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[vyryls.com,quarantine]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[vyryls.com:s=key1]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:203:375::/64:c]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[vyryls.com:+]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4T3sFX3JM0z4ZBh X-Spamd-Bar: --- Hi, Is it feasible to enable rubberband for mpv? It would make it handy for pitch correction and transposition. Best wishes, Joel From nobody Tue Jan 2 19:35:10 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 4T4NNZ5cwfz568mC for ; Tue, 2 Jan 2024 19:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4NNZ44Q7z4NK8 for ; Tue, 2 Jan 2024 19:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704224110; a=rsa-sha256; cv=none; b=J+tbkez8kFTETMK5SpSly7aMmihfZD/2cxv/RpU5SZMAQ1YJ3a2JalkQ/hPRLkyxWUjKyf XOxWQyk2LjWKRyemTlKQXZ/7EW70mW7NFNDb11YAqnIczSw11B4X4rhwNi8EzDSLN+LSfL 7RVFT750bRVG3Feyd9NXb73wIdy4CQFpyyHGwXMSkELvAUtfMqjtO6qBA6L/cnqVUe8BDz gjcl9TApKzyg8+0anAAW+JvAyv5mY8bocGihnxKRIh1x2dwfJIZY17SFW49yLhPWVMDGeO CTGjY/NFiaUF/w7MYMFacb5s5//acG2OOFbNpl5UVyizpaGxmZBcya5GyUPlTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704224110; 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=Vl7Bo2dEULK+gxfJ9g6fFvAhkjETXDheSdiiRZZcB8k=; b=LI2tUzvf3nGmisD59wPOq24IxD+3KTc3iTDwpB2ZC5dU0+Fo8Mg05F8njnL2B0//P9aUK4 uRVDlpzzQySQj01Vj7uGlrk/oAyC1u6z4O31J8PquO8lc/jslWHcuMY1E9PWBa2M4rgKLt T8iIBp6KZvWdPGUDmgRCJvzou7ymSXrgSonmfAc6kKzuHd/HodpseZrb6k8CDDG7L8e01B q62K/MHCes++mOyVsB5K9CaBjuyGcotRVykLgiRnvr74PqmfJlTqN6uv59zF7Ebtdk6sxk eOR1zwPIWfT2UroqzPgbjNzz50yLjnERmU+IJZTF+XQHIeV0Og4YrG6Tcpwm9A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4NNZ37nCz1Cg3 for ; Tue, 2 Jan 2024 19:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 402JZAB5093738 for ; Tue, 2 Jan 2024 19:35:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 402JZApf093736 for multimedia@FreeBSD.org; Tue, 2 Jan 2024 19:35:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 275993] LCD brightness become 100% when AC is unplugged when i915kms.ko is loaded. Date: Tue, 02 Jan 2024 19:35:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: inoue.takashi@nihon-u.ac.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275993 --- Comment #1 from Taka --- I confirmed this issue on one more system. It occurs on also an old ThinkPad X230 with Ivy Bridge CPU. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Jan 2 19:43:00 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 4T4NYd2K3nz569S2 for ; Tue, 2 Jan 2024 19:43:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4NYd03WCz4P8f for ; Tue, 2 Jan 2024 19:43:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704224581; a=rsa-sha256; cv=none; b=TdtfrZcZQXm8SFL2f9wIlL0bHZwewKqDinodyeSDMI9tgmNcsakJ8YBxBZCB0APpJPKgC3 vKUgqFK+Bh9l91LUmgZ8Ac7whdvVXqYojXtytFArBw//2zionQpfFdGnQCSxee7W6Lz49P 3ksTQixj8J7/vmpu/SSDXjU5Bl+Wfs64iEKea4M15/+dVtMDhWBoa7+jemiz0N1fq6ZcDP 5sNTw8gn8FRJcug1EezaJSrccdSSRt+Xumpinsu7GOXg1ZX0gdcuXzxR+FGOQWe1FsZRXg GeyaG2JChqrqhY2MNv9kUArSarZcBmbNaKgEDSHL9KUg0sSfpARNQshTL0aPiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704224581; 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=M1gtmvSoS9WZCAy18B0gN0LofE18bDnot8WrTG5jsy0=; b=Wu9TP8TNgeIzQhNNH97mML9gpRPbHPPD6MazlSRg3Orv2tMNFbUXYmsXVPIVanvxz+8yTi 5QyqBsHE2CVQ/nq5RVU85z/K/rBhuv1vCmPc/nEajg7ChiAQaM6QgyZzf6jsUEAmptMgwU 07ZhVrT9hcCdAgz7lvSwhXEhy1Skg3AoM6de6beLdC1SNzKfvwlwqthm2aRrDd6UQV251I Hcxes1zOMleh1vFHC9XbW7UJjvXNshAgwNx4ddJGkGgQYDjRB9wPlVHP8AcfXoR0w/icdx SpgDfnYYBqWF3tKBHRRxMPKVjRiLq/atAkouz1Ief87Y3WJG6mqgrDBVe30YHw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4NYc6Fxhz1DDt for ; Tue, 2 Jan 2024 19:43:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 402Jh0wF008509 for ; Tue, 2 Jan 2024 19:43:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 402Jh0kW008508 for multimedia@FreeBSD.org; Tue, 2 Jan 2024 19:43:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 275993] LCD brightness become 100% when AC is unplugged when i915kms.ko is loaded. Date: Tue, 02 Jan 2024 19:43:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275993 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Assignee|multimedia@FreeBSD.org |x11@FreeBSD.org --- Comment #2 from Li-Wen Hsu --- Over to the owner of drm-kmod maintainer. My Kaby Lake laptop also had this issue, but I just found that it doesn't h= ave it anymore. I'm currently on 15.0-CURRENT main-n266777-c2ed7a63604f and drm-515-kmod-5.15.118_2 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Jan 2 21:37:08 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 4T4R5K0JF7z55srv for ; Tue, 2 Jan 2024 21:37:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4R5J5nnWz3DvW for ; Tue, 2 Jan 2024 21:37:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704231428; a=rsa-sha256; cv=none; b=Sj+62c8Dh2YjAfjrd5J0zrmzU3x3ZfaSASDNsnFXFaGKGgkJtQn/ol9V3gJTb0Cugv6U2L 6grwzM9gwFDFJ+BsGOtRJxGPbtuFk1r3Tr0KO4JsTEpoVDF312MeQe9mKWJ1vi+a2jaLlf ji8l/dfYzVkletrGNTyQKNoeGp+T15fHOG1mMst4NIsY7caf8o5hjV0j6FmyTK8qtnLAqc nbv0FPqY0djmVGmJ2aXpyw8IpYyyqv6TdXzqQ5l1CIawtWwMnll26iF8XXq489nxivjuYx gHu9M9Pucmpf9+LcWzg3BL2Q8QNMxDmx8JALRdk/7geZpSIQdJg2igorZBetmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704231428; 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=iqjc1d+PtbLWLhqyqu81wvYAkidKQBnsGYH1kRA5cbA=; b=n7QICoCGwxlTLqOiBiDgyqfjMelgxyHxTysBS+njCC4fpo22fRJKcObPyxQofsbQOs/PVH x0ZsLkdYGYwqsf6TUQBdl9ktDJTDppSEOztwpS2r8w9yiFL29ClRJxnA66SEBgVowagZYh 3EYBZbIy21tP0XJK7o4bb8ix9Qtuff/LHUSd6tb3/kRALoa6S3xZ/gzMApOIlB5s/McFtH VDNnRfdqFTnk3uAU+r8YCLiL7QZqjXtgGiLAk4J5IDIXpngoNYcLcJDxavpAu71HnyeUM9 hk0RqJL5g6gCpgf84pIArXZYY5uH7pFwlMerW2IOb8u/yCJ7POsZqJ6RHUoIWw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4R5J4tRQz1H5c for ; Tue, 2 Jan 2024 21:37:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 402Lb8iG090222 for ; Tue, 2 Jan 2024 21:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 402Lb8jv090221 for multimedia@FreeBSD.org; Tue, 2 Jan 2024 21:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 275615] multimedia/ffmpeg: compilation failure in libavcodec/librsvgdec.c Date: Tue, 02 Jan 2024 21:37:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: philippe.michel7@free.fr X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275615 Philippe Michel changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|New |Closed --- Comment #3 from Philippe Michel --- When I created the PR librsvg2 was still at an earlier version than 2.52, b= ut by now the issue is indeed no longer relevant for FreeBSD (and for stock ff= mpeg or other distributions there is the trac ticket at ffmpeg.org) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jan 3 05:48:37 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 4T4f0Q3PMKz54kSk for ; Wed, 3 Jan 2024 05:48:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4f0P6yhkz3tc2 for ; Wed, 3 Jan 2024 05:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704260918; 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=D1x0pXcPsDNOaCUERDlBi02pkqejpFOnSGc+gf44eBA=; b=SyDGyVXHx8pe27J93al42simdzVoUDnp6NgIEKRMxbDZRXoS/qgLcKdgU104ZsbDGgpsgi qRvBMzpJCPz1rtp/58f5ndkq9O8qK3uV4HNlO8Bv+TV9/J2CW76adlTM/rISbro4MyszR/ diDvzYvy8FzLxUmeZrJUiSMR8PM9DaWUePQ0+U8q0Cocymk+eTMj6uzptrN9l52mXZhYmW ZR3c7IS6uZE7U/TfD2IP3LZX065c1oIU0f/C4AD273ikcaeTX9zZTaNSaI+TmGWdCxWd3v z3CDpBfKKRqtq+BmDBvL8ZJqb5i47p0lY6JANyIYaiPtYZ67JIl8p1jOr3fmTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704260918; a=rsa-sha256; cv=none; b=LOVtkZ6vRzdwKmN9ohLThPv6jvN/A09a9H5BWAxOrw3mb8k3ZQZkTU2mDWBHbJy1AiNVzZ nqOVXm9WXxHOdQJYeqych2JClmMJh5J7lsbDFUWPe68kmV8+vtfIwPjU/xsMJSwsvTjdC2 G2WuOF4rqMirhBD47m/maOgIi2vnOSVIXRnyssR/59+EL/wZwGCVnjFGewP+VgoTAWfqnj 52NSdtlvokqUpaeHTQcqxMh7PHyhj+4vpSsKmf6s2OXVGkyL5BXfy3Yuvz3qaNE570+2c6 1Bo2bHZhWrumjDskZh1QeMk8nFaD9eQpF6FOQNf/BjvRQxjLBi2t1To38ZoCCg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4f0P5wm3zYCD for ; Wed, 3 Jan 2024 05:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4035mbqF033087 for ; Wed, 3 Jan 2024 05:48:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4035mbpt033086 for multimedia@FreeBSD.org; Wed, 3 Jan 2024 05:48:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 253900] Lenovo X1 Carbon 7th Generation requires quirk for proper sound Date: Wed, 03 Jan 2024 05:48:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: inoue.takashi@nihon-u.ac.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253900 --- Comment #5 from Taka --- 14.0R still has this issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jan 5 15:58:38 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 4T67RL5xSqz55Bl7 for ; Fri, 5 Jan 2024 15:58:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T67RL4c5Qz4vML for ; Fri, 5 Jan 2024 15:58:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704470318; 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=SJDE+janidAn6QcDNz6vMu57DT3ZxaYvao8CtCdXxxA=; b=Np3Aw82uF9J4+cEbJDulSjmY60r9abxcLOeHaolMcC9xOnRogFN6F+7moXV3iGwtDrMd0r 1IwU3Bz8u8XI6Q9sYtbydzhvA/YKIyE82kkhty2PxCGeM5lB+XUDkXQI/n6bH6VceR0r2j 9nuz0C85oOyEaRIncL7oaTbj8lPKK11DzCComLJFxYiJ5owIr2sdACfhBWF0osv42ph3/d tTaBUOqKVbmV+jqBhs3okKs4RboruC9Fj1hA8YpzeOul7mWrLZCWjZbllF8ycTTGe8GBPA qR7YV1klqeRzfJ8bJeDG+/+55z8ngFkO9fomPavA8wQCIhOK5eBsSXdzyr+3Aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704470318; a=rsa-sha256; cv=none; b=RsBmYgr633RdKHQp8dexKC+flniVQUUB5FUlvmdpq3cdUc4zC/rAkzfCbWQRYNIOmEheqm /2BL+4305K8DB0xhjMYamXuYMbOXOk+ptbJScJzGdnVW8f6qS25LllscflDCCtf9UHbHMd lpMaQZIFXkcQc9dvlcEIoXOIrzwZX8vwJTnkS60OZDZtfGV0vGDT92LgBDp1pvqaPZ0sTR VNN8FW5RJ4Ipodpcbqj1ZBxdiYCaa6FeGL0UxoeGMws+tPpWXcoMzi+UrYHX3HoC67Gydx N5nU/Fg8RbYovzTqlIEONo7/fZkXaW1Sh26HRmULu5tFpVFWQK8CFv3ZmWIOlA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T67RL3hRnz13b4 for ; Fri, 5 Jan 2024 15:58:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 405Fwcn9036410 for ; Fri, 5 Jan 2024 15:58:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 405Fwcni036409 for multimedia@FreeBSD.org; Fri, 5 Jan 2024 15:58:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 275886] multimedia/vlc: VDPAU is not working Date: Fri, 05 Jan 2024 15:58:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: snakedoctr@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275886 Snake Doc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |snakedoctr@gmail.com --- Comment #2 from Snake Doc --- Same thing here with nvidia-driver-470 and vlc-3.0.20. I had to disable VD= PAU in VLC for it not to segfault (not ideal, but it'll work until this is resolved). --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jan 5 16:45:37 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 4T68TZ0qBWz55JGK for ; Fri, 5 Jan 2024 16:45:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T68TY42tXz50KR for ; Fri, 5 Jan 2024 16:45:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704473137; 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=SLXlu5EhZvzPmt7ayYbfs6tgjzBDVCVzMhlNw2I9jgQ=; b=KCcPFc0gNZgD8QDts+S9MYDyv25JqqoIsG2He8GObo8ZHxz9YelG0B//licEbbv2TyBmVZ UqnlTbR8jZaREyydI1mRHVTih2dawElE1UktD03NH9bjRU7RtyUMWlWwcDP4Q/xog/qHEW QaJm+/QIaIgBTm955y47kpR7bGpoqA5J3HbyhWSApV8NofEVi3WmSQqHzOSqh33QXvbihP uVUXi42wqckszNfceZF9ZlYG9NJaffe7050aSAnhob73Zqa+r4lVOiH+eZI5HZSqHcP6F3 V7B7wvqh7MZkda5wI7n4AfsEIoKEhGcYzF7ZcBvoVybOJAYhzi9JmnT9xFwCgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704473137; a=rsa-sha256; cv=none; b=qRXuh1UwFLpmSH5uO0NvUN+3za9d6v1BhzKxZ1mlpZxrY8n3s0szna7smHWflZHHYETd48 D3W1LOcRYYEaiK+PLL/OnPK0Jh33+8WQJ7MKqHiOz+qKqr8XI5750NBdfe9q9XSzbPic23 DNATZxvC41ItU4XncoxYdpDosRocGNJ4IA9vV8bCZzYnOPH6RBpeEqRHcwst8bGtR6k1uM N6gU+bjtcqxicNwlPuOeJV5cQnSqGQ+/3yPM/7XUjVoil/updX+WTyMVxaxSkIRrXcO0HR mB+zqR8+tJ/nmB4b/Qzo3qk0S6A2rkwGXbaVhhdHCw9SgpHqXCciinNEEEodsQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T68TY369Xz15NH for ; Fri, 5 Jan 2024 16:45:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 405GjbB4013110 for ; Fri, 5 Jan 2024 16:45:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 405GjbGw013109 for multimedia@FreeBSD.org; Fri, 5 Jan 2024 16:45:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 275886] multimedia/vlc: VDPAU is not working Date: Fri, 05 Jan 2024 16:45:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275886 mario felicioni changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marietto2008@gmail.com --- Comment #3 from mario felicioni --- According with this post : https://forums.freebsd.org/threads/vcl-bug-it-crashes-when-i-open-a-video-u= sing-vdpau-video-decoder.91484/#post-636313 it seems that jmos said that this nvidia-driver port update : https://www.freshports.org/x11/nvidia-driver/ solved the VLC problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 6 00:40:26 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 4T6M1R19xxz56ZH6 for ; Sat, 6 Jan 2024 00:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6M1R06xZz4rTg for ; Sat, 6 Jan 2024 00:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704501627; 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=YqRss6U41Q3lVMD3M16WCyisufOwgjnQ9TOKpMBjrdg=; b=g4k/vSxik2clC/agYePzNtxySuCaBJXpmcX3K2+XRhibuY29+a0TMY1nJ7htC83fL/0Ar5 BqY1jqTECTW0c2p/Jm7VytLRQUBvbRDONAUDD+v0zBg9QxWRRcmBZW9XUJbL8oj8ufVE28 rUi7sEOBgfUaAPetBsU03DCkq7yoVC1kRERaSmNL2uxbeDxIbH/e0ZoDqk7FnZAYsprpV9 jZSC71Yg7VFsQFFOlyeXuocuGQ9j6tvt76h6i0MvvGsvCiLEsibsH43WFbQ+J+oA+O61X/ Kfh3kjsyt4JrTBTvqTFjTbdJFuiIlx3gQ2LYx2h7Iqae3qp1+3I7twsQm3nKtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704501627; a=rsa-sha256; cv=none; b=pDDud9inLebP0s69P3Hflv5p3WyO0DR03KGqWcvP00s7Y0/bVqu4FpRNc9s7SYj3pbv+UH 5VkmGhHBEdl/3dLW2Z8W37uzGthygMwkLo3V3T7wdU2gsCK5Hcndd7o6v9i+cDk6LsmMX5 1wWEE1mBKpNGT+rWaEm1Kd69BP5OMHXnjdj4J8S4VLJ5XaFwosIwPp/g3q2Ch2VmeAFOl+ /rwUGW81rad8yM9tLISkwyGeL0QFWz8WFy875M5MoBaThqLSCHedCE0psNV/2LKApdbI4I Sn8VsrGA+lWV9R+wsRKzLVR0Qb4g3m8Bv1eWQ7RlDUcw9d5lLoDhNdyfAj0Zcg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T6M1Q62N6zK2j for ; Sat, 6 Jan 2024 00:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4060eQJ2034882 for ; Sat, 6 Jan 2024 00:40:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4060eQ2t034881 for multimedia@FreeBSD.org; Sat, 6 Jan 2024 00:40:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 275886] multimedia/vlc: VDPAU is not working Date: Sat, 06 Jan 2024 00:40:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275886 --- Comment #4 from mario felicioni --- VLC with the nvidia driver 535.146.02 gives the errors below (it works worse than the previous driver,vers. 535.104.05) : VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b) [0000000800c66960] main interface error: no suitable interface module [0000000800c5a060] main libvlc error: interface "pause_click,none" initialization failed [0000000800c5a060] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc withou t interface. [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c01560] main vout display error: Failed to create video converter [0000000818c01560] main vout display error: Failed to adapt decoder format = to display [00000008154ac060] main video output error: video output creation failed [0000000815066760] main decoder error: failed to create video output [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to add filter 'pause_cli= ck' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to add filter 'pause_cli= ck' --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 6 11:39:50 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 4T6dfG5sqkz56Kn9 for ; Sat, 6 Jan 2024 11:39:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6dfG2zpYz43Wn for ; Sat, 6 Jan 2024 11:39:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704541190; 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=gpEL3F/M4vwGGOqgxbhw3lheUgKSIUV8Q60IQ1KQj58=; b=kAXuO+AroC8rnfA4X1vZGK0fFwcM41Wgw5Nta81f7mTaiyCgWha5sxFIqYLwzGh6D2RaQM WitPM0/4p5BIeZWfaPBcAysugqpcT+9VcQXVONIG7VCphSUHudUECUShPGtAIpMFZR4UQ4 DwS9j3/T9csio6QUkpssI/7OnQUwJtPbApV7LCHFai0fz3ggyeiM2YONB24Uz/NBv60ceZ NkGxIMwgFoiunysgqKqUmWAtNwVEfOzZ7vY1WJOz3rnVacasEfFz3QqA/eHntUVwIvO156 L2IUiEbyocYEmI3EBWtKHJSa2xFnGpbhR5BTJltmxyjZO5f2DC1xmIzxCeIPig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704541190; a=rsa-sha256; cv=none; b=YJpqU0kSK2kl/zt6FnRN6YktE0LBw9DoHLssIyKI65CRd1N2TlwYLSzYAKkjVP3Wu35h6b YlnPuMA7pwjkByozm2MK/P4+Oyl1YsLiv+RIvXV1awHfrpBrejWm0Z0q6baSNpp21OkdPK 2SvSZeLNDiGWQQ0H3gPaS6XbVYGUoCTt3vgCJaehkJiFwm4YyL4jifv8n1R29Y0nJgxRKu J1sc7Rdu2yNJffaQNhzKlzKqWMQQLpqa7dJReO9gQDARfaT8heOWwhr37USpIzqYUUC668 E4z1oyDJo2qkWiWJgaRgJdKBdlJV2rW2Mswh0tmSMCsxmqKAyzUAZYiuoIXwQQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T6dfG23ymzfp9 for ; Sat, 6 Jan 2024 11:39:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 406BdoSC048891 for ; Sat, 6 Jan 2024 11:39:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 406Bdos3048890 for multimedia@FreeBSD.org; Sat, 6 Jan 2024 11:39:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: maintainer-feedback requested: [Bug 276143] multimedia/gpac-libgpac: fix build with clang 18 Date: Sat, 06 Jan 2024 11:39:50 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 Bugzilla Automation has asked freebsd-multimedia (Nobody) for maintainer-feedback: Bug 276143: multimedia/gpac-libgpac: fix build with clang 18 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276143 --- Description --- Clang 18 no longer accepts -export-dynamic, which is a linker option, resulting in an error building multimedia/gpac-libgpac: cc: error: unknown argument: '-export-dynamic' Fix this by using the correct spelling, -Wl,--export-dynamic. From nobody Sat Jan 6 11:39:50 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 4T6dfG5zcDz56Ktb for ; Sat, 6 Jan 2024 11:39:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6dfG4z75z43Wq for ; Sat, 6 Jan 2024 11:39:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704541190; 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; bh=xcNoShXA3Kjeys4dVnHCEet7LuodPDt46ebewyg1YWw=; b=f9cCPdAzRDqSRZ0rniRrZ+KAEH2SwwDHb6UzLUaf3t2S7qhS6Z84txHTYX9UZQgroXVDzE wI+oLZcNffJN164Zb+m6jlwLzSayVWJ9fKa4hQQlQgWRaj85014fJ6r4vS9G8pgckjmw3q hW2qW4DsF2Ki9BcsDCIbMsr7k7dortdDy7JTnaAL97lwjLAujwOZY+Mapm64rRJnZNs1gY gR1TOEfXAeoQgtMwmSm3uHdcFy4LLdeMWvZ4PfYc74kunjLkfyFa/g3tnbWEJXXPp6XOgn HPl/7t7ENQoXi5Lv5U6jQmp78EwNK1wnhkL5cdzSykdbsNyRwCMB133TVw7LCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704541190; a=rsa-sha256; cv=none; b=sTaxuO+tI+EzvnLmsUZ5oBNreYkf2vvsAzPrJcHGNCqRy6ym0AilFBqnAUVizGezQYECvs nE5A+H5OeqAOvMNgRwnAnI7u5y9h6McI+cDuhS18VJMbcEi7PFacuwGgL0pULESCpq8hXl DKpGtx7d/WxiM6m4BYiiBHcu5QH/kuCaobFk699/32YY83qLd2w55GgyJufWH25Ra4Ph9a vyZ1R+aLahrW+dikTT1UDmQcEiCpSP/IDQum3N3sbxqUfxstMA6vJbTgg0jaVOd/kC5pz6 EipCm5sTFHpzcFSZJuM3APJj02AAcAT6i6+WD9sZtGjKSpGzXWsacFPAyNGHmA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T6dfG434vzfwm for ; Sat, 6 Jan 2024 11:39:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 406BdoAH048899 for ; Sat, 6 Jan 2024 11:39:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 406BdoRU048898 for multimedia@FreeBSD.org; Sat, 6 Jan 2024 11:39:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 276143] multimedia/gpac-libgpac: fix build with clang 18 Date: Sat, 06 Jan 2024 11:39:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276143 Bug ID: 276143 Summary: multimedia/gpac-libgpac: fix build with clang 18 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: multimedia@FreeBSD.org Flags: maintainer-feedback?(multimedia@FreeBSD.org) Clang 18 no longer accepts -export-dynamic, which is a linker option, resulting in an error building multimedia/gpac-libgpac: cc: error: unknown argument: '-export-dynamic' Fix this by using the correct spelling, -Wl,--export-dynamic. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 6 11:39:31 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 4T6dfg136yz56Ktq for ; Sat, 6 Jan 2024 11:40:11 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6dfd6Szxz43tW for ; Sat, 6 Jan 2024 11:40:09 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=fSLHCePe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::635 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a28a6cef709so33819366b.1 for ; Sat, 06 Jan 2024 03:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704541207; x=1705146007; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Mf4q1cfSauNxDTr+YR1MVpg8I0k4q9i+Y+PBgC0YmiU=; b=fSLHCePe20FhuOmdOjFYh7RSxTSrCe1haucKnTmrocIYF+zqxuwBzKRTYtwZ59Mg+I RnmaoNeSdMAM7rByzjoDTcIGVZOCz6YHqLDFQz5Jg4enndT74sWjTgrtV7R7LHNYg7b0 PXGp8Ub+WuTNcw6BRfPQXCECSXSKUfU6qomD2TUClWeNFcC4/PRr/UvyQ4PJlivTm+cx 3IpGrnRcvYoRgNGXt93QBRESJh/tEpEWS/qpJC83WVXuKTIOdxXGj0gX/Tt9LcAxTKIP 6Hw7jgOwgLszTGT2QSnphkQO9r+10qRa9Ejmz2q17FgmyJ4cAWSvx3RPh+qR96HJXg5l tfWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704541207; x=1705146007; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Mf4q1cfSauNxDTr+YR1MVpg8I0k4q9i+Y+PBgC0YmiU=; b=sqHgk1dnk8Gqz8kq+/abaitvDlRFsyDUG8+OJNBEANNpQ2K3xpBUFHUGiaVwVqGPIY B0n+q9k65WNaFiIWXVZF68W5DfnCsUUlhbwzAk1jGlXf1Nb1zEhuUyS28i10gg++E1PH kL50bdcOouaf5o1xmteCYWC79A9C9Iti/S3+BVTr+dutW73bFBuYP/UkrceVFo5uJceV 4rrTTrPPN0Q5S6gW7GPA4/L77hDAFfpUMONiPC6e6serdxqqhcTLmnT/+kalCvblObPN d66K4Xgu0rs9Xi/Rwr3XnL5H+Iqg9YLjMRaaPzY4Ck+So9M0W0HIQjE6a5vyCmyuMcfi mT+w== X-Gm-Message-State: AOJu0Yx0jRMh7Y6JHlJMhGFbxfZMK3DquhLIflF2wpI8sA3Ex8L/2nWX 14FMo6rxIjJLrK5v3sKNRb4cTmENJT+xYiDIq/3HzOr3OPQCJQ== X-Google-Smtp-Source: AGHT+IEJ9cxU8Sl0XWe61UABaUxSw19DYayKsPhoTxc+eERJS5NRcU/jupWpKL+o4YSae9+ltLgU8HB6giLq4+y16W0= X-Received: by 2002:a17:906:9d0b:b0:a28:fe29:c27f with SMTP id fn11-20020a1709069d0b00b00a28fe29c27fmr270279ejc.104.1704541207351; Sat, 06 Jan 2024 03:40:07 -0800 (PST) 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 From: Mario Marietto Date: Sat, 6 Jan 2024 12:39:31 +0100 Message-ID: Subject: VLC with VDPAU enabled = chain filter error: Too high level of recursion ; main filter error: Failed to create video converter... To: multimedia@freebsd.org Content-Type: multipart/alternative; boundary="0000000000002b583f060e456d57" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[multimedia@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[multimedia@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::635:from] X-Rspamd-Queue-Id: 4T6dfd6Szxz43tW --0000000000002b583f060e456d57 Content-Type: text/plain; charset="UTF-8" Hello. Due to this bug in VLC : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275886 On my FreeBSD 14.0 p3 I removed the nvidia driver previously installed from the packages (it was version 535.104.05),by using this command : # pkg remove nvidia-driver and then I have compiled the new version located on the ports,so : # cd /usr/ports/x11/nvidia-driver # make # make install but now I get the following error when I run VLC with VDPAU enabled : VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b) [0000000800c66960] main interface error: no suitable interface module [0000000800c5a060] main libvlc error: interface "pause_click,none" initialization failed [0000000800c5a060] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc withou t interface. [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c969e0] chain filter error: Too high level of recursion (3) [0000000818c96660] main filter error: Failed to create video converter [0000000818c962e0] main filter error: Failed to create video converter [0000000818c01560] main vout display error: Failed to create video converter [0000000818c01560] main vout display error: Failed to adapt decoder format to display [00000008154ac060] main video output error: video output creation failed [0000000815066760] main decoder error: failed to create video output [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to add filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c98960] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c985e0] chain filter error: Too high level of recursion (3) [0000000818c98260] main filter error: Failed to create video converter [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [0000000818c97ee0] main filter error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to create video filter 'pause_click' [00000008154ac060] main video output error: Failed to add filter 'pause_click'xpand All Comments - Show CC Changes -- Mario. --0000000000002b583f060e456d57 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello.

Due to this bug in VLC :


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275= 886


On my FreeBSD 14.0 p3 I removed the nvidia dr= iver previously installed from the packages (it was version 535.104.05),by = using this command :


=
# pkg remove nvidia-driver


and then I have compiled the new version lo= cated on the ports,so :


<= /p>

# cd /usr/ports/x11/nvidia-driver
# make
# make install


but now I get the following error when I ru= n VLC with VDPAU enabled :


=
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[0000000800c66960] main interface error: no suitable interface module
[0000000800c5a060] main libvlc error: interface "pause_click,none"=
; initialization failed
[0000000800c5a060] main libvlc: Running vlc with the default interface. Use=
 'cvlc' to use vlc withou
t interface.
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c962e0] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c962e0] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c962e0] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c962e0] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c962e0] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c962e0] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c969e0] chain filter error: Too high level of recursion (3)
[0000000818c96660] main filter error: Failed to create video converter
[0000000818c962e0] main filter error: Failed to create video converter
[0000000818c01560] main vout display error: Failed to create video converte=
r
[0000000818c01560] main vout display error: Failed to adapt decoder format =
to display
[00000008154ac060] main video output error: video output creation failed
[0000000815066760] main decoder error: failed to create video output
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c98960] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c98960] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c985e0] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c985e0] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c98960] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c98960] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[00000008154ac060] main video output error: Failed to create video filter &=
#39;pause_click'
[00000008154ac060] main video output error: Failed to add filter 'pause=
_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c985e0] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c985e0] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c98960] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c98960] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c985e0] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c985e0] chain filter error: Too high level of recursion (3)
[0000000818c98260] main filter error: Failed to create video converter
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[0000000818c97ee0] main filter error: Failed to create video filter 'pa=
use_click'
[00000008154ac060] main video output error: Failed to create video filter &=
#39;pause_click'
[00000008154ac060] main video output error: Failed to add filter 'pause=
_click'xpand All Comments

--
Mario.
--0000000000002b583f060e456d57-- From nobody Sat Jan 6 11:40:51 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 4T6dgR21Bhz56KnJ for ; Sat, 6 Jan 2024 11:40:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6dgR0DM7z449K for ; Sat, 6 Jan 2024 11:40:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704541251; 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=mc1BS+UVwvryizpJ3HqUV40rMQIkj9CoT3jV50z4VLA=; b=O+tp9d3pFZYdpeKdEL19hHbhyBwODCHgUPxNsUXMQclzfGxj7OIXZuq/chvL8K76DPg5HE fezdcYB7oUH7LBNzdBUeZtgEJA97cjTR3VJrEhA0daSXnv4qhjqD1X5GzXFcnXYU+zGtxe zynylx9bAecd8llCpvaTmD7ibFEBZJky3pX5fK42vuIHHBFaHZBMLQdmN9NzCvUwlT7AXF ly2NmLVEn8h63ZjEnIjeuuzOXt3mHNgoRrgKDvfJGyitOqzDzxeTk/B//2HGeadr2l0DiI vx3FjlH03c/1YXt5/qUllQmurgH8XOz95aZFLPi26s/3XEYYUfjttAX3XJycMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704541251; a=rsa-sha256; cv=none; b=lPlz7eI+oGnX623fLhHQiqmrn4cYlyeTGN35enX0fkrl8MW70zVpb+GDxwlHI71MR66Vja n0dOJfBuaIBQjq00lBAru/1BDRILsp9EuOnxO0EZBTmBjKYLKZ8xqM1AzkcSOBvEKmapDb JdQSTzJss3fTWJYsQxWnTD0Ldoi2duX9z1tFiS57ONfdkjLjXiolEHoEa8psGfiL3RhMmC +lSEuz/v9HrDkAuMhwpLf1D1fD/tUCzDrvIw+PWZtEXbYxJ4I4t2/NETo56WPhL0sXpAJ/ DHl7L0XkDboMEWFItkahOu4U9AYkKDNyWN36NS+ZdJ+gehZnu8RQKjHBg0G7pA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T6dgQ6P4PzfpR for ; Sat, 6 Jan 2024 11:40:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 406BeoN7050370 for ; Sat, 6 Jan 2024 11:40:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 406Beo42050369 for multimedia@FreeBSD.org; Sat, 6 Jan 2024 11:40:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 276143] multimedia/gpac-libgpac: fix build with clang 18 Date: Sat, 06 Jan 2024 11:40:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276143 --- Comment #1 from Dimitry Andric --- Created attachment 247478 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247478&action= =3Dedit multimedia/gpac-libgpac: fix build with clang 18 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 6 11:41:12 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 4T6dgs1rC8z56KnM for ; Sat, 6 Jan 2024 11:41:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6dgr73Ksz44W7 for ; Sat, 6 Jan 2024 11:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704541273; 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=RYDZwijKfhf8c81fkfidGIJtbuNsfzvWu6S1H38qQ+Y=; b=II7OnXqqbY0c/AcL9+6ORhAwQIBGUg8aAuUVCWcIA3fD4fbdHFnXBtTgHvu6fKrBisBbxr anhFfnrglNTJ7etRy06iAY47lCSfLbXhLTcL7TyorUKE1TJ91WsqYB7F9gnKAjfuegBo/O ttHzeaGKvg4ZlE5UGsTT+PPu40V4ulcTgSe59V1kTxDqA9txD4VoeSLksYu/2daSLxixDq i9H1z6L1taPubshe2GyRK+qTsQwMFzkaa/Ruh9WHyiW/F0ZMfP2yGfT81U0qph0F95ymon xlHZmF50vjGPFvucer0jqyaMUISLFKOXZkIYley5Tlane2Z/9eDpkPkbADEDKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704541273; a=rsa-sha256; cv=none; b=IUNb9kiUEJHEG6AX22SIfOCea7+ZnNFlwUSUQUb3ubf8G2P4XEayeHNVXl4teCV4TfDH5l AzUSHY3o/yZB0ki24JcEndjBTpAaz3qRjk2n+XkD5d0ycrAuPr9D3SxQykGdlPUSrWt3S7 lEweWzR0a0TUzL6gua9vlty/mmEjISQBzz6LOjQxtuUpyyAqSnmHwLL/TcCxpL1KVyTgCh ebpa3qhZ/LkCn4CJg/wEGdGitgpy9OVqJc0ESQkGpsA15uLSCNmelEaajoaKuMF1BfvjBF W7ZU2bmJfJjPe3dwby1O7WVlsBCYn3azAaHbEqrB7jC/grx9+YdDaZULn8LTbg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T6dgr692nzfQW for ; Sat, 6 Jan 2024 11:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 406BfCDf053436 for ; Sat, 6 Jan 2024 11:41:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 406BfCDK053435 for multimedia@FreeBSD.org; Sat, 6 Jan 2024 11:41:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 276143] multimedia/gpac-libgpac: fix build with clang 18 Date: Sat, 06 Jan 2024 11:41:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276143 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |276104 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276104 [Bug 276104] [exp-run] Against llvm-18-update branch on GitHub --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 6 14:50:40 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 4T6jvD0Sg7z56Tf9 for ; Sat, 6 Jan 2024 14:51:20 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6jvC1NZJz4PgD for ; Sat, 6 Jan 2024 14:51:19 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ByjAiknQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::62a as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a28da6285c1so89916866b.0 for ; Sat, 06 Jan 2024 06:51:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704552677; x=1705157477; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=7dO3bPWBrAuKcHJK9Q7uNphI43rW2Sp8ZtWWcKUDzXc=; b=ByjAiknQ/U3a9GncKFuqxCWyCC69wFsFSax1Zi7lo34kx4j9Eykr9aMaTF93H/lXJ9 ztTTnyIIEgJr9tL2zDWFcq3yJv2vaAdJaTfQ3DgbsMA3eGbNgK/6UGxZW86o7A+FLZeE 0+H0v9baOD+dGVBojafH3ra2MUQ6sfI6EX3RsqjjHuiadhCJfnCS+sorHJVebtDTH3Ar Qin2qApb5lKGpXz+OXzIbCbFWkMX/oXh0GGczitf+1RgHVrXzplcunyJ0g1dq2q2VCpr GHeE6evc4VJxkcu1dF9nccGNuFZOTO6k03OCg4XlNS3ZCbVAAwu2K5i6mDRTj3dC1lb6 VmFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704552677; x=1705157477; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7dO3bPWBrAuKcHJK9Q7uNphI43rW2Sp8ZtWWcKUDzXc=; b=xBRevvnQq9eZXxrV60iJSm2qMhjws71UB8Zka/oSMQt93xoJ+h+6BEEjbn/COJnlmW 48P4a3/iRAph9v/5NtI8qep0b8HAdhkn3G2U+LYdKzkjRi46ZTSGe+Yopa4CfZfJ10uz /+mZrLrkieoF8VoRoawVHq2/J/cAw9D4MqoWibLyMJcpZEjXt+ANEXfs4hAcn3We5edi DUE+DW0brYOAs73ZcdCl/Z+Yc2+OvQvflkWE/DyLHZqpseuNAZvSDwJmK36eqmIFIqsD 9tXSmn8cwJkCsnkZMS8Ik8nfVM8BtzZu8nWMCQG6gY/UfspzqIqZA69CY7KRRkF3i0V2 +KTg== X-Gm-Message-State: AOJu0Yy8ykFM7eU6PoNPRUVY8563ZaNHwd0uxUqGFg1tcp7m7T+Qzzam oeOrlOp4Y5dHWGtEWTcz2KsJ1Ef74EtGLxjzOH09K5ewQUhGEA== X-Google-Smtp-Source: AGHT+IE90ElxJM3/ZD4fT6jObDD+G89NS7ln3Hnc0Qs9Av8KMyGUE7WWXP/X6U4Ipd8K0hzvSnnhkVY3a4Ny8f+aSPQ= X-Received: by 2002:a17:906:a40a:b0:a28:e58b:4cc with SMTP id l10-20020a170906a40a00b00a28e58b04ccmr905963ejz.76.1704552677171; Sat, 06 Jan 2024 06:51:17 -0800 (PST) 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 From: Mario Marietto Date: Sat, 6 Jan 2024 15:50:40 +0100 Message-ID: Subject: FFmpeg VAAPI H264 /HEVC encoding not supported To: multimedia@freebsd.org Content-Type: multipart/alternative; boundary="000000000000d2e4b2060e481870" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.987]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[multimedia@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[multimedia@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62a:from] X-Rspamd-Queue-Id: 4T6jvC1NZJz4PgD --000000000000d2e4b2060e481870 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello to everyone. 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 ? start-obs : sh << EOF env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs EOF root@marietto:/compat # ./start-obs shim init info: Using EGL/X11 info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz info: CPU Speed: 3600.00MHz info: Physical Cores: 8, Logical Cores: 16 info: Physical Memory: 31734MB Total, 19859MB Free info: Kernel Version: FreeBSD 14.0-RELEASE-p3 info: Distribution: FreeBSD "14.0" info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) info: Portable mode: false info: OBS 30.0.2 (freebsd) info: --------------------------------- info: --------------------------------- info: audio settings reset: samples per sec: 48000 speakers: 2 max buffering: 960 milliseconds buffering type: dynamically increasing info: --------------------------------- info: Initializing OpenGL... 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: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 1280x720 downscale filter: Bicubic fps: 30/1 format: NV12 YUV mode: Rec. 709/Partial info: NV12 texture support not available info: P010 texture support not available info: Audio monitoring device: name: Default id: default info: --------------------------------- info: [pipewire] No captures available warning: v4l2loopback not installed, virtual camera disabled info: NVENC supported *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI HEVC encoding not supported* info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.0.1 | RPC Version: 1) info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | Qt version (run-time): 6.6.1 info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 info: [obs-websocket] [obs_module_load] Module loaded. info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled info: --------------------------------- info: Loaded Modules: info: vlc-video.so info: text-freetype2.so info: sndio.so info: rtmp-services.so info: oss-audio.so info: obs-x264.so info: obs-websocket.so info: obs-webrtc.so info: obs-transitions.so info: obs-outputs.so info: obs-filters.so info: obs-ffmpeg.so info: linux-v4l2.so info: linux-pulseaudio.so info: linux-pipewire.so info: linux-jack.so info: linux-capture.so info: image-source.so info: frontend-tools.so info: --------------------------------- info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D info: All scene data cleared info: ------------------------------------------------ info: Switched to scene 'Scene' info: ------------------------------------------------ info: Loaded scenes: info: - scene 'Scene': info: ------------------------------------------------ info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D info: All scene data cleared info: ------------------------------------------------ info: [obs-websocket] [obs_module_unload] Shutting down... error: Tried to call obs_frontend_remove_event_callback with no callbacks! error: Tried to call obs_frontend_get_global_config with no callbacks! error: [obs-websocket] [Config::Save] Unable to fetch OBS config! info: [obs-websocket] [obs_module_unload] Finished shutting down. info: [Scripting] Total detached callbacks: 0 info: Freeing OBS context data info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D info: run_program_init: 663.636 ms info: =E2=94=A3OBSApp::AppInit: 3.125 ms info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms info: =E2=94=97OBSApp::OBSInit: 626.884 ms info: =E2=94=A3obs_startup: 1.247 ms info: =E2=94=97OBSBasic::OBSInit: 598.145 ms info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms info: =E2=94=A3obs_load_all_modules2: 365.069 ms info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms info: =E2=94=A3OBSBasic::InitService: 0.773 ms info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms info: =E2=94=97OBSBasic::Load: 67.014 ms info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms , 100% below 25 ms info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, max=3D22.184 ms, 99th percentile =3D22.184 ms, 100% below 33.333 ms info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.658= ms, 99th percentile=3D0.658 ms info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.411= ms, 99th percentile=3D8.411 ms info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, median= =3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8. 41 ms info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms, ma= x=3D8.379 ms, 99th percentile=3D8.379 ms info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, med= ian=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35 6 ms info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, max= =3D7.648 ms, 99th percentile=3D7.648 ms info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D22= .032 ms, 99th percentile=3D22.032 ms info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o f 25 ms (0% lower, 8.94309% higher) info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms, max=3D52.604 ms, 78.8889% with in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D info: Number of memory leaks: 0 * but the vaapi codecs are recognized correctly :* # ffmpeg -codecs | grep vaapi ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers built with FreeBSD clang version 16.0.6 ( https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 -g7cbf1a259152) configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir=3D/usr/local/share/ffmpeg --doc dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ --disable-alsa --disable-libo pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libaribb24 --disable-libaribcapt ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-lib codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages - -enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --en able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-li bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkvazaar --disable-ladspa -- enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray --enable-libplacebo --disa ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbedtls --disable-libmfx --di sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --enable-nvenc --disable-ope nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenm pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-libopus --disable-pockets phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable-librist --enable-runtime -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --disable-libsmbclient --disab le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --disable-libssh --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libt wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --di sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbenc --disable-libvpl --ena ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --e nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --disable-libzmq --disable-libz vbi libavutil 58. 29.100 / 58. 29.100 libavcodec 60. 31.102 / 60. 31.102 libavformat 60. 16.100 / 60. 16.100 libavdevice 60. 3.100 / 60. 3.100 libavfilter 9. 12.100 / 9. 12.100 libswscale 7. 5.100 / 7. 5.100 libswresample 4. 12.100 / 4. 12.100 libpostproc 57. 3.100 / 57. 3.100 DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 av1 av1_cuvi d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaapi) DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2m2 m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg mjpeg_vaapi) DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_cuvid) (encoders: mpeg2video mpeg2_vaapi) DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders: libvpx vp8_v4l2m2m vp8_vaapi) DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) (encoders: libvpx-vp9 vp9_vaapi) --=20 Mario. --000000000000d2e4b2060e481870 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello to everyone.

I'm u= sing 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= 9;t supported. There may be a bug somewhere ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.gi= t llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 H.264 / AVC / MP= EG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m
h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.
--000000000000d2e4b2060e481870-- From nobody Sat Jan 6 16:23:08 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 4T6lxt3HJxz56fVg for ; Sat, 6 Jan 2024 16:23:46 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6lxt0vMCz4XZl for ; Sat, 6 Jan 2024 16:23:46 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-42987bc95ffso2375761cf.1 for ; Sat, 06 Jan 2024 08:23:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704558225; x=1705163025; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PyVt+5LpS3O6v35i9GQNlz+gESZTbsRI6nvY/FcEZSs=; b=mb3L7Jv6gKdYPa2rh6qOGwdkemxdrYeuGWaDv3fwWWad/hMN4pOEWJJwI4hnIUyVhb TvBLeb9JiJ8ZZYojLURvYuj+zV0l+fX5PRu3u1jw7kKJXsvXWIHss0tBVbCwgCdD43xk UB2YCtPPtDWgKwEiy+JJw1WIunmyHbw85u2aZ8T1EislxZEwiQBOKENpH7gqDVjmYG47 BIQx7w0p3C+4nEGp7SmY+BBRAsCwSI+NcDGNCmtxT8BUeqkP80284BwHhf+Wurwbaw4S GFYOF6ZrE2trkyZl6Z7IXnqhRILS0bgRgLk+sRNh3w0sgW7aoTEWG+w7ADvOkBCNbX+O MzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704558225; x=1705163025; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PyVt+5LpS3O6v35i9GQNlz+gESZTbsRI6nvY/FcEZSs=; b=wvQ1l1YPowthCbkB5MIvmltd5P7kFOgPFZgoocIigo4quQKUZYaudHgLNljUHxCvBe eAK8xOghwW5ywu8cvDXYpWt/yedn6QHrpPSUXN6cXeufJf213vOPOmqvo1QGZqNvhTer Ssmz+9s8piTQ5G+ufl9Q0r1tZgdQ8VFCTbmLk+Js9Jd+Cc/VsUqzqwNN7BqHMvVvoVmL 3XniYHFGW5G82qhhrKOT3w9126hnr2bnw/yMkHD4P9iPw4/OzLRtdyU3xoi6G5wd5M6T SEl30kedX2aqwrJTpWNWj+Dk5bLGeKD+ljUHNFn5popoZdRR97ajGHFC1/EFPzWAXC8X qRbg== X-Gm-Message-State: AOJu0YxdDko2sVQqgNsMsNjWx3gOtZcn3UVCZ7lQizQ04YEB9KsNDjQt ofPmhe7+cXpUOCaLOxsQKF8lmEWV8iJggcB/Yqso1QHTvME= X-Google-Smtp-Source: AGHT+IEF6EweBsBRzgLLXesEad5tY6OmTvOo/0qy+25Vh3aNC/65xoG5upBvIOW1ko4qUiMkqdt12L+aQPqT7ou98ic= X-Received: by 2002:a05:622a:229a:b0:427:86ad:47e5 with SMTP id ay26-20020a05622a229a00b0042786ad47e5mr2004036qtb.121.1704558224695; Sat, 06 Jan 2024 08:23:44 -0800 (PST) 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 References: In-Reply-To: From: Mehmet Erol Sanliturk Date: Sat, 6 Jan 2024 19:23:08 +0300 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Mario Marietto Cc: multimedia@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007b66b8060e496395" X-Rspamd-Queue-Id: 4T6lxt0vMCz4XZl X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --0000000000007b66b8060e496395 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Perhaps the following pages may be useful : https://trac.ffmpeg.org/wiki/HWAccelIntro Another issue about video encoders and decoders is patents . https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+not&sc= a_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A170455747998= 1&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDC= BA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd2l= 6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQ= FwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCA= ggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHC= AgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp is VAAPI HEVC encoding patented or not https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+not&sc= a_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A170455752938= 8&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCB= A&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd2l6= LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEi= P0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAw= QYACBBiAYBkAYI&sclient=3Dgws-wiz-serp is VAAPI H264 encoding patented or not Mehmet Erol Sanliturk On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto wrote: > Hello to everyone. > > 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 the= y > aren't supported. There may be a bug somewhere ? > > start-obs : > > sh << EOF > env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs > EOF > > root@marietto:/compat # ./start-obs > shim init > > info: Using EGL/X11 > info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz > info: CPU Speed: 3600.00MHz > info: Physical Cores: 8, Logical Cores: 16 > info: Physical Memory: 31734MB Total, 19859MB Free > info: Kernel Version: FreeBSD 14.0-RELEASE-p3 > info: Distribution: FreeBSD "14.0" > info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 > info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) > info: Portable mode: false > info: OBS 30.0.2 (freebsd) > info: --------------------------------- > info: --------------------------------- > info: audio settings reset: > samples per sec: 48000 > speakers: 2 > max buffering: 960 milliseconds > buffering type: dynamically increasing > info: --------------------------------- > info: Initializing OpenGL... > 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, shadin= g > language 3.30 NVIDIA via Cg compiler > > info: --------------------------------- > info: video settings reset: > base resolution: 1920x1080 > output resolution: 1280x720 > downscale filter: Bicubic > fps: 30/1 > format: NV12 > YUV mode: Rec. 709/Partial > info: NV12 texture support not available > info: P010 texture support not available > info: Audio monitoring device: > name: Default > id: default > info: --------------------------------- > info: [pipewire] No captures available > warning: v4l2loopback not installed, virtual camera disabled > info: NVENC supported > > > *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI HEVC > encoding not supported* > > info: [obs-websocket] [obs_module_load] you can haz websockets (Version: > 5.0.1 | RPC Version: 1) > info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 = | > Qt version (run-time): 6.6.1 > info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 > info: [obs-websocket] [obs_module_load] Module loaded. > info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled > info: --------------------------------- > info: Loaded Modules: > info: vlc-video.so > info: text-freetype2.so > info: sndio.so > info: rtmp-services.so > info: oss-audio.so > info: obs-x264.so > info: obs-websocket.so > info: obs-webrtc.so > info: obs-transitions.so > info: obs-outputs.so > info: obs-filters.so > info: obs-ffmpeg.so > info: linux-v4l2.so > info: linux-pulseaudio.so > info: linux-pipewire.so > info: linux-jack.so > info: linux-capture.so > info: image-source.so > info: frontend-tools.so > info: --------------------------------- > info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > info: All scene data cleared > info: ------------------------------------------------ > info: Switched to scene 'Scene' > info: ------------------------------------------------ > info: Loaded scenes: > info: - scene 'Scene': > info: ------------------------------------------------ > info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > info: All scene data cleared > info: ------------------------------------------------ > info: [obs-websocket] [obs_module_unload] Shutting down... > error: Tried to call obs_frontend_remove_event_callback with no callbacks= ! > error: Tried to call obs_frontend_get_global_config with no callbacks! > error: [obs-websocket] [Config::Save] Unable to fetch OBS config! > info: [obs-websocket] [obs_module_unload] Finished shutting down. > info: [Scripting] Total detached callbacks: 0 > info: Freeing OBS context data > info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > info: run_program_init: 663.636 ms > info: =E2=94=A3OBSApp::AppInit: 3.125 ms > info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms > info: =E2=94=97OBSApp::OBSInit: 626.884 ms > info: =E2=94=A3obs_startup: 1.247 ms > info: =E2=94=97OBSBasic::OBSInit: 598.145 ms > info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms > info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms > info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms > info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms > info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms > info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms > info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms > info: =E2=94=A3obs_load_all_modules2: 365.069 ms > info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms > info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms > info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms > info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms > info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms > info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 ms > info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms > info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms > info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms > info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms > info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms > info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms > info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms > info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms > info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms > info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms > info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms > info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms > info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms > info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms > info: =E2=94=A3OBSBasic::InitService: 0.773 ms > info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms > info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms > info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms > info: =E2=94=97OBSBasic::Load: 67.014 ms > info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10= .834 > ms, 99th percentile=3D8.279 ms > , 100% below 25 ms > info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149= ms, > 99th percentile=3D0.101 ms > info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, > max=3D22.184 ms, 99th percentile > =3D22.184 ms, 100% below 33.333 ms > info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.6= 58 ms, 99th > percentile=3D0.658 ms > info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.4= 11 ms, 99th > percentile=3D8.411 ms > info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, medi= an=3D0.211 ms, > max=3D8.41 ms, 99th percentile=3D8. > 41 ms > info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms, = max=3D8.379 ms, 99th > percentile=3D8.379 ms > info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, m= edian=3D0.098 ms, max=3D8.356 > ms, 99th percentile=3D8.35 > 6 ms > info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, max= =3D7.648 ms, 99th > percentile=3D7.648 ms > info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D= 22.032 ms, 99th > percentile=3D22.032 ms > info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max= =3D65.219 > ms, 91.0569% within =C2=B12% o > f 25 ms (0% lower, 8.94309% higher) > info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 m= s, > max=3D52.604 ms, 78.8889% with > in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) > info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > info: Number of memory leaks: 0 > > > * but the vaapi codecs are recognized correctly :* > > > # ffmpeg -codecs | grep vaapi > > ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers > built with FreeBSD clang version 16.0.6 ( > https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 > -g7cbf1a259152) > > configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man > --datadir=3D/usr/local/share/ffmpeg --doc > dir=3D/usr/local/share/doc/ffmpeg > --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disab > le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc+= + > --disable-alsa --disable-libo > pencore-amrnb --disable-libopencore-amrwb --enable-libaom > --disable-libaribb24 --disable-libaribcapt > ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca > --disable-libcdio --disable-lib > codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 > --disable-debug --enable-htmlpages - > -enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfi= g > --enable-libfreetype --en > able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang > --disable-libgme --enable-gmp > --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz > --enable-iconv --disable-li > bilbc --disable-libjack --enable-libjxl --disable-libklvanc > --disable-libkvazaar --disable-ladspa -- > enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray > --enable-libplacebo --disa > ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 > --disable-mbedtls --disable-libmfx --di > sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree > --enable-nvenc --disable-ope > nal --disable-opencl --disable-opengl --disable-libopenh264 > --disable-libopenjpeg --disable-libopenm > pt --disable-openssl --disable-libopenvino --enable-optimizations > --enable-libopus --disable-pockets > phinx --disable-libpulse --disable-librabbitmq --disable-librav1e > --disable-librist --enable-runtime > -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc > --disable-libsmbclient --disab > le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex > --disable-libsrt --disable-libssh > --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract > --disable-libtheora --disable-libt > wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi > --disable-vapoursynth --enable-vdpau --di > sable-libvidstab --enable-libvmaf --enable-libvorbis > --disable-libvo-amrwbenc --disable-libvpl --ena > ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 > --enable-libx265 --disable-libxavs2 --e > nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg > --disable-libzmq --disable-libz > vbi > libavutil 58. 29.100 / 58. 29.100 > libavcodec 60. 31.102 / 60. 31.102 > libavformat 60. 16.100 / 60. 16.100 > libavdevice 60. 3.100 / 60. 3.100 > libavfilter 9. 12.100 / 9. 12.100 > libswscale 7. 5.100 / 7. 5.100 > libswresample 4. 12.100 / 4. 12.100 > libpostproc 57. 3.100 / 57. 3.100 > > DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 av1 > av1_cuvi > d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) > DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 > h264_v4l2m2m > h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m > h264_vaapi) > DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc > hevc_v4l2m2 > m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) > DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg > mjpeg_vaapi) > DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo > mpeg2_v4l2m2m mpeg2_cuvid) > (encoders: mpeg2video mpeg2_vaapi) > DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders= : > libvpx > vp8_v4l2m2m vp8_vaapi) > DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) > (encoders: > libvpx-vp9 vp9_vaapi) > > -- > Mario. > --0000000000007b66b8060e496395 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario= Marietto <marietto2008@gmail.= com> wrote:
Hello to everyone.

I'= m using FreeBSD 14.0-p3 with the latest packages and I'm trying to enab= le the VAAPI H264 / HEVC encoding for obs-studio,but it says that they aren= 't supported. There may be a bug somewhere ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https:= //github.com/llvm/llvm-project.git llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 = H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.
--0000000000007b66b8060e496395-- From nobody Sat Jan 6 17:56:41 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 4T6p1r693dz56qYs for ; Sat, 6 Jan 2024 17:57:20 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6p1q5Vywz4kl2 for ; Sat, 6 Jan 2024 17:57:19 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=EOEZcEGO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::535 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-556c60c3f9aso669954a12.3 for ; Sat, 06 Jan 2024 09:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704563838; x=1705168638; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4JdIXUoMBWHuyU/SdFB8NPUvXoAbO5IEwddCo3E2Y/k=; b=EOEZcEGO65Qir2LAQxA12+f9RVQJ4xb+MBa/OSj5DqEW6lBnVo68WHQPi2LNjMDDA8 bQZ2T3wKUQAeeYDLKEFcQvVmkePbsZms9gAWGbyqeH+sppHZ0YlR0OJJ2MBy88xfuDrv UMH6vGRtmuGkY8xKMJosYl1pEoa3JspBhHw8uDqJEuxZ126XgFM1mzFdClZuL8gbHom8 EvZ8w1q/yf/caPSGNgC/zcW39/AHlM0thto+KsgJiKOw73e3k1qti1z6VPt5izKmZyaj zphVPWJuFnfMd9zXqbs4PKal95fFWJzhQN8OvbMxO9fBL9T2hjStDfQTS1fV5lU17vkf krvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704563838; x=1705168638; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4JdIXUoMBWHuyU/SdFB8NPUvXoAbO5IEwddCo3E2Y/k=; b=svmhaZ6UKeEhSpT2L43fs5aw8tSHehfFbQNLCp0rqmTUZWgWxXG09p9hOKI2HrLULS weSRTY2TSQc/l6Hf1QMe7dUuGlxO1RGX7+PPxscfkfSWKl7uXX2NnBSbR9lvldI8bJ7G g258WcmZQE5bvwgcLdSZ/v0OhKrGOaFkqmyB2M92KYSPvz4BewyvA+aNTcVKTMAbZank 335k20h7g4KyQXL838n5hGqihKbwTYCy4IhaNcYxIW8g7/Gv2q95azD99UsmG7mKMu5t 2k1ZagP88uYvKuO5xAbwz/jm1HNlBdBiQYSdMQec/RFcJAVhJZBmoQ18ni4EBA1B1qal D3eA== X-Gm-Message-State: AOJu0Yxo/L9T79bXM+//EpGPYxRGOGkR84Pt9ccsE62q0IZPCnYZrjXk /bVR/XChAgqYDjgZCeK1GYTZ0QAvJTHwvi2jFmz3C8dwG06jYQ== X-Google-Smtp-Source: AGHT+IHi5FDZndDazI5N5OOoch17Afa1J1m7LMgmBOwa1+cI8QAYd2x6Grky4vTQbsrs2ufLim+1wtCDRWAAHEAKiQo= X-Received: by 2002:a17:907:910f:b0:a23:dffc:8366 with SMTP id p15-20020a170907910f00b00a23dffc8366mr441650ejq.88.1704563837598; Sat, 06 Jan 2024 09:57:17 -0800 (PST) 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 References: In-Reply-To: From: Mario Marietto Date: Sat, 6 Jan 2024 18:56:41 +0100 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Mehmet Erol Sanliturk Cc: multimedia@freebsd.org Content-Type: multipart/alternative; boundary="00000000000009800c060e4ab276" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[multimedia@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[multimedia@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::535:from] X-Rspamd-Queue-Id: 4T6p1q5Vywz4kl2 --00000000000009800c060e4ab276 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, =D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8=AA = =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9=8A = =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 =D8= =A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 = =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88=D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83=D8=A7=D9=86= =D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1=D9=8A=D9=82= =D8=A9 =D9=85=D8=A7. (but the information that you gave to me is generic. I still don't know if I have a bug and if I can fix it,in some way). On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk < m.e.sanliturk@gmail.com> wrote: > > Perhaps the following pages may be useful : > > https://trac.ffmpeg.org/wiki/HWAccelIntro > > Another issue about video encoders and decoders is patents . > > > > https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+not&= sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557479= 981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dU= DCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd= 2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyClii= gQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCf= CAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoA= HCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp > is VAAPI HEVC encoding patented or not > > > https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+not&= sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529= 388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUD= CBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd2= l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiB= EiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPi= AwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp > is VAAPI H264 encoding patented or not > > > > Mehmet Erol Sanliturk > > > > On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto > wrote: > >> Hello to everyone. >> >> 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 th= ey >> aren't supported. There may be a bug somewhere ? >> >> start-obs : >> >> sh << EOF >> env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs >> EOF >> >> root@marietto:/compat # ./start-obs >> shim init >> >> info: Using EGL/X11 >> info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz >> info: CPU Speed: 3600.00MHz >> info: Physical Cores: 8, Logical Cores: 16 >> info: Physical Memory: 31734MB Total, 19859MB Free >> info: Kernel Version: FreeBSD 14.0-RELEASE-p3 >> info: Distribution: FreeBSD "14.0" >> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.= 1 >> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) >> info: Portable mode: false >> info: OBS 30.0.2 (freebsd) >> info: --------------------------------- >> info: --------------------------------- >> info: audio settings reset: >> samples per sec: 48000 >> speakers: 2 >> max buffering: 960 milliseconds >> buffering type: dynamically increasing >> info: --------------------------------- >> info: Initializing OpenGL... >> 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: --------------------------------- >> info: video settings reset: >> base resolution: 1920x1080 >> output resolution: 1280x720 >> downscale filter: Bicubic >> fps: 30/1 >> format: NV12 >> YUV mode: Rec. 709/Partial >> info: NV12 texture support not available >> info: P010 texture support not available >> info: Audio monitoring device: >> name: Default >> id: default >> info: --------------------------------- >> info: [pipewire] No captures available >> warning: v4l2loopback not installed, virtual camera disabled >> info: NVENC supported >> >> >> *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI HEVC >> encoding not supported* >> >> info: [obs-websocket] [obs_module_load] you can haz websockets (Version: >> 5.0.1 | RPC Version: 1) >> info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 >> | Qt version (run-time): 6.6.1 >> info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 >> info: [obs-websocket] [obs_module_load] Module loaded. >> info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled >> info: --------------------------------- >> info: Loaded Modules: >> info: vlc-video.so >> info: text-freetype2.so >> info: sndio.so >> info: rtmp-services.so >> info: oss-audio.so >> info: obs-x264.so >> info: obs-websocket.so >> info: obs-webrtc.so >> info: obs-transitions.so >> info: obs-outputs.so >> info: obs-filters.so >> info: obs-ffmpeg.so >> info: linux-v4l2.so >> info: linux-pulseaudio.so >> info: linux-pipewire.so >> info: linux-jack.so >> info: linux-capture.so >> info: image-source.so >> info: frontend-tools.so >> info: --------------------------------- >> info: =3D=3D=3D=3D Startup complete >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> info: All scene data cleared >> info: ------------------------------------------------ >> info: Switched to scene 'Scene' >> info: ------------------------------------------------ >> info: Loaded scenes: >> info: - scene 'Scene': >> info: ------------------------------------------------ >> info: =3D=3D=3D=3D Shutting down >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> info: All scene data cleared >> info: ------------------------------------------------ >> info: [obs-websocket] [obs_module_unload] Shutting down... >> error: Tried to call obs_frontend_remove_event_callback with no callback= s! >> error: Tried to call obs_frontend_get_global_config with no callbacks! >> error: [obs-websocket] [Config::Save] Unable to fetch OBS config! >> info: [obs-websocket] [obs_module_unload] Finished shutting down. >> info: [Scripting] Total detached callbacks: 0 >> info: Freeing OBS context data >> info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> info: run_program_init: 663.636 ms >> info: =E2=94=A3OBSApp::AppInit: 3.125 ms >> info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms >> info: =E2=94=97OBSApp::OBSInit: 626.884 ms >> info: =E2=94=A3obs_startup: 1.247 ms >> info: =E2=94=97OBSBasic::OBSInit: 598.145 ms >> info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms >> info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms >> info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms >> info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms >> info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms >> info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms >> info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms >> info: =E2=94=A3obs_load_all_modules2: 365.069 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms >> info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms >> info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms >> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms >> info: =E2=94=A3OBSBasic::InitService: 0.773 ms >> info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms >> info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms >> info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms >> info: =E2=94=97OBSBasic::Load: 67.014 ms >> info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D1= 0.834 >> ms, 99th percentile=3D8.279 ms >> , 100% below 25 ms >> info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.14= 9 ms, >> 99th percentile=3D0.101 ms >> info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms= , >> max=3D22.184 ms, 99th percentile >> =3D22.184 ms, 100% below 33.333 ms >> info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.= 658 ms, 99th >> percentile=3D0.658 ms >> info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.= 411 ms, 99th >> percentile=3D8.411 ms >> info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, med= ian=3D0.211 ms, >> max=3D8.41 ms, 99th percentile=3D8. >> 41 ms >> info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th >> percentile=3D8.379 ms >> info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 >> ms, 99th percentile=3D8.35 >> 6 ms >> info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th >> percentile=3D7.648 ms >> info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max= =3D22.032 ms, >> 99th percentile=3D22.032 ms >> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >> info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >> info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, >> max=3D65.219 ms, 91.0569% within =C2=B12% o >> f 25 ms (0% lower, 8.94309% higher) >> info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 = ms, >> max=3D52.604 ms, 78.8889% with >> in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) >> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >> info: Number of memory leaks: 0 >> >> >> * but the vaapi codecs are recognized correctly :* >> >> >> # ffmpeg -codecs | grep vaapi >> >> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers >> built with FreeBSD clang version 16.0.6 ( >> https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 >> -g7cbf1a259152) >> >> configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man >> --datadir=3D/usr/local/share/ffmpeg --doc >> dir=3D/usr/local/share/doc/ffmpeg >> --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disab >> le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc= ++ >> --disable-alsa --disable-libo >> pencore-amrnb --disable-libopencore-amrwb --enable-libaom >> --disable-libaribb24 --disable-libaribcapt >> ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca >> --disable-libcdio --disable-lib >> codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 >> --disable-debug --enable-htmlpages - >> -enable-libdrm --disable-libfdk-aac --disable-libflite >> --enable-fontconfig --enable-libfreetype --en >> able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang >> --disable-libgme --enable-gmp >> --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz >> --enable-iconv --disable-li >> bilbc --disable-libjack --enable-libjxl --disable-libklvanc >> --disable-libkvazaar --disable-ladspa -- >> enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libblura= y >> --enable-libplacebo --disa >> ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 >> --disable-mbedtls --disable-libmfx --di >> sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree >> --enable-nvenc --disable-ope >> nal --disable-opencl --disable-opengl --disable-libopenh264 >> --disable-libopenjpeg --disable-libopenm >> pt --disable-openssl --disable-libopenvino --enable-optimizations >> --enable-libopus --disable-pockets >> phinx --disable-libpulse --disable-librabbitmq --disable-librav1e >> --disable-librist --enable-runtime >> -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc >> --disable-libsmbclient --disab >> le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex >> --disable-libsrt --disable-libssh >> --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract >> --disable-libtheora --disable-libt >> wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi >> --disable-vapoursynth --enable-vdpau --di >> sable-libvidstab --enable-libvmaf --enable-libvorbis >> --disable-libvo-amrwbenc --disable-libvpl --ena >> ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 >> --enable-libx265 --disable-libxavs2 --e >> nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg >> --disable-libzmq --disable-libz >> vbi >> libavutil 58. 29.100 / 58. 29.100 >> libavcodec 60. 31.102 / 60. 31.102 >> libavformat 60. 16.100 / 60. 16.100 >> libavdevice 60. 3.100 / 60. 3.100 >> libavfilter 9. 12.100 / 9. 12.100 >> libswscale 7. 5.100 / 7. 5.100 >> libswresample 4. 12.100 / 4. 12.100 >> libpostproc 57. 3.100 / 57. 3.100 >> >> DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 av= 1 >> av1_cuvi >> d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) >> DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 >> h264_v4l2m2m >> h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m >> h264_vaapi) >> DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc >> hevc_v4l2m2 >> m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) >> DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg >> mjpeg_vaapi) >> DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo >> mpeg2_v4l2m2m mpeg2_cuvid) >> (encoders: mpeg2video mpeg2_vaapi) >> DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) >> (encoders: libvpx >> vp8_v4l2m2m vp8_vaapi) >> DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) >> (encoders: >> libvpx-vp9 vp9_vaapi) >> >> -- >> Mario. >> > --=20 Mario. --00000000000009800c060e4ab276 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks,

=D9=84=D9=83=D9=86 = =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8=AA =D8=A7=D9=84=D8=AA= =D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9=8A =D8=B9=D8=A7=D9=85= =D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 =D8=A3=D8=B9=D8=B1=D9= =81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D9=84=D8=AF=D9=8A = =D8=AE=D8=B7=D8=A3 =D9=88=D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86= =D8=A8=D8=A5=D9=85=D9=83=D8=A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD= =D9=87 =D8=A8=D8=B7=D8=B1=D9=8A=D9=82=D8=A9 =D9=85=D8=A7.

(but the information that you gave to me is generic. I still don= 9;t know if I have a bug and if I can fix it,in some way).
<= br>
On Sat,= Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">

Perhaps the following pages may be useful :


Another issue about = video encoders and decoders is patents .


is VAAPI HEVC enc= oding patented or not

i= s VAAPI H264 encoding patented or not



Mehmet Erol Sanliturk



On Sat, Jan 6, 202= 4 at 5:51=E2=80=AFPM Mario Marietto <marietto2008@gmail.com> wrote:
Hello = to everyone.

I'm using FreeBSD 14.0-p3 with th= e latest packages and I'm trying to enable the VAAPI H264 / HEVC encodi= ng for obs-studio,but it says that they aren't supported. There may be = a bug somewhere ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https:= //github.com/llvm/llvm-project.git llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 = H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.


--
Mario.
--00000000000009800c060e4ab276-- From nobody Sat Jan 6 22:58:29 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 4T6wjj1TXWz55kSF for ; Sat, 6 Jan 2024 22:58:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6wjh4Brpz4R81 for ; Sat, 6 Jan 2024 22:58:48 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-5e734251f48so5221637b3.1 for ; Sat, 06 Jan 2024 14:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704581926; x=1705186726; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nYv4DsmjA3S5d8EgG15/1eDfYt9kI2wihL2iHXuTzts=; b=IcqtfiN8CQAYTHj30BYIVQ9S10v1VEvSOb/8WQWV56o1Ph0GWjkdP53SFTBn8Yevz6 f+4egDN/iHSr6K8PR84tqhzzO6GdE8nLYt6OsI8wkbxFsjhD56y9HtV8aOUmqoSTjZKQ P2iIP6CzWaFlvahtDrM8eVs8y+rEdcwQpo+2krf1yhbW3jM1ZgIsyATly1WnBjDIdy7M io5hgD8WVoT4Lr1bHlxl91fNN0PXWMF0ezc48lJBSgNLP2YMFTLN0IOFh/Ur7z/yErPh jitXvU0aMm4HrtnU7H6IljI5NhYuarmILBfTE+6AHTxj71XbvsuFlJOH+rq7+ww7SyTt okNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704581926; x=1705186726; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nYv4DsmjA3S5d8EgG15/1eDfYt9kI2wihL2iHXuTzts=; b=Kz/kMGslbVXnPQCu/08K55mpcYPvZzyLzoD89YmD3rIR0RPZFszzFd8HLsGprhRS9t AxocIGnA9JgiaMq48SXASK/E4Q6F+1hC+j24WfHiD55z5MLxYfPj/V6aCr2r0sVuv6eZ 5bTrW9tURmgzMYS8ggGVH/DvRJwzRfj+B1VmLCW29n6TsVHJUVIln2cOBNJFR3z8Ynvc UhgQyPkhOMPu5iBfEGabx78cduON4UQoZSG9kPAA+ywbogAda2bkJYUoIMsbVxqxa9C+ Zd8pLYRmGWoB5kX4G5h1Al/nOxmqgDa0s4jDGLSDToDxWZWP3MOoNRTpWHRgXnfhKG70 IcaQ== X-Gm-Message-State: AOJu0YzyZmqv+PZO5Wft0pqSJyYeni9HKzM2oy0H+OhwSZvAUzFkXcl7 lDA1jXX1/agL7d+FW2qOx5ye7a/UXmzNUYM8T0CQnclk+1Y= X-Google-Smtp-Source: AGHT+IF7RE/0ITT1fmiJMxEPiHH2cdAOb5kHrEPrmVGjl24cOps+UiLaEMr9s2UanQb/bLbeL+JYruuuJSP+jlRy5zM= X-Received: by 2002:a0d:f405:0:b0:5e4:cba8:e4f1 with SMTP id d5-20020a0df405000000b005e4cba8e4f1mr2554619ywf.17.1704581925986; Sat, 06 Jan 2024 14:58:45 -0800 (PST) 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 References: In-Reply-To: From: Kevin Oberman Date: Sat, 6 Jan 2024 14:58:29 -0800 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Mario Marietto Cc: Mehmet Erol Sanliturk , multimedia@freebsd.org Content-Type: multipart/alternative; boundary="00000000000030696e060e4ee8f4" X-Rspamd-Queue-Id: 4T6wjh4Brpz4R81 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --00000000000030696e060e4ee8f4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jan 6, 2024 at 9:57=E2=80=AFAM Mario Marietto wrote: > Thanks, > > =D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8=AA= =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9=8A= =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 =D8= =A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 = =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88=D9=85=D8=A7 > =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83=D8=A7=D9= =86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1=D9=8A=D9= =82=D8=A9 =D9=85=D8=A7. > > (but the information that you gave to me is generic. I still don't know i= f > I have a bug and if I can fix it,in some way). > > On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk < > m.e.sanliturk@gmail.com> wrote: > >> >> Perhaps the following pages may be useful : >> >> https://trac.ffmpeg.org/wiki/HWAccelIntro >> >> Another issue about video encoders and decoders is patents . >> >> >> >> https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+not= &sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A170455747= 9981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4d= UDCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3Mt= d2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCli= igQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGC= fCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYo= AHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp >> is VAAPI HEVC encoding patented or not >> >> >> https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+not= &sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A170455752= 9388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dU= DCBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd= 2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBii= BEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAP= iAwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp >> is VAAPI H264 encoding patented or not >> >> >> >> Mehmet Erol Sanliturk >> >> >> >> On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto >> wrote: >> >>> Hello to everyone. >>> >>> 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 t= hey >>> aren't supported. There may be a bug somewhere ? >>> >>> start-obs : >>> >>> sh << EOF >>> env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs >>> EOF >>> >>> root@marietto:/compat # ./start-obs >>> shim init >>> >>> info: Using EGL/X11 >>> info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz >>> info: CPU Speed: 3600.00MHz >>> info: Physical Cores: 8, Logical Cores: 16 >>> info: Physical Memory: 31734MB Total, 19859MB Free >>> info: Kernel Version: FreeBSD 14.0-RELEASE-p3 >>> info: Distribution: FreeBSD "14.0" >>> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21= .1 >>> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) >>> info: Portable mode: false >>> info: OBS 30.0.2 (freebsd) >>> info: --------------------------------- >>> info: --------------------------------- >>> info: audio settings reset: >>> samples per sec: 48000 >>> speakers: 2 >>> max buffering: 960 milliseconds >>> buffering type: dynamically increasing >>> info: --------------------------------- >>> info: Initializing OpenGL... >>> info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GT= X >>> 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: --------------------------------- >>> info: video settings reset: >>> base resolution: 1920x1080 >>> output resolution: 1280x720 >>> downscale filter: Bicubic >>> fps: 30/1 >>> format: NV12 >>> YUV mode: Rec. 709/Partial >>> info: NV12 texture support not available >>> info: P010 texture support not available >>> info: Audio monitoring device: >>> name: Default >>> id: default >>> info: --------------------------------- >>> info: [pipewire] No captures available >>> warning: v4l2loopback not installed, virtual camera disabled >>> info: NVENC supported >>> >>> >>> *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI HEVC >>> encoding not supported* >>> >>> info: [obs-websocket] [obs_module_load] you can haz websockets (Version= : >>> 5.0.1 | RPC Version: 1) >>> info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.= 1 >>> | Qt version (run-time): 6.6.1 >>> info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 >>> info: [obs-websocket] [obs_module_load] Module loaded. >>> info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled >>> info: --------------------------------- >>> info: Loaded Modules: >>> info: vlc-video.so >>> info: text-freetype2.so >>> info: sndio.so >>> info: rtmp-services.so >>> info: oss-audio.so >>> info: obs-x264.so >>> info: obs-websocket.so >>> info: obs-webrtc.so >>> info: obs-transitions.so >>> info: obs-outputs.so >>> info: obs-filters.so >>> info: obs-ffmpeg.so >>> info: linux-v4l2.so >>> info: linux-pulseaudio.so >>> info: linux-pipewire.so >>> info: linux-jack.so >>> info: linux-capture.so >>> info: image-source.so >>> info: frontend-tools.so >>> info: --------------------------------- >>> info: =3D=3D=3D=3D Startup complete >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> info: All scene data cleared >>> info: ------------------------------------------------ >>> info: Switched to scene 'Scene' >>> info: ------------------------------------------------ >>> info: Loaded scenes: >>> info: - scene 'Scene': >>> info: ------------------------------------------------ >>> info: =3D=3D=3D=3D Shutting down >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> info: All scene data cleared >>> info: ------------------------------------------------ >>> info: [obs-websocket] [obs_module_unload] Shutting down... >>> error: Tried to call obs_frontend_remove_event_callback with no >>> callbacks! >>> error: Tried to call obs_frontend_get_global_config with no callbacks! >>> error: [obs-websocket] [Config::Save] Unable to fetch OBS config! >>> info: [obs-websocket] [obs_module_unload] Finished shutting down. >>> info: [Scripting] Total detached callbacks: 0 >>> info: Freeing OBS context data >>> info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> info: run_program_init: 663.636 ms >>> info: =E2=94=A3OBSApp::AppInit: 3.125 ms >>> info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms >>> info: =E2=94=97OBSApp::OBSInit: 626.884 ms >>> info: =E2=94=A3obs_startup: 1.247 ms >>> info: =E2=94=97OBSBasic::OBSInit: 598.145 ms >>> info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms >>> info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms >>> info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms >>> info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms >>> info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms >>> info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms >>> info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms >>> info: =E2=94=A3obs_load_all_modules2: 365.069 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms >>> info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms >>> info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms >>> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms >>> info: =E2=94=A3OBSBasic::InitService: 0.773 ms >>> info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms >>> info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms >>> info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms >>> info: =E2=94=97OBSBasic::Load: 67.014 ms >>> info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D= 10.834 >>> ms, 99th percentile=3D8.279 ms >>> , 100% below 25 ms >>> info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.1= 49 ms, >>> 99th percentile=3D0.101 ms >>> info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 m= s, >>> max=3D22.184 ms, 99th percentile >>> =3D22.184 ms, 100% below 33.333 ms >>> info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0= .658 ms, 99th >>> percentile=3D0.658 ms >>> info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8= .411 ms, 99th >>> percentile=3D8.411 ms >>> info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, >>> max=3D8.41 ms, 99th percentile=3D8. >>> 41 ms >>> info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms= , max=3D8.379 ms, 99th >>> percentile=3D8.379 ms >>> info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms,= median=3D0.098 ms, max=3D8.356 >>> ms, 99th percentile=3D8.35 >>> 6 ms >>> info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, m= ax=3D7.648 ms, 99th >>> percentile=3D7.648 ms >>> info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max= =3D22.032 ms, >>> 99th percentile=3D22.032 ms >>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>> info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >>> info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, >>> max=3D65.219 ms, 91.0569% within =C2=B12% o >>> f 25 ms (0% lower, 8.94309% higher) >>> info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322= ms, >>> max=3D52.604 ms, 78.8889% with >>> in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) >>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>> info: Number of memory leaks: 0 >>> >>> >>> * but the vaapi codecs are recognized correctly :* >>> >>> >>> # ffmpeg -codecs | grep vaapi >>> >>> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers >>> built with FreeBSD clang version 16.0.6 ( >>> https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 >>> -g7cbf1a259152) >>> >>> configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man >>> --datadir=3D/usr/local/share/ffmpeg --doc >>> dir=3D/usr/local/share/doc/ffmpeg >>> --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disab >>> le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3D= c++ >>> --disable-alsa --disable-libo >>> pencore-amrnb --disable-libopencore-amrwb --enable-libaom >>> --disable-libaribb24 --disable-libaribcapt >>> ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca >>> --disable-libcdio --disable-lib >>> codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 >>> --disable-debug --enable-htmlpages - >>> -enable-libdrm --disable-libfdk-aac --disable-libflite >>> --enable-fontconfig --enable-libfreetype --en >>> able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang >>> --disable-libgme --enable-gmp >>> --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz >>> --enable-iconv --disable-li >>> bilbc --disable-libjack --enable-libjxl --disable-libklvanc >>> --disable-libkvazaar --disable-ladspa -- >>> enable-libmp3lame --enable-lcms2 --disable-liblensfun >>> --disable-libbluray --enable-libplacebo --disa >>> ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 >>> --disable-mbedtls --disable-libmfx --di >>> sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree >>> --enable-nvenc --disable-ope >>> nal --disable-opencl --disable-opengl --disable-libopenh264 >>> --disable-libopenjpeg --disable-libopenm >>> pt --disable-openssl --disable-libopenvino --enable-optimizations >>> --enable-libopus --disable-pockets >>> phinx --disable-libpulse --disable-librabbitmq --disable-librav1e >>> --disable-librist --enable-runtime >>> -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc >>> --disable-libsmbclient --disab >>> le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex >>> --disable-libsrt --disable-libssh >>> --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract >>> --disable-libtheora --disable-libt >>> wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi >>> --disable-vapoursynth --enable-vdpau --di >>> sable-libvidstab --enable-libvmaf --enable-libvorbis >>> --disable-libvo-amrwbenc --disable-libvpl --ena >>> ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 >>> --enable-libx265 --disable-libxavs2 --e >>> nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg >>> --disable-libzmq --disable-libz >>> vbi >>> libavutil 58. 29.100 / 58. 29.100 >>> libavcodec 60. 31.102 / 60. 31.102 >>> libavformat 60. 16.100 / 60. 16.100 >>> libavdevice 60. 3.100 / 60. 3.100 >>> libavfilter 9. 12.100 / 9. 12.100 >>> libswscale 7. 5.100 / 7. 5.100 >>> libswresample 4. 12.100 / 4. 12.100 >>> libpostproc 57. 3.100 / 57. 3.100 >>> >>> DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 >>> av1 av1_cuvi >>> d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) >>> DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 >>> h264_v4l2m2m >>> h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m >>> h264_vaapi) >>> DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc >>> hevc_v4l2m2 >>> m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) >>> DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg >>> mjpeg_vaapi) >>> DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo >>> mpeg2_v4l2m2m mpeg2_cuvid) >>> (encoders: mpeg2video mpeg2_vaapi) >>> DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) >>> (encoders: libvpx >>> vp8_v4l2m2m vp8_vaapi) >>> DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) >>> (encoders: >>> libvpx-vp9 vp9_vaapi) >>> >>> -- >>> Mario. >>> >> > > -- > Mario. > First, VAAPI is not a codec. It is Video Acceleration-API and is supported by some tools directly, but most often using Mesa or libva-VADPAU. Without VA-API support, the graphics will be handled by the CPU, not the GPU. Both H.264 (AVC) nd H.265 (HVEC) are supported by VAAPI. Are you building ffmpeg from source or installing a package? Patented ports need to be built "NONFREE=3Don" for patented codecs. I am not sure what options the ffmpeg package is built with. Are you sure that Video Acceleration is working on your GPU? I have an Alder Lake Intel GPU and, as of last week, the device in FreeBSD's drivers. (New GPU firmware was added this week, but I have yet to try it to confirm whether it fixes the issue.) Easy check is to play a high res (780 or higher) video. If you have VA-API working, CPU usage will not change much. With VA-API support, it will increase significantly. More accurate check is to install graphics/xdpiinfo and run it (no args) or graphics/glx-utils and run "glxinfo into a pager (more, less, or most). glxinfo is quite verbose. You want to look for "Accelerated:'' about 50 lines from the top. I am not an expert on all of this, but I've learned a bit trying to get my Alder Lake work properly on FreeBSD. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --00000000000030696e060e4ee8f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Jan 6, 2024 at 9:57=E2= =80=AFAM Mario Marietto <marie= tto2008@gmail.com> wrote:
Thanks,=

=D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84= =D9=88=D9=85=D8=A7=D8=AA =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA= =D9=87=D8=A7 =D9=84=D9=8A =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9= =84=D8=AA =D9=84=D8=A7 =D8=A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0= =D8=A7 =D9=83=D8=A7=D9=86 =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88=D9= =85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83=D8= =A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1=D9= =8A=D9=82=D8=A9 =D9=85=D8=A7.

(but the information= that you gave to me is generic. I still don't know if I have a bug and= if I can fix it,in some way).

is VAAPI HEVC encoding patented or not

is VAAPI H264 encoding patented or not



Mehmet Erol Sanliturk



On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto <<= a href=3D"mailto:marietto2008@gmail.com" target=3D"_blank">marietto2008@gma= il.com> wrote:
Hello to everyone.

I&#= 39;m using FreeBSD 14.0-p3 with the latest packages and I'm trying to e= nable the VAAPI H264 / HEVC encoding for obs-studio,but it says that they a= ren't supported. There may be a bug somewhere ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https:= //github.com/llvm/llvm-project.git llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 = H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.


--
Mario.
First, VAAPI=C2=A0 is not a co= dec. It is Video Acceleration-API and is supported by some tools directly, = but most often using Mesa or libva-VADPAU. Without VA-API support, the grap= hics will be handled by the CPU, not the GPU. Both H.264 (AVC) nd H.265 (HV= EC) are supported by VAAPI.

Are you b= uilding ffmpeg from source or installing a package? Patented ports need to = be built "NONFREE=3Don" for patented codecs. I am not sure what o= ptions the ffmpeg package is built with.

Are you sure that Video Acceleration is working on your GPU? I have an Ald= er Lake Intel GPU and, as of last week, the device in FreeBSD's drivers= . (New GPU firmware was added this week, but I have yet to try it to confir= m whether it fixes the issue.) Easy check is to play a high res (780 or hig= her) video. If you have VA-API working, CPU usage will not change much. Wit= h VA-API support, it will increase significantly. More accurate check is to= install graphics/xdpiinfo=C2=A0 and run it (no args) or graphics/glx-utils= and run "glxinfo into a pager (more, less, or most). glxinfo is quite= verbose. You want to look for "Accelerated:'' about 50 lines = from the top.

I am not an expert on = all of this, but I've learned a bit trying to get my Alder Lake work pr= operly on FreeBSD.
--=
Kevin Oberma= n, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
--00000000000030696e060e4ee8f4-- From nobody Sun Jan 7 00:17:31 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 4T6yTG0SJ3z55v0t for ; Sun, 7 Jan 2024 00:18:10 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6yTF6JLVz4YLL for ; Sun, 7 Jan 2024 00:18:09 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5576ca4119cso514148a12.2 for ; Sat, 06 Jan 2024 16:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704586688; x=1705191488; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YYQ2n0w0uH7zSqlIz4NKayOQPP+hQczfOt89ke3orb8=; b=lkSj/SpjuI8oSNgLcgE3WXgGy1aCdNYak9NvespevvL/5PH/Od+VGuRFdeR5OOIFbF ogyfMr+bTvYk+MATUt2M1qFQFpIZf+NqKg9NVa3706Vm6m2eI/Dwk/D+DQRkzxjxwJVD 1QWxvngxQhHbZ8Wr/J4HLxzW1ZTG3ModS2rUV85eArV/fURLqB30Z2zFo65fWjlgRxMR zIreYWZrJAmWR3S/5cUnHkVOGWytMmXCzMr1ff4hEsSA8HfSMJ8Q3C391Ox9nSmENVjQ eXb9J8XkZCPG7cXhQLDX/NK/i+Wv0SgbbeTAT78F16q+dUqpG/lBPdz3YoAucpsGITaB ALMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704586688; x=1705191488; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YYQ2n0w0uH7zSqlIz4NKayOQPP+hQczfOt89ke3orb8=; b=f9su9bVpER5gG5wST7+a12wVfyjVr6slMVnGGOEdcOZphbtzjBztWaIt3RW8TROIZV 0z9YwqL5HceJCbVFCmMxnn8i4uxRvhufJfwTxS2Vqwwd5oAOQzyFMD3MJkZelVzg7y3R I5B7klFiyHyjo4hcsEB4hJYrmWl8xRclVsORsxDoGOOvfDErQpVmJ2dPa7/FQrrOUyJi itlYwRspOngV3FHpVoAw+YvWPuCdFmHN2xd24a38rZH+1dYmuzQZQmtwr0Bm0vCw0cvy RLFGgycpzMuLZvdhFnGKaHGcboJetfGUCDq604bpE0KVmnQMag67mmxNlonly3PfRBum KmhQ== X-Gm-Message-State: AOJu0YzzWadCK2s8O+ozR40jHHUjHfWu4kd7supg7PjTcNIVYfscgQsm cpxP8CDIOhDgwayqqGpccAPN0nm4Nyv1TSrkfE0K7MOEB+oOIA== X-Google-Smtp-Source: AGHT+IF2peoObGcoLgMhetYviHnsRBWfV0dQu1k62fwXQUI2SyQLCjyiZyEFpB2A7MRFaZIPfR5mgL9Dr0adjWUlrgU= X-Received: by 2002:a17:906:a459:b0:a27:f03b:42bb with SMTP id cb25-20020a170906a45900b00a27f03b42bbmr595731ejb.123.1704586688232; Sat, 06 Jan 2024 16:18:08 -0800 (PST) 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 References: In-Reply-To: From: Mario Marietto Date: Sun, 7 Jan 2024 01:17:31 +0100 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Kevin Oberman Cc: Mehmet Erol Sanliturk , multimedia@freebsd.org Content-Type: multipart/alternative; boundary="0000000000000a81b8060e5004ad" X-Rspamd-Queue-Id: 4T6yTF6JLVz4YLL X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --0000000000000a81b8060e5004ad Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Very thanks. root@marietto:/usr/ports/graphics # glxinfo https://pastebin.ubuntu.com/p/RryNptHvsk/ I don't see "Accelerated:'' On Sat, Jan 6, 2024 at 11:58=E2=80=AFPM Kevin Oberman = wrote: > On Sat, Jan 6, 2024 at 9:57=E2=80=AFAM Mario Marietto > wrote: > >> Thanks, >> >> =D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8= =AA =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9= =8A =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 = =D8=A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86= =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88=D9=85=D8=A7 >> =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83=D8=A7=D9= =86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1=D9=8A=D9= =82=D8=A9 =D9=85=D8=A7. >> >> (but the information that you gave to me is generic. I still don't know >> if I have a bug and if I can fix it,in some way). >> >> On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk < >> m.e.sanliturk@gmail.com> wrote: >> >>> >>> Perhaps the following pages may be useful : >>> >>> https://trac.ffmpeg.org/wiki/HWAccelIntro >>> >>> Another issue about video encoders and decoders is patents . >>> >>> >>> >>> https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+no= t&sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A17045574= 79981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4= dUDCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3M= td2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCl= iigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACG= CfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEY= oAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp >>> is VAAPI HEVC encoding patented or not >>> >>> >>> https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+no= t&sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A17045575= 29388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4d= UDCBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3Mt= d2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBi= iBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsA= PiAwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp >>> is VAAPI H264 encoding patented or not >>> >>> >>> >>> Mehmet Erol Sanliturk >>> >>> >>> >>> On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto >>> wrote: >>> >>>> Hello to everyone. >>>> >>>> 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 ? >>>> >>>> start-obs : >>>> >>>> sh << EOF >>>> env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs >>>> EOF >>>> >>>> root@marietto:/compat # ./start-obs >>>> shim init >>>> >>>> info: Using EGL/X11 >>>> info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz >>>> info: CPU Speed: 3600.00MHz >>>> info: Physical Cores: 8, Logical Cores: 16 >>>> info: Physical Memory: 31734MB Total, 19859MB Free >>>> info: Kernel Version: FreeBSD 14.0-RELEASE-p3 >>>> info: Distribution: FreeBSD "14.0" >>>> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: >>>> 1.21.1 >>>> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) >>>> info: Portable mode: false >>>> info: OBS 30.0.2 (freebsd) >>>> info: --------------------------------- >>>> info: --------------------------------- >>>> info: audio settings reset: >>>> samples per sec: 48000 >>>> speakers: 2 >>>> max buffering: 960 milliseconds >>>> buffering type: dynamically increasing >>>> info: --------------------------------- >>>> info: Initializing OpenGL... >>>> 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: --------------------------------- >>>> info: video settings reset: >>>> base resolution: 1920x1080 >>>> output resolution: 1280x720 >>>> downscale filter: Bicubic >>>> fps: 30/1 >>>> format: NV12 >>>> YUV mode: Rec. 709/Partial >>>> info: NV12 texture support not available >>>> info: P010 texture support not available >>>> info: Audio monitoring device: >>>> name: Default >>>> id: default >>>> info: --------------------------------- >>>> info: [pipewire] No captures available >>>> warning: v4l2loopback not installed, virtual camera disabled >>>> info: NVENC supported >>>> >>>> >>>> *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI HEV= C >>>> encoding not supported* >>>> >>>> info: [obs-websocket] [obs_module_load] you can haz websockets >>>> (Version: 5.0.1 | RPC Version: 1) >>>> info: [obs-websocket] [obs_module_load] Qt version (compile-time): >>>> 6.6.1 | Qt version (run-time): 6.6.1 >>>> info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 >>>> info: [obs-websocket] [obs_module_load] Module loaded. >>>> info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled >>>> info: --------------------------------- >>>> info: Loaded Modules: >>>> info: vlc-video.so >>>> info: text-freetype2.so >>>> info: sndio.so >>>> info: rtmp-services.so >>>> info: oss-audio.so >>>> info: obs-x264.so >>>> info: obs-websocket.so >>>> info: obs-webrtc.so >>>> info: obs-transitions.so >>>> info: obs-outputs.so >>>> info: obs-filters.so >>>> info: obs-ffmpeg.so >>>> info: linux-v4l2.so >>>> info: linux-pulseaudio.so >>>> info: linux-pipewire.so >>>> info: linux-jack.so >>>> info: linux-capture.so >>>> info: image-source.so >>>> info: frontend-tools.so >>>> info: --------------------------------- >>>> info: =3D=3D=3D=3D Startup complete >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> info: All scene data cleared >>>> info: ------------------------------------------------ >>>> info: Switched to scene 'Scene' >>>> info: ------------------------------------------------ >>>> info: Loaded scenes: >>>> info: - scene 'Scene': >>>> info: ------------------------------------------------ >>>> info: =3D=3D=3D=3D Shutting down >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> info: All scene data cleared >>>> info: ------------------------------------------------ >>>> info: [obs-websocket] [obs_module_unload] Shutting down... >>>> error: Tried to call obs_frontend_remove_event_callback with no >>>> callbacks! >>>> error: Tried to call obs_frontend_get_global_config with no callbacks! >>>> error: [obs-websocket] [Config::Save] Unable to fetch OBS config! >>>> info: [obs-websocket] [obs_module_unload] Finished shutting down. >>>> info: [Scripting] Total detached callbacks: 0 >>>> info: Freeing OBS context data >>>> info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> info: run_program_init: 663.636 ms >>>> info: =E2=94=A3OBSApp::AppInit: 3.125 ms >>>> info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms >>>> info: =E2=94=97OBSApp::OBSInit: 626.884 ms >>>> info: =E2=94=A3obs_startup: 1.247 ms >>>> info: =E2=94=97OBSBasic::OBSInit: 598.145 ms >>>> info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms >>>> info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms >>>> info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms >>>> info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms >>>> info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms >>>> info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms >>>> info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms >>>> info: =E2=94=A3obs_load_all_modules2: 365.069 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s >>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms >>>> info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms >>>> info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms >>>> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms >>>> info: =E2=94=A3OBSBasic::InitService: 0.773 ms >>>> info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms >>>> info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms >>>> info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms >>>> info: =E2=94=97OBSBasic::Load: 67.014 ms >>>> info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max= =3D10.834 >>>> ms, 99th percentile=3D8.279 ms >>>> , 100% below 25 ms >>>> info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.= 149 ms, >>>> 99th percentile=3D0.101 ms >>>> info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 = ms, >>>> max=3D22.184 ms, 99th percentile >>>> =3D22.184 ms, 100% below 33.333 ms >>>> info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D= 0.658 ms, 99th >>>> percentile=3D0.658 ms >>>> info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D= 8.411 ms, 99th >>>> percentile=3D8.411 ms >>>> info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, m= edian=3D0.211 ms, >>>> max=3D8.41 ms, 99th percentile=3D8. >>>> 41 ms >>>> info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 m= s, max=3D8.379 ms, 99th >>>> percentile=3D8.379 ms >>>> info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms= , median=3D0.098 ms, >>>> max=3D8.356 ms, 99th percentile=3D8.35 >>>> 6 ms >>>> info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, = max=3D7.648 ms, 99th >>>> percentile=3D7.648 ms >>>> info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max= =3D22.032 ms, >>>> 99th percentile=3D22.032 ms >>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>> info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, >>>> max=3D65.219 ms, 91.0569% within =C2=B12% o >>>> f 25 ms (0% lower, 8.94309% higher) >>>> info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.32= 2 ms, >>>> max=3D52.604 ms, 78.8889% with >>>> in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) >>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>> info: Number of memory leaks: 0 >>>> >>>> >>>> * but the vaapi codecs are recognized correctly :* >>>> >>>> >>>> # ffmpeg -codecs | grep vaapi >>>> >>>> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers >>>> built with FreeBSD clang version 16.0.6 ( >>>> https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 >>>> -g7cbf1a259152) >>>> >>>> configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man >>>> --datadir=3D/usr/local/share/ffmpeg --doc >>>> dir=3D/usr/local/share/doc/ffmpeg >>>> --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disab >>>> le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx= =3Dc++ >>>> --disable-alsa --disable-libo >>>> pencore-amrnb --disable-libopencore-amrwb --enable-libaom >>>> --disable-libaribb24 --disable-libaribcapt >>>> ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca >>>> --disable-libcdio --disable-lib >>>> codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 >>>> --disable-debug --enable-htmlpages - >>>> -enable-libdrm --disable-libfdk-aac --disable-libflite >>>> --enable-fontconfig --enable-libfreetype --en >>>> able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang >>>> --disable-libgme --enable-gmp >>>> --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuz= z >>>> --enable-iconv --disable-li >>>> bilbc --disable-libjack --enable-libjxl --disable-libklvanc >>>> --disable-libkvazaar --disable-ladspa -- >>>> enable-libmp3lame --enable-lcms2 --disable-liblensfun >>>> --disable-libbluray --enable-libplacebo --disa >>>> ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 >>>> --disable-mbedtls --disable-libmfx --di >>>> sable-libmodplug --disable-libmysofa --enable-network --disable-nonfre= e >>>> --enable-nvenc --disable-ope >>>> nal --disable-opencl --disable-opengl --disable-libopenh264 >>>> --disable-libopenjpeg --disable-libopenm >>>> pt --disable-openssl --disable-libopenvino --enable-optimizations >>>> --enable-libopus --disable-pockets >>>> phinx --disable-libpulse --disable-librabbitmq --disable-librav1e >>>> --disable-librist --enable-runtime >>>> -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc >>>> --disable-libsmbclient --disab >>>> le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex >>>> --disable-libsrt --disable-libssh >>>> --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract >>>> --disable-libtheora --disable-libt >>>> wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi >>>> --disable-vapoursynth --enable-vdpau --di >>>> sable-libvidstab --enable-libvmaf --enable-libvorbis >>>> --disable-libvo-amrwbenc --disable-libvpl --ena >>>> ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 >>>> --enable-libx265 --disable-libxavs2 --e >>>> nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg >>>> --disable-libzmq --disable-libz >>>> vbi >>>> libavutil 58. 29.100 / 58. 29.100 >>>> libavcodec 60. 31.102 / 60. 31.102 >>>> libavformat 60. 16.100 / 60. 16.100 >>>> libavdevice 60. 3.100 / 60. 3.100 >>>> libavfilter 9. 12.100 / 9. 12.100 >>>> libswscale 7. 5.100 / 7. 5.100 >>>> libswresample 4. 12.100 / 4. 12.100 >>>> libpostproc 57. 3.100 / 57. 3.100 >>>> >>>> DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 >>>> av1 av1_cuvi >>>> d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) >>>> DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 >>>> h264_v4l2m2m >>>> h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m >>>> h264_vaapi) >>>> DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hev= c >>>> hevc_v4l2m2 >>>> m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) >>>> DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpe= g >>>> mjpeg_vaapi) >>>> DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo >>>> mpeg2_v4l2m2m mpeg2_cuvid) >>>> (encoders: mpeg2video mpeg2_vaapi) >>>> DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) >>>> (encoders: libvpx >>>> vp8_v4l2m2m vp8_vaapi) >>>> DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) >>>> (encoders: >>>> libvpx-vp9 vp9_vaapi) >>>> >>>> -- >>>> Mario. >>>> >>> >> >> -- >> Mario. >> > First, VAAPI is not a codec. It is Video Acceleration-API and is > supported by some tools directly, but most often using Mesa or > libva-VADPAU. Without VA-API support, the graphics will be handled by the > CPU, not the GPU. Both H.264 (AVC) nd H.265 (HVEC) are supported by VAAPI= . > > Are you building ffmpeg from source or installing a package? Patented > ports need to be built "NONFREE=3Don" for patented codecs. I am not sure = what > options the ffmpeg package is built with. > > Are you sure that Video Acceleration is working on your GPU? I have an > Alder Lake Intel GPU and, as of last week, the device in FreeBSD's driver= s. > (New GPU firmware was added this week, but I have yet to try it to confir= m > whether it fixes the issue.) Easy check is to play a high res (780 or > higher) video. If you have VA-API working, CPU usage will not change much= . > With VA-API support, it will increase significantly. More accurate check = is > to install graphics/xdpiinfo and run it (no args) or graphics/glx-utils > and run "glxinfo into a pager (more, less, or most). glxinfo is quite > verbose. You want to look for "Accelerated:'' about 50 lines from the top= . > > I am not an expert on all of this, but I've learned a bit trying to get m= y > Alder Lake work properly on FreeBSD. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > --=20 Mario. --0000000000000a81b8060e5004ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Very thanks.

root@marietto:/usr/ports/graphics # glx=
info

I don't see "Accelerated:''

On Sat, Jan 6, 2024 = at 11:58=E2=80=AFPM Kevin Oberman <rkoberman@gmail.com> wrote:
On Sat, Ja= n 6, 2024 at 9:57=E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Thanks,

=D9=84=D9= =83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8=AA =D8=A7=D9= =84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9=8A =D8=B9=D8= =A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 =D8=A3=D8=B9= =D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D9=84=D8= =AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88=D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83= =D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83=D8=A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84= =D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1=D9=8A=D9=82=D8=A9 =D9=85=D8=A7.
=

(but the information that you gave to me is generic. I = still don't know if I have a bug and if I can fix it,in some way).
<= /div>

On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk <m.e.sanliturk@gmail= .com> wrote:
<= br>
Perhaps the f= ollowing pages may be useful :


Another issue about video encoders and decoders is patents = .


is VAAPI HEVC encoding patent= ed or not

On Sat, Jan 6, 2024 = at 5:51=E2=80=AFPM Mario Marietto <marietto2008@gmail.com> wrote:
Hello to= everyone.

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 ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https:= //github.com/llvm/llvm-project.git llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 = H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.


--
Mario.
First, VAAPI=C2=A0 is not a co= dec. It is Video Acceleration-API and is supported by some tools directly, = but most often using Mesa or libva-VADPAU. Without VA-API support, the grap= hics will be handled by the CPU, not the GPU. Both H.264 (AVC) nd H.265 (HV= EC) are supported by VAAPI.

Are you b= uilding ffmpeg from source or installing a package? Patented ports need to = be built "NONFREE=3Don" for patented codecs. I am not sure what o= ptions the ffmpeg package is built with.

Are you sure that Video Acceleration is working on your GPU? I have an Ald= er Lake Intel GPU and, as of last week, the device in FreeBSD's drivers= . (New GPU firmware was added this week, but I have yet to try it to confir= m whether it fixes the issue.) Easy check is to play a high res (780 or hig= her) video. If you have VA-API working, CPU usage will not change much. Wit= h VA-API support, it will increase significantly. More accurate check is to= install graphics/xdpiinfo=C2=A0 and run it (no args) or graphics/glx-utils= and run "glxinfo into a pager (more, less, or most). glxinfo is quite= verbose. You want to look for "Accelerated:'' about 50 lines = from the top.

I am not an expert on = all of this, but I've learned a bit trying to get my Alder Lake work pr= operly on FreeBSD.
--=
Kevin Oberma= n, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


--
Mario.
--0000000000000a81b8060e5004ad-- From nobody Sun Jan 7 00:45:44 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 4T6z5r4fxKz55yFh for ; Sun, 7 Jan 2024 00:46:24 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6z5q44gSz4bTT for ; Sun, 7 Jan 2024 00:46:23 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=a5o3zu0C; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::52e as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5570bef7cb8so751297a12.2 for ; Sat, 06 Jan 2024 16:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704588381; x=1705193181; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ahWb12bMVUalN7Q79KfRZBEtfdZUcdXNS/+ydzhg24s=; b=a5o3zu0CAGas/5p2kLm+eszeXE7f/MTv+20tvQTUslZqnvqgJUHINAPRCThOip6ZdD dxVqEwwjBOkt9u0VcKO1Pjtu4hEVmMND6irVSPf5hJG8RBYW5Rqs6ox94KcjSJ5aGu4i dZC/E3VEYuxSY+gfGBUfmjTKdT55ALTVOvMF8LTrHVotUjpW4DaLL7VX/o2IkPPeltbd a4nvOtIDXWTCLadd3lHNC/KxMYwtP8zPf2r4W4tas1P7o9Apygl/PIZGOvD1Vqr+q//g QYJd1rLo12X2TcdTKO70TA5dO1ZVCOChtRMinJ95Aukuy7vwvBPPWoxgHA3vn1NMald3 nB6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704588381; x=1705193181; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ahWb12bMVUalN7Q79KfRZBEtfdZUcdXNS/+ydzhg24s=; b=qe2/cpNRaGSAfboWVWRpwMDPvQzj/Fac5o5ydPw/+ju+CWGFvq7x4O9G2pzUU36Uou H8daZJKcbyJtXj3xNMj7eUwPDSsulfrrpBxMsS8yW552/SUhI2GjwZs/Pdqgwpl4TNAn rcUuRWRS0wUvBNmQMU76a2hl1HoexmeCl6Uugkwc299LgxB9ARj6oIltNnb9y2cgH7rL BWXZxOnRbfkFvnbdfAvpKrNZDfGewzledCD2M92GtgeuyW7vuJZiepF07fl5OkYNUCTG P0as6KAJPcIW4oUoehGw30hMgBU+pykYMoBn4D/HnO8zWlc80ff0cIMj7wBZdI1W+JYm Z5RA== X-Gm-Message-State: AOJu0Yx90r4bJDKFDSFPH+3eunVtSEukuMHS2IZIDbwxzvzHZXB8g1g3 lg3HTtrg3UJAysJDmXebPIIpKWx3eAUE059RuJBrDVTlJ0eENA== X-Google-Smtp-Source: AGHT+IHyrZcsQztyFhY6qM5bmCN4yyUsbCPs5P1w0VKU1ciSLia03ZGwPBtvgQOb3Ee2APaS8fkhPm3TUdH0rzpg0MA= X-Received: by 2002:a17:906:30ca:b0:a27:f465:298c with SMTP id b10-20020a17090630ca00b00a27f465298cmr606477ejb.124.1704588380417; Sat, 06 Jan 2024 16:46:20 -0800 (PST) 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 References: In-Reply-To: From: Mario Marietto Date: Sun, 7 Jan 2024 01:45:44 +0100 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Kevin Oberman Cc: Mehmet Erol Sanliturk , multimedia@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e73292060e5068ca" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52e:from]; PREVIOUSLY_DELIVERED(0.00)[multimedia@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[multimedia@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4T6z5q44gSz4bTT --000000000000e73292060e5068ca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable if VAAPI should be enabled should be defined when I compile OBS ? because vaapi is enabled in ffmpeg but not in OBS and not in mpv : nano /home/marietto/.config/mpv/mpv.conf vo=3Dgpu hwdec=3Dvaapi nano /root/.config/mpv/mpv.conf vo=3Dgpu hwdec=3Dvaapi # mpv ciao.mp4 (+) Video --vid=3D1 (*) (h264 640x480 25.000fps) (+) Audio --aid=3D1 (*) (aac 2ch 24000Hz) Title: ciao.mp4 AO: [oss] 24000Hz stereo 2ch s32 VO: [gpu] 640x480 =3D> 640x511 yuv420p Exiting... (Quit) # ffmpeg -codecs | grep vaapi ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers built with FreeBSD clang version 16.0.6 ( https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 -g7cbf1a259152) configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir=3D/usr/local/share/ffmpeg --doc dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ --disable-alsa --disable-libo pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libaribb24 --disable-libaribcapt ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-lib codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages - -enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --en able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-li bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkvazaar --disable-ladspa -- enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray --enable-libplacebo --disa ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbedtls --disable-libmfx --di sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --enable-nvenc --disable-ope nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenm pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-libopus --disable-pockets phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable-librist --enable-runtime -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --disable-libsmbclient --disab le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --disable-libssh --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libt wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --di sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbenc --disable-libvpl --ena ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --e nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --disable-libzmq --disable-libz vbi libavutil 58. 29.100 / 58. 29.100 libavcodec 60. 31.102 / 60. 31.102 libavformat 60. 16.100 / 60. 16.100 libavdevice 60. 3.100 / 60. 3.100 libavfilter 9. 12.100 / 9. 12.100 libswscale 7. 5.100 / 7. 5.100 libswresample 4. 12.100 / 4. 12.100 libpostproc 57. 3.100 / 57. 3.100 DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 av1 av1_cuvi d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaapi) DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2m2 m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg mjpeg_vaapi) DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_cuvid) (encoders: mpeg2video mpeg2_vaapi) DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders: libvpx vp8_v4l2m2m vp8_vaapi) DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) (encoders: libvpx-vp9 vp9_vaapi) On Sun, Jan 7, 2024 at 1:17=E2=80=AFAM Mario Marietto wrote: > Very thanks. > > root@marietto:/usr/ports/graphics # glxinfo > > https://pastebin.ubuntu.com/p/RryNptHvsk/ > > I don't see "Accelerated:'' > > On Sat, Jan 6, 2024 at 11:58=E2=80=AFPM Kevin Oberman wrote: > >> On Sat, Jan 6, 2024 at 9:57=E2=80=AFAM Mario Marietto >> wrote: >> >>> Thanks, >>> >>> =D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8= =AA =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9= =8A =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 = =D8=A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86= =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88=D9=85=D8=A7 >>> =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83=D8=A7=D9= =86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1=D9=8A=D9= =82=D8=A9 =D9=85=D8=A7. >>> >>> (but the information that you gave to me is generic. I still don't know >>> if I have a bug and if I can fix it,in some way). >>> >>> On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk < >>> m.e.sanliturk@gmail.com> wrote: >>> >>>> >>>> Perhaps the following pages may be useful : >>>> >>>> https://trac.ffmpeg.org/wiki/HWAccelIntro >>>> >>>> Another issue about video encoders and decoders is patents . >>>> >>>> >>>> >>>> https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+n= ot&sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557= 479981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ= 4dUDCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3= Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyC= liigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLAC= GCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECE= YoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp >>>> is VAAPI HEVC encoding patented or not >>>> >>>> >>>> https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+n= ot&sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557= 529388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4= dUDCBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3M= td2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABB= iiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYs= APiAwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp >>>> is VAAPI H264 encoding patented or not >>>> >>>> >>>> >>>> Mehmet Erol Sanliturk >>>> >>>> >>>> >>>> On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto >>>> wrote: >>>> >>>>> Hello to everyone. >>>>> >>>>> 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 ? >>>>> >>>>> start-obs : >>>>> >>>>> sh << EOF >>>>> env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs >>>>> EOF >>>>> >>>>> root@marietto:/compat # ./start-obs >>>>> shim init >>>>> >>>>> info: Using EGL/X11 >>>>> info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz >>>>> info: CPU Speed: 3600.00MHz >>>>> info: Physical Cores: 8, Logical Cores: 16 >>>>> info: Physical Memory: 31734MB Total, 19859MB Free >>>>> info: Kernel Version: FreeBSD 14.0-RELEASE-p3 >>>>> info: Distribution: FreeBSD "14.0" >>>>> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: >>>>> 1.21.1 >>>>> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) >>>>> info: Portable mode: false >>>>> info: OBS 30.0.2 (freebsd) >>>>> info: --------------------------------- >>>>> info: --------------------------------- >>>>> info: audio settings reset: >>>>> samples per sec: 48000 >>>>> speakers: 2 >>>>> max buffering: 960 milliseconds >>>>> buffering type: dynamically increasing >>>>> info: --------------------------------- >>>>> info: Initializing OpenGL... >>>>> 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: --------------------------------- >>>>> info: video settings reset: >>>>> base resolution: 1920x1080 >>>>> output resolution: 1280x720 >>>>> downscale filter: Bicubic >>>>> fps: 30/1 >>>>> format: NV12 >>>>> YUV mode: Rec. 709/Partial >>>>> info: NV12 texture support not available >>>>> info: P010 texture support not available >>>>> info: Audio monitoring device: >>>>> name: Default >>>>> id: default >>>>> info: --------------------------------- >>>>> info: [pipewire] No captures available >>>>> warning: v4l2loopback not installed, virtual camera disabled >>>>> info: NVENC supported >>>>> >>>>> >>>>> *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI >>>>> HEVC encoding not supported* >>>>> >>>>> info: [obs-websocket] [obs_module_load] you can haz websockets >>>>> (Version: 5.0.1 | RPC Version: 1) >>>>> info: [obs-websocket] [obs_module_load] Qt version (compile-time): >>>>> 6.6.1 | Qt version (run-time): 6.6.1 >>>>> info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 >>>>> info: [obs-websocket] [obs_module_load] Module loaded. >>>>> info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enable= d >>>>> info: --------------------------------- >>>>> info: Loaded Modules: >>>>> info: vlc-video.so >>>>> info: text-freetype2.so >>>>> info: sndio.so >>>>> info: rtmp-services.so >>>>> info: oss-audio.so >>>>> info: obs-x264.so >>>>> info: obs-websocket.so >>>>> info: obs-webrtc.so >>>>> info: obs-transitions.so >>>>> info: obs-outputs.so >>>>> info: obs-filters.so >>>>> info: obs-ffmpeg.so >>>>> info: linux-v4l2.so >>>>> info: linux-pulseaudio.so >>>>> info: linux-pipewire.so >>>>> info: linux-jack.so >>>>> info: linux-capture.so >>>>> info: image-source.so >>>>> info: frontend-tools.so >>>>> info: --------------------------------- >>>>> info: =3D=3D=3D=3D Startup complete >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> info: All scene data cleared >>>>> info: ------------------------------------------------ >>>>> info: Switched to scene 'Scene' >>>>> info: ------------------------------------------------ >>>>> info: Loaded scenes: >>>>> info: - scene 'Scene': >>>>> info: ------------------------------------------------ >>>>> info: =3D=3D=3D=3D Shutting down >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>>> info: All scene data cleared >>>>> info: ------------------------------------------------ >>>>> info: [obs-websocket] [obs_module_unload] Shutting down... >>>>> error: Tried to call obs_frontend_remove_event_callback with no >>>>> callbacks! >>>>> error: Tried to call obs_frontend_get_global_config with no callbacks= ! >>>>> error: [obs-websocket] [Config::Save] Unable to fetch OBS config! >>>>> info: [obs-websocket] [obs_module_unload] Finished shutting down. >>>>> info: [Scripting] Total detached callbacks: 0 >>>>> info: Freeing OBS context data >>>>> info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> info: run_program_init: 663.636 ms >>>>> info: =E2=94=A3OBSApp::AppInit: 3.125 ms >>>>> info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms >>>>> info: =E2=94=97OBSApp::OBSInit: 626.884 ms >>>>> info: =E2=94=A3obs_startup: 1.247 ms >>>>> info: =E2=94=97OBSBasic::OBSInit: 598.145 ms >>>>> info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms >>>>> info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms >>>>> info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms >>>>> info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms >>>>> info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms >>>>> info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms >>>>> info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms >>>>> info: =E2=94=A3obs_load_all_modules2: 365.069 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 m= s >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 = ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms >>>>> info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 m= s >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms >>>>> info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms >>>>> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms >>>>> info: =E2=94=A3OBSBasic::InitService: 0.773 ms >>>>> info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms >>>>> info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms >>>>> info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms >>>>> info: =E2=94=97OBSBasic::Load: 67.014 ms >>>>> info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, >>>>> max=3D10.834 ms, 99th percentile=3D8.279 ms >>>>> , 100% below 25 ms >>>>> info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0= .149 >>>>> ms, 99th percentile=3D0.101 ms >>>>> info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987= ms, >>>>> max=3D22.184 ms, 99th percentile >>>>> =3D22.184 ms, 100% below 33.333 ms >>>>> info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max= =3D0.658 ms, 99th >>>>> percentile=3D0.658 ms >>>>> info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max= =3D8.411 ms, 99th >>>>> percentile=3D8.411 ms >>>>> info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, = median=3D0.211 ms, >>>>> max=3D8.41 ms, 99th percentile=3D8. >>>>> 41 ms >>>>> info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 = ms, max=3D8.379 ms, >>>>> 99th percentile=3D8.379 ms >>>>> info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 m= s, median=3D0.098 ms, >>>>> max=3D8.356 ms, 99th percentile=3D8.35 >>>>> 6 ms >>>>> info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms,= max=3D7.648 ms, 99th >>>>> percentile=3D7.648 ms >>>>> info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, ma= x=3D22.032 ms, >>>>> 99th percentile=3D22.032 ms >>>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>>> info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, >>>>> max=3D65.219 ms, 91.0569% within =C2=B12% o >>>>> f 25 ms (0% lower, 8.94309% higher) >>>>> info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.3= 22 >>>>> ms, max=3D52.604 ms, 78.8889% with >>>>> in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) >>>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>>> info: Number of memory leaks: 0 >>>>> >>>>> >>>>> * but the vaapi codecs are recognized correctly :* >>>>> >>>>> >>>>> # ffmpeg -codecs | grep vaapi >>>>> >>>>> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers >>>>> built with FreeBSD clang version 16.0.6 ( >>>>> https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 >>>>> -g7cbf1a259152) >>>>> >>>>> configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man >>>>> --datadir=3D/usr/local/share/ffmpeg --doc >>>>> dir=3D/usr/local/share/doc/ffmpeg >>>>> --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disa= b >>>>> le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx= =3Dc++ >>>>> --disable-alsa --disable-libo >>>>> pencore-amrnb --disable-libopencore-amrwb --enable-libaom >>>>> --disable-libaribb24 --disable-libaribcapt >>>>> ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca >>>>> --disable-libcdio --disable-lib >>>>> codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 >>>>> --disable-debug --enable-htmlpages - >>>>> -enable-libdrm --disable-libfdk-aac --disable-libflite >>>>> --enable-fontconfig --enable-libfreetype --en >>>>> able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslan= g >>>>> --disable-libgme --enable-gmp >>>>> --enable-gnutls --enable-version3 --disable-libgsm >>>>> --enable-libharfbuzz --enable-iconv --disable-li >>>>> bilbc --disable-libjack --enable-libjxl --disable-libklvanc >>>>> --disable-libkvazaar --disable-ladspa -- >>>>> enable-libmp3lame --enable-lcms2 --disable-liblensfun >>>>> --disable-libbluray --enable-libplacebo --disa >>>>> ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 >>>>> --disable-mbedtls --disable-libmfx --di >>>>> sable-libmodplug --disable-libmysofa --enable-network >>>>> --disable-nonfree --enable-nvenc --disable-ope >>>>> nal --disable-opencl --disable-opengl --disable-libopenh264 >>>>> --disable-libopenjpeg --disable-libopenm >>>>> pt --disable-openssl --disable-libopenvino --enable-optimizations >>>>> --enable-libopus --disable-pockets >>>>> phinx --disable-libpulse --disable-librabbitmq --disable-librav1e >>>>> --disable-librist --enable-runtime >>>>> -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc >>>>> --disable-libsmbclient --disab >>>>> le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex >>>>> --disable-libsrt --disable-libssh >>>>> --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract >>>>> --disable-libtheora --disable-libt >>>>> wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi >>>>> --disable-vapoursynth --enable-vdpau --di >>>>> sable-libvidstab --enable-libvmaf --enable-libvorbis >>>>> --disable-libvo-amrwbenc --disable-libvpl --ena >>>>> ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 >>>>> --enable-libx265 --disable-libxavs2 --e >>>>> nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzim= g >>>>> --disable-libzmq --disable-libz >>>>> vbi >>>>> libavutil 58. 29.100 / 58. 29.100 >>>>> libavcodec 60. 31.102 / 60. 31.102 >>>>> libavformat 60. 16.100 / 60. 16.100 >>>>> libavdevice 60. 3.100 / 60. 3.100 >>>>> libavfilter 9. 12.100 / 9. 12.100 >>>>> libswscale 7. 5.100 / 7. 5.100 >>>>> libswresample 4. 12.100 / 4. 12.100 >>>>> libpostproc 57. 3.100 / 57. 3.100 >>>>> >>>>> DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 >>>>> av1 av1_cuvi >>>>> d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) >>>>> DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 >>>>> h264_v4l2m2m >>>>> h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m >>>>> h264_vaapi) >>>>> DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: >>>>> hevc hevc_v4l2m2 >>>>> m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) >>>>> DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: >>>>> mjpeg mjpeg_vaapi) >>>>> DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo >>>>> mpeg2_v4l2m2m mpeg2_cuvid) >>>>> (encoders: mpeg2video mpeg2_vaapi) >>>>> DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) >>>>> (encoders: libvpx >>>>> vp8_v4l2m2m vp8_vaapi) >>>>> DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid= ) >>>>> (encoders: >>>>> libvpx-vp9 vp9_vaapi) >>>>> >>>>> -- >>>>> Mario. >>>>> >>>> >>> >>> -- >>> Mario. >>> >> First, VAAPI is not a codec. It is Video Acceleration-API and is >> supported by some tools directly, but most often using Mesa or >> libva-VADPAU. Without VA-API support, the graphics will be handled by th= e >> CPU, not the GPU. Both H.264 (AVC) nd H.265 (HVEC) are supported by VAAP= I. >> >> Are you building ffmpeg from source or installing a package? Patented >> ports need to be built "NONFREE=3Don" for patented codecs. I am not sure= what >> options the ffmpeg package is built with. >> >> Are you sure that Video Acceleration is working on your GPU? I have an >> Alder Lake Intel GPU and, as of last week, the device in FreeBSD's drive= rs. >> (New GPU firmware was added this week, but I have yet to try it to confi= rm >> whether it fixes the issue.) Easy check is to play a high res (780 or >> higher) video. If you have VA-API working, CPU usage will not change muc= h. >> With VA-API support, it will increase significantly. More accurate check= is >> to install graphics/xdpiinfo and run it (no args) or graphics/glx-utils >> and run "glxinfo into a pager (more, less, or most). glxinfo is quite >> verbose. You want to look for "Accelerated:'' about 50 lines from the to= p. >> >> I am not an expert on all of this, but I've learned a bit trying to get >> my Alder Lake work properly on FreeBSD. >> -- >> Kevin Oberman, Part time kid herder and retired Network Engineer >> E-mail: rkoberman@gmail.com >> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >> > > > -- > Mario. > --=20 Mario. --000000000000e73292060e5068ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
if VAAPI should be enabled should be defined when I c= ompile OBS ? because vaapi is enabled in ffmpeg but not in OBS and not in m= pv :

nano /home/marietto/.config/mpv/mpv.conf
=09 =09
vo=3Dgpu
hwdec=3Dvaapi

=09 =09
nano /root/.config/mpv/mpv.conf
vo=3Dgpu
hwdec=3Dvaapi
# mpv ciao.mp4

(+) Video --vid=3D1 (*) (h264 640x480 25.000fps)
(+) Audio --aid=3D1 (*) (aac 2ch 24000Hz)
Title: ciao.mp4
AO: [oss] 24000Hz stereo 2ch s32
VO: [gpu] 640x480 =3D> 640x511 yuv420p
Exiting... (Quit)

# ffmpeg -codecs |= grep vaapi


<= span style=3D"font-family:monospace">ffmpeg version 6.1 Copyright (c) 2000-= 2023 the FFmpeg developers
=C2=A0built with FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git = llvmorg-16.0.6-0
-g7cbf1a259152)
=C2=A0configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man -= -datadir=3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmp= eg --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disable-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc+= + --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrw= b --enable-libaom --disable-libaribb24 --disable-libaribcapt
ion --enabl= e-asm --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio= --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-lib= dc1394 --disable-debug --enable-htmlpages -
-enable-libdrm --disable-lib= fdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --d= isable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-= libgsm --enable-libharfbuzz --enable-iconv --disable-li
bilbc --disable-= libjack --enable-libjxl --disable-libklvanc --disable-libkvazaar --disable-= ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disabl= e-libbluray --enable-libplacebo --disa
ble-librsvg --disable-librtmp --e= nable-libxml2 --disable-lv2 --disable-mbedtls --disable-libmfx --di
sabl= e-libmodplug --disable-libmysofa --enable-network --disable-nonfree --enabl= e-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-li= bopenh264 --disable-libopenjpeg --disable-libopenm
pt --disable-openssl = --disable-libopenvino --enable-optimizations --enable-libopus --disable-poc= kets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e -= -disable-librist --enable-runtime
-cpudetect --disable-librubberband --d= isable-sdl2 --enable-libshaderc --disable-libsmbclient --disab
le-libsna= ppy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt -= -disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-li= btesseract --disable-libtheora --disable-libt
wolame --disable-libuavs3d= --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --di<= br>sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amr= wbenc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp= --enable-libx264 --enable-libx265 --disable-libxavs2 --e
nable-libxcb -= -disable-libxvid --disable-outdev=3Dxv --disable-libzimg --disable-libzmq -= -disable-libz
vbi


=C2=A0libavutil =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A058. 29.100 / 58. 29.100
=C2=A0libavcodec =C2=A0=C2=A0=C2=A0=C2=A060. 31.102 / 60. 31.102
=C2=A0libavformat =C2=A0=C2=A0=C2=A060. 16.100 / 60. 16.100
=C2=A0libavdevice =C2=A0=C2=A0=C2=A060. =C2=A03.100 / 60. =C2=A03.100
=C2=A0libavfilter =C2=A0=C2=A0=C2=A0=C2=A09. 12.100 / =C2=A09. 12.100
=C2=A0libswscale =C2=A0=C2=A0=C2=A0=C2=A0=C2=A07. =C2=A05.100 / =C2=A0= 7. =C2=A05.100
=C2=A0libswresample =C2=A0=C2=A04. 12.100 / =C2=A04. 12.100
=C2=A0libpostproc =C2=A0=C2=A0=C2=A057. =C2=A03.100 / 57. =C2=A03.100 =


DEV.L. av1 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Allian= ce for Open Media AV1 (decoders: libdav1d libaom-av1 av1 av1_cuvi
d) (en= coders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)

DEV= .LS h264 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0H.264 / AVC / MPEG-4 AVC / MPEG-4 part = 10 (decoders: h264 h264_v4l2m2m
h264_cuvid) (encoders: libx264 libx264r= gb h264_nvenc h264_v4l2m2m h264_vaapi)

DEV.L. hevc =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2= m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)

DEVIL. mjpeg =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg mjpeg_vaapi)

DEV.L. mpeg2video =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0MPEG-2 video (decoders: = mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video m= peg2_vaapi)

DEV.L. vp8 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders: li= bvpx
vp8_v4l2m2m vp8_vaapi)

DEV.L. vp9 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) (encod= ers:
libvpx-vp9 vp9_vaapi)

On Sun, Jan 7, 2024 at 1:17= =E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Very thanks.

root@marietto:/usr/ports/graphics=
 # glxinfo


On Sat, Jan 6, 2024 at 9:57=E2=80=AFAM Mario = Marietto <ma= rietto2008@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">
Than= ks,

=D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9= =84=D9=88=D9=85=D8=A7=D8=AA =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8= =AA=D9=87=D8=A7 =D9=84=D9=8A =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2= =D9=84=D8=AA =D9=84=D8=A7 =D8=A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8= =B0=D8=A7 =D9=83=D8=A7=D9=86 =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88= =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83= =D8=A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1= =D9=8A=D9=82=D8=A9 =D9=85=D8=A7.

(but the informat= ion that you gave to me is generic. I still don't know if I have a bug = and if I can fix it,in some way).

On Sat, Jan 6, 2024 at 5:23=E2= =80=AFPM Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> wrote:

Perhaps the following pages may be useful :


Another issue abou= t video encoders and decoders is patents .


is VAAPI HEVC encoding patented or not

is VAAPI H264 encoding patented or not
=



Mehmet Erol Sanliturk



On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto= <marietto20= 08@gmail.com> wrote:
Hello to everyone.

I'm using FreeBSD 14.0-p3 with the latest packages and I'm tryin= g to enable the VAAPI H264 / HEVC encoding for obs-studio,but it says that = they aren't supported. There may be a bug somewhere ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https:= //github.com/llvm/llvm-project.git llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 = H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.


--
Mario.
First, VAAPI=C2=A0 is not a co= dec. It is Video Acceleration-API and is supported by some tools directly, = but most often using Mesa or libva-VADPAU. Without VA-API support, the grap= hics will be handled by the CPU, not the GPU. Both H.264 (AVC) nd H.265 (HV= EC) are supported by VAAPI.

Are you b= uilding ffmpeg from source or installing a package? Patented ports need to = be built "NONFREE=3Don" for patented codecs. I am not sure what o= ptions the ffmpeg package is built with.

Are you sure that Video Acceleration is working on your GPU? I have an Ald= er Lake Intel GPU and, as of last week, the device in FreeBSD's drivers= . (New GPU firmware was added this week, but I have yet to try it to confir= m whether it fixes the issue.) Easy check is to play a high res (780 or hig= her) video. If you have VA-API working, CPU usage will not change much. Wit= h VA-API support, it will increase significantly. More accurate check is to= install graphics/xdpiinfo=C2=A0 and run it (no args) or graphics/glx-utils= and run "glxinfo into a pager (more, less, or most). glxinfo is quite= verbose. You want to look for "Accelerated:'' about 50 lines = from the top.

I am not an expert on = all of this, but I've learned a bit trying to get my Alder Lake work pr= operly on FreeBSD.
--=
Kevin Oberma= n, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


--
Mario.


--
Mario.
--000000000000e73292060e5068ca-- From nobody Sun Jan 7 05:06:37 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 4T74tq0ZClz56WPL for ; Sun, 7 Jan 2024 05:07:15 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T74tp4L1Bz52NK for ; Sun, 7 Jan 2024 05:07:14 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-7811db57cb4so76659985a.0 for ; Sat, 06 Jan 2024 21:07:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704604034; x=1705208834; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XuBIokBkSTByrh29Ecz83OlPUTtwjdUu9ABDRwHql80=; b=GL/lhLfm6szrN9w2U+/gwsrPW7GPrKTR5hz581mvJ1lCJs6Yde6r41ShrWmsJRejhq beRQM8EADNJ386C0xoGYn5FXZZgjQS+gLSwJN0bduFXl4FQFxvfsSsd7YQ/uL7vHF6x/ oBczdZ5xrMzGwboXEZgEKzWt5++k+knCiE9p+fSk/ZGE7LQD7FLNguK6bsvSn5Ez9yZm SobubS2bVs3xmI+cEFk0fTojGT+aF37UE9ynW3x34zL734sc+1w+N8cU5VQNw4KBWsG+ 4UR6p93SEdsBTzuxG/YU4RZVM4x2RdBv3tKWbnmapIRqXBXcvj1h8ZE4rww75tjZd7s/ vKUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704604034; x=1705208834; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XuBIokBkSTByrh29Ecz83OlPUTtwjdUu9ABDRwHql80=; b=dpixnQNZy3KP7cuw3uQxQBBUNRLJWHwmo3owd2llqno78j7vlUzPOOySIw/sBohPMg oQmVdSdN92PCvOH7oEiZXTgovR4oeBfCgb9AGmo4uV37UehPSkLNV1QsdkQZb9BMxcfl HwJwDZUxgKZ4eUph9KwAXqI8MIXVaZXGhLcfQGglos/TzIlSHycsN+924zq8lUizKJPG ViWfLwZifIUHH3CJ5pMMautnOKFg/mOGCn6hLijl5Wm0hoD5iFJ8o45MZSV7/Q6ocrjK C7c2fSf+td+pW3G6qxbn7BciNqj2nhVmHO13zqFAAYJ8uVEzReVtyVwzCyuPWYt9f5yh iZpA== X-Gm-Message-State: AOJu0YwyQ+455ct6ZfuQQjESbpGaFQtpLcAmzDyK8xmrAbjUYGgbUpv7 bSiqyFfeHZGhmUXD0sx9LtnmfcJpsbUFsJpLM1lAWujzGrk= X-Google-Smtp-Source: AGHT+IGbn1aQen/erO8Jyq6OBH3ym/FTSsJXtxdh8DWsLXDxy/CjAgTkvoZ/8mbYXnIp49d/mfAX1qOenqSYC4SDung= X-Received: by 2002:a05:620a:298b:b0:781:e4cd:785a with SMTP id r11-20020a05620a298b00b00781e4cd785amr7108482qkp.21.1704604033617; Sat, 06 Jan 2024 21:07:13 -0800 (PST) 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 References: In-Reply-To: From: Mehmet Erol Sanliturk Date: Sun, 7 Jan 2024 08:06:37 +0300 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Mario Marietto Cc: Kevin Oberman , multimedia@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e81553060e540d8c" X-Rspamd-Queue-Id: 4T74tp4L1Bz52NK X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000e81553060e540d8c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable H264 and HEVC are patented and require a license to use them : https://www.google.com/search?q=3Dis+h264+patented+or+not&sca_esv=3D5962985= 80&sxsrf=3DAM9HkKkCbasJ_rZxhBZ0CfT-WedIb0IxqA%3A1704601707318&source=3Dhp&e= i=3DayiaZevMEfSFxc8PuIePiAM&iflsig=3DAO6bgOgAAAAAZZo2ex_xUaqw07FHPI8bDgaMJd= 3jqyo-&ved=3D0ahUKEwirrvyZuMqDAxX0QvEDHbjDAzEQ4dUDCAo&uact=3D5&oq=3Dis+h264= +patented+or+not&gs_lp=3DEgdnd3Mtd2l6IhdpcyBoMjY0IHBhdGVudGVkIG9yIG5vdDIFEC= EYoAFI6H5QAFjjYHAAeACQAQCYAYUBoAG5EqoBBDguMTW4AQPIAQD4AQHCAgwQIxiABBiKBRgTG= CfCAgQQIxgnwgIFEAAYgATCAgsQLhiABBjHARjRA8ICChAjGIAEGIoFGCfCAgUQLhiABMICBxAA= GIAEGArCAggQABgWGB4YCsICBhAAGBYYHsICCxAAGIAEGIoFGIYDwgIIEAAYFhgeGA8&sclient= =3Dgws-wiz is h264 patented or not https://en.wikipedia.org/wiki/Advanced_Video_Coding Advanced Video Coding https://www.google.com/search?q=3Dis+hevc+patented+or+not&sca_esv=3D5962985= 80&sxsrf=3DAM9HkKny-qeovZ7VtTHG1QfE01reA-dGmA%3A1704601726231&ei=3DfiiaZbvh= DYuGxc8PmompiA0&ved=3D0ahUKEwi7mICjuMqDAxULQ_EDHZpECtEQ4dUDCBA&uact=3D5&oq= =3Dis+hevc+patented+or+not&gs_lp=3DEgxnd3Mtd2l6LXNlcnAiF2lzIGhldmMgcGF0ZW50= ZWQgb3Igbm90MggQABiABBiiBDIIEAAYgAQYogRItaYTUJv6EljLkRNwBHgBkAEAmAF4oAGCBao= BAzIuNLgBA8gBAPgBAcICChAAGEcY1gQYsAPCAggQABgIGAcYHsICCxAAGIAEGIoFGIYD4gMEGA= AgQYgGAZAGCA&sclient=3Dgws-wiz-serp is hevc patented or not https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding High Efficiency Video Coding In your FFmpeg configuration : --disable-nonfree Therefore FFmpeg will not be applicable to these codecs . You may test your system by working with .webm , .vp8 , or .vp9 codecs . These are patent-free . I do not know OBS . It is also necessary to check its documentation and configuration whether it ignores non-free codecs or passes them to the used program for handling them . Another point is GPU hardware . If GPU is able to handle patented codecs ( obviously this requires required licenses are available to hardware for GPU ) , then configuration of your FFmpeg and encompassing programs using the FFmpeg can be configured to use GPU supplied facilities . I do not know exactly if FFmpeg has a facility for this case . Please check FFmpeg documentation . Mehmet Erol Sanliturk On Sun, Jan 7, 2024 at 3:46=E2=80=AFAM Mario Marietto wrote: > if VAAPI should be enabled should be defined when I compile OBS ? because > vaapi is enabled in ffmpeg but not in OBS and not in mpv : > > nano /home/marietto/.config/mpv/mpv.conf > > vo=3Dgpu > hwdec=3Dvaapi > > > nano /root/.config/mpv/mpv.conf > > vo=3Dgpu > hwdec=3Dvaapi > > # mpv ciao.mp4 > > (+) Video --vid=3D1 (*) (h264 640x480 25.000fps) > (+) Audio --aid=3D1 (*) (aac 2ch 24000Hz) > Title: ciao.mp4 > AO: [oss] 24000Hz stereo 2ch s32 > VO: [gpu] 640x480 =3D> 640x511 yuv420p > Exiting... (Quit) > > > # ffmpeg -codecs | grep vaapi > > > ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers > built with FreeBSD clang version 16.0.6 ( > https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 > -g7cbf1a259152) > configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man > --datadir=3D/usr/local/share/ffmpeg --doc > dir=3D/usr/local/share/doc/ffmpeg > --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disab > le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc+= + > --disable-alsa --disable-libo > pencore-amrnb --disable-libopencore-amrwb --enable-libaom > --disable-libaribb24 --disable-libaribcapt > ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca > --disable-libcdio --disable-lib > codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 > --disable-debug --enable-htmlpages - > -enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfi= g > --enable-libfreetype --en > able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang > --disable-libgme --enable-gmp > --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz > --enable-iconv --disable-li > bilbc --disable-libjack --enable-libjxl --disable-libklvanc > --disable-libkvazaar --disable-ladspa -- > enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray > --enable-libplacebo --disa > ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 > --disable-mbedtls --disable-libmfx --di > sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree > --enable-nvenc --disable-ope > nal --disable-opencl --disable-opengl --disable-libopenh264 > --disable-libopenjpeg --disable-libopenm > pt --disable-openssl --disable-libopenvino --enable-optimizations > --enable-libopus --disable-pockets > phinx --disable-libpulse --disable-librabbitmq --disable-librav1e > --disable-librist --enable-runtime > -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc > --disable-libsmbclient --disab > le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex > --disable-libsrt --disable-libssh > --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract > --disable-libtheora --disable-libt > wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi > --disable-vapoursynth --enable-vdpau --di > sable-libvidstab --enable-libvmaf --enable-libvorbis > --disable-libvo-amrwbenc --disable-libvpl --ena > ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 > --enable-libx265 --disable-libxavs2 --e > nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg > --disable-libzmq --disable-libz > vbi > > > libavutil 58. 29.100 / 58. 29.100 > libavcodec 60. 31.102 / 60. 31.102 > libavformat 60. 16.100 / 60. 16.100 > libavdevice 60. 3.100 / 60. 3.100 > libavfilter 9. 12.100 / 9. 12.100 > libswscale 7. 5.100 / 7. 5.100 > libswresample 4. 12.100 / 4. 12.100 > libpostproc 57. 3.100 / 57. 3.100 > > > DEV.L. av1 Alliance for Open Media AV1 (decoders: > libdav1d libaom-av1 av1 av1_cuvi > d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) > > DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 > (decoders: h264 h264_v4l2m2m > h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m > h264_vaapi) > > DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) > (decoders: hevc hevc_v4l2m2 > m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) > > DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) > (encoders: mjpeg mjpeg_vaapi) > > DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo > mpeg2_v4l2m2m mpeg2_cuvid) > (encoders: mpeg2video mpeg2_vaapi) > > DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx > vp8_cuvid) (encoders: libvpx > vp8_v4l2m2m vp8_vaapi) > > DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m > libvpx-vp9 vp9_cuvid) (encoders: > libvpx-vp9 vp9_vaapi) > > On Sun, Jan 7, 2024 at 1:17=E2=80=AFAM Mario Marietto > wrote: > >> Very thanks. >> >> root@marietto:/usr/ports/graphics # glxinfo >> >> https://pastebin.ubuntu.com/p/RryNptHvsk/ >> >> I don't see "Accelerated:'' >> >> On Sat, Jan 6, 2024 at 11:58=E2=80=AFPM Kevin Oberman >> wrote: >> >>> On Sat, Jan 6, 2024 at 9:57=E2=80=AFAM Mario Marietto >>> wrote: >>> >>>> Thanks, >>>> >>>> =D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8= =AA =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9= =8A =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 = =D8=A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86= =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 >>>> =D9=88=D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5= =D9=85=D9=83=D8=A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8= =D8=B7=D8=B1=D9=8A=D9=82=D8=A9 =D9=85=D8=A7. >>>> >>>> (but the information that you gave to me is generic. I still don't kno= w >>>> if I have a bug and if I can fix it,in some way). >>>> >>>> On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk < >>>> m.e.sanliturk@gmail.com> wrote: >>>> >>>>> >>>>> Perhaps the following pages may be useful : >>>>> >>>>> https://trac.ffmpeg.org/wiki/HWAccelIntro >>>>> >>>>> Another issue about video encoders and decoders is patents . >>>>> >>>>> >>>>> >>>>> https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+= not&sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A170455= 7479981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlM= Q4dUDCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd= 3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDy= CliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLA= CGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFEC= EYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp >>>>> is VAAPI HEVC encoding patented or not >>>>> >>>>> >>>>> https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+= not&sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A170455= 7529388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ= 4dUDCBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3= Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiAB= BiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQY= sAPiAwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp >>>>> is VAAPI H264 encoding patented or not >>>>> >>>>> >>>>> >>>>> Mehmet Erol Sanliturk >>>>> >>>>> >>>>> >>>>> On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto >>>>> wrote: >>>>> >>>>>> Hello to everyone. >>>>>> >>>>>> 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 tha= t they >>>>>> aren't supported. There may be a bug somewhere ? >>>>>> >>>>>> start-obs : >>>>>> >>>>>> sh << EOF >>>>>> env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs >>>>>> EOF >>>>>> >>>>>> root@marietto:/compat # ./start-obs >>>>>> shim init >>>>>> >>>>>> info: Using EGL/X11 >>>>>> info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz >>>>>> info: CPU Speed: 3600.00MHz >>>>>> info: Physical Cores: 8, Logical Cores: 16 >>>>>> info: Physical Memory: 31734MB Total, 19859MB Free >>>>>> info: Kernel Version: FreeBSD 14.0-RELEASE-p3 >>>>>> info: Distribution: FreeBSD "14.0" >>>>>> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: >>>>>> 1.21.1 >>>>>> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) >>>>>> info: Portable mode: false >>>>>> info: OBS 30.0.2 (freebsd) >>>>>> info: --------------------------------- >>>>>> info: --------------------------------- >>>>>> info: audio settings reset: >>>>>> samples per sec: 48000 >>>>>> speakers: 2 >>>>>> max buffering: 960 milliseconds >>>>>> buffering type: dynamically increasing >>>>>> info: --------------------------------- >>>>>> info: Initializing OpenGL... >>>>>> 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: --------------------------------- >>>>>> info: video settings reset: >>>>>> base resolution: 1920x1080 >>>>>> output resolution: 1280x720 >>>>>> downscale filter: Bicubic >>>>>> fps: 30/1 >>>>>> format: NV12 >>>>>> YUV mode: Rec. 709/Partial >>>>>> info: NV12 texture support not available >>>>>> info: P010 texture support not available >>>>>> info: Audio monitoring device: >>>>>> name: Default >>>>>> id: default >>>>>> info: --------------------------------- >>>>>> info: [pipewire] No captures available >>>>>> warning: v4l2loopback not installed, virtual camera disabled >>>>>> info: NVENC supported >>>>>> >>>>>> >>>>>> *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI >>>>>> HEVC encoding not supported* >>>>>> >>>>>> info: [obs-websocket] [obs_module_load] you can haz websockets >>>>>> (Version: 5.0.1 | RPC Version: 1) >>>>>> info: [obs-websocket] [obs_module_load] Qt version (compile-time): >>>>>> 6.6.1 | Qt version (run-time): 6.6.1 >>>>>> info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 >>>>>> info: [obs-websocket] [obs_module_load] Module loaded. >>>>>> info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabl= ed >>>>>> info: --------------------------------- >>>>>> info: Loaded Modules: >>>>>> info: vlc-video.so >>>>>> info: text-freetype2.so >>>>>> info: sndio.so >>>>>> info: rtmp-services.so >>>>>> info: oss-audio.so >>>>>> info: obs-x264.so >>>>>> info: obs-websocket.so >>>>>> info: obs-webrtc.so >>>>>> info: obs-transitions.so >>>>>> info: obs-outputs.so >>>>>> info: obs-filters.so >>>>>> info: obs-ffmpeg.so >>>>>> info: linux-v4l2.so >>>>>> info: linux-pulseaudio.so >>>>>> info: linux-pipewire.so >>>>>> info: linux-jack.so >>>>>> info: linux-capture.so >>>>>> info: image-source.so >>>>>> info: frontend-tools.so >>>>>> info: --------------------------------- >>>>>> info: =3D=3D=3D=3D Startup complete >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>> info: All scene data cleared >>>>>> info: ------------------------------------------------ >>>>>> info: Switched to scene 'Scene' >>>>>> info: ------------------------------------------------ >>>>>> info: Loaded scenes: >>>>>> info: - scene 'Scene': >>>>>> info: ------------------------------------------------ >>>>>> info: =3D=3D=3D=3D Shutting down >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>>>> info: All scene data cleared >>>>>> info: ------------------------------------------------ >>>>>> info: [obs-websocket] [obs_module_unload] Shutting down... >>>>>> error: Tried to call obs_frontend_remove_event_callback with no >>>>>> callbacks! >>>>>> error: Tried to call obs_frontend_get_global_config with no callback= s! >>>>>> error: [obs-websocket] [Config::Save] Unable to fetch OBS config! >>>>>> info: [obs-websocket] [obs_module_unload] Finished shutting down. >>>>>> info: [Scripting] Total detached callbacks: 0 >>>>>> info: Freeing OBS context data >>>>>> info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>> info: run_program_init: 663.636 ms >>>>>> info: =E2=94=A3OBSApp::AppInit: 3.125 ms >>>>>> info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms >>>>>> info: =E2=94=97OBSApp::OBSInit: 626.884 ms >>>>>> info: =E2=94=A3obs_startup: 1.247 ms >>>>>> info: =E2=94=97OBSBasic::OBSInit: 598.145 ms >>>>>> info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms >>>>>> info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms >>>>>> info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms >>>>>> info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms >>>>>> info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms >>>>>> info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms >>>>>> info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms >>>>>> info: =E2=94=A3obs_load_all_modules2: 365.069 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 = ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 m= s >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003= ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms >>>>>> info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 = ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 m= s >>>>>> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms >>>>>> info: =E2=94=A3OBSBasic::InitService: 0.773 ms >>>>>> info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms >>>>>> info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms >>>>>> info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms >>>>>> info: =E2=94=97OBSBasic::Load: 67.014 ms >>>>>> info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, >>>>>> max=3D10.834 ms, 99th percentile=3D8.279 ms >>>>>> , 100% below 25 ms >>>>>> info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D= 0.149 >>>>>> ms, 99th percentile=3D0.101 ms >>>>>> info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.98= 7 ms, >>>>>> max=3D22.184 ms, 99th percentile >>>>>> =3D22.184 ms, 100% below 33.333 ms >>>>>> info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max= =3D0.658 ms, >>>>>> 99th percentile=3D0.658 ms >>>>>> info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max= =3D8.411 ms, >>>>>> 99th percentile=3D8.411 ms >>>>>> info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms,= median=3D0.211 ms, >>>>>> max=3D8.41 ms, 99th percentile=3D8. >>>>>> 41 ms >>>>>> info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125= ms, max=3D8.379 ms, >>>>>> 99th percentile=3D8.379 ms >>>>>> info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 = ms, median=3D0.098 ms, >>>>>> max=3D8.356 ms, 99th percentile=3D8.35 >>>>>> 6 ms >>>>>> info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms= , max=3D7.648 ms, 99th >>>>>> percentile=3D7.648 ms >>>>>> info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, m= ax=3D22.032 ms, >>>>>> 99th percentile=3D22.032 ms >>>>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >>>>>> info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>> info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, >>>>>> max=3D65.219 ms, 91.0569% within =C2=B12% o >>>>>> f 25 ms (0% lower, 8.94309% higher) >>>>>> info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.= 322 >>>>>> ms, max=3D52.604 ms, 78.8889% with >>>>>> in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) >>>>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >>>>>> info: Number of memory leaks: 0 >>>>>> >>>>>> >>>>>> * but the vaapi codecs are recognized correctly :* >>>>>> >>>>>> >>>>>> # ffmpeg -codecs | grep vaapi >>>>>> >>>>>> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers >>>>>> built with FreeBSD clang version 16.0.6 ( >>>>>> https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 >>>>>> -g7cbf1a259152) >>>>>> >>>>>> configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man >>>>>> --datadir=3D/usr/local/share/ffmpeg --doc >>>>>> dir=3D/usr/local/share/doc/ffmpeg >>>>>> --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --dis= ab >>>>>> le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc >>>>>> --cxx=3Dc++ --disable-alsa --disable-libo >>>>>> pencore-amrnb --disable-libopencore-amrwb --enable-libaom >>>>>> --disable-libaribb24 --disable-libaribcapt >>>>>> ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca >>>>>> --disable-libcdio --disable-lib >>>>>> codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 >>>>>> --disable-debug --enable-htmlpages - >>>>>> -enable-libdrm --disable-libfdk-aac --disable-libflite >>>>>> --enable-fontconfig --enable-libfreetype --en >>>>>> able-frei0r --disable-libfribidi --disable-gcrypt >>>>>> --disable-libglslang --disable-libgme --enable-gmp >>>>>> --enable-gnutls --enable-version3 --disable-libgsm >>>>>> --enable-libharfbuzz --enable-iconv --disable-li >>>>>> bilbc --disable-libjack --enable-libjxl --disable-libklvanc >>>>>> --disable-libkvazaar --disable-ladspa -- >>>>>> enable-libmp3lame --enable-lcms2 --disable-liblensfun >>>>>> --disable-libbluray --enable-libplacebo --disa >>>>>> ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 >>>>>> --disable-mbedtls --disable-libmfx --di >>>>>> sable-libmodplug --disable-libmysofa --enable-network >>>>>> --disable-nonfree --enable-nvenc --disable-ope >>>>>> nal --disable-opencl --disable-opengl --disable-libopenh264 >>>>>> --disable-libopenjpeg --disable-libopenm >>>>>> pt --disable-openssl --disable-libopenvino --enable-optimizations >>>>>> --enable-libopus --disable-pockets >>>>>> phinx --disable-libpulse --disable-librabbitmq --disable-librav1e >>>>>> --disable-librist --enable-runtime >>>>>> -cpudetect --disable-librubberband --disable-sdl2 --enable-libshader= c >>>>>> --disable-libsmbclient --disab >>>>>> le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex >>>>>> --disable-libsrt --disable-libssh >>>>>> --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract >>>>>> --disable-libtheora --disable-libt >>>>>> wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi >>>>>> --disable-vapoursynth --enable-vdpau --di >>>>>> sable-libvidstab --enable-libvmaf --enable-libvorbis >>>>>> --disable-libvo-amrwbenc --disable-libvpl --ena >>>>>> ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 >>>>>> --enable-libx265 --disable-libxavs2 --e >>>>>> nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzi= mg >>>>>> --disable-libzmq --disable-libz >>>>>> vbi >>>>>> libavutil 58. 29.100 / 58. 29.100 >>>>>> libavcodec 60. 31.102 / 60. 31.102 >>>>>> libavformat 60. 16.100 / 60. 16.100 >>>>>> libavdevice 60. 3.100 / 60. 3.100 >>>>>> libavfilter 9. 12.100 / 9. 12.100 >>>>>> libswscale 7. 5.100 / 7. 5.100 >>>>>> libswresample 4. 12.100 / 4. 12.100 >>>>>> libpostproc 57. 3.100 / 57. 3.100 >>>>>> >>>>>> DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av= 1 >>>>>> av1 av1_cuvi >>>>>> d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) >>>>>> DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: >>>>>> h264 h264_v4l2m2m >>>>>> h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m >>>>>> h264_vaapi) >>>>>> DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: >>>>>> hevc hevc_v4l2m2 >>>>>> m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) >>>>>> DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: >>>>>> mjpeg mjpeg_vaapi) >>>>>> DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo >>>>>> mpeg2_v4l2m2m mpeg2_cuvid) >>>>>> (encoders: mpeg2video mpeg2_vaapi) >>>>>> DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) >>>>>> (encoders: libvpx >>>>>> vp8_v4l2m2m vp8_vaapi) >>>>>> DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 >>>>>> vp9_cuvid) (encoders: >>>>>> libvpx-vp9 vp9_vaapi) >>>>>> >>>>>> -- >>>>>> Mario. >>>>>> >>>>> >>>> >>>> -- >>>> Mario. >>>> >>> First, VAAPI is not a codec. It is Video Acceleration-API and is >>> supported by some tools directly, but most often using Mesa or >>> libva-VADPAU. Without VA-API support, the graphics will be handled by t= he >>> CPU, not the GPU. Both H.264 (AVC) nd H.265 (HVEC) are supported by VAA= PI. >>> >>> Are you building ffmpeg from source or installing a package? Patented >>> ports need to be built "NONFREE=3Don" for patented codecs. I am not sur= e what >>> options the ffmpeg package is built with. >>> >>> Are you sure that Video Acceleration is working on your GPU? I have an >>> Alder Lake Intel GPU and, as of last week, the device in FreeBSD's driv= ers. >>> (New GPU firmware was added this week, but I have yet to try it to conf= irm >>> whether it fixes the issue.) Easy check is to play a high res (780 or >>> higher) video. If you have VA-API working, CPU usage will not change mu= ch. >>> With VA-API support, it will increase significantly. More accurate chec= k is >>> to install graphics/xdpiinfo and run it (no args) or graphics/glx-util= s >>> and run "glxinfo into a pager (more, less, or most). glxinfo is quite >>> verbose. You want to look for "Accelerated:'' about 50 lines from the t= op. >>> >>> I am not an expert on all of this, but I've learned a bit trying to get >>> my Alder Lake work properly on FreeBSD. >>> -- >>> Kevin Oberman, Part time kid herder and retired Network Engineer >>> E-mail: rkoberman@gmail.com >>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >>> >> >> >> -- >> Mario. >> > > > -- > Mario. > --000000000000e81553060e540d8c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


H264 and HEVC are patented and r= equire a license to use them :

=
In your FFmpeg configuration :

--disabl= e-nonfree


Therefore FFmpeg will not be a= pplicable to these codecs .


You may test you= r system by working with=C2=A0=C2=A0 .webm , .vp8 , or .vp9=C2=A0 codecs . = These are patent-free .


I do not know OBS . = It is also necessary to check its documentation and configuration whether= =C2=A0
it ignores non-free codecs=C2=A0 or passes them to the u= sed program for handling them .

Another point is GPU= hardware . If GPU is able to handle patented codecs ( obviously this requi= res required
licenses are available to hardware for GPU ) , the= n configuration of your FFmpeg and encompassing programs
using = the FFmpeg can be configured to use GPU supplied facilities .
I do n= ot know exactly if FFmpeg has a facility for this case . Please check FFmpe= g documentation .


Mehmet Erol Sanliturk
<= /div>




On Sun, Jan 7, 2024 at 3:46=E2=80=AFAM Mar= io Marietto <marietto2008@gmai= l.com> wrote:
if VAAPI should be enabled should be defined whe= n I compile OBS ? because vaapi is enabled in ffmpeg but not in OBS and not= in mpv :

nano /home/marietto/.config/mpv/mpv.conf=
=09 =09
vo=3Dgpu
hwdec=3Dvaapi

=09 =09
nano /root/.config/mpv/mpv.conf
vo=3Dgpu
hwdec=3Dvaapi
# mpv ciao.mp4

(+) Video --vid=3D1 (*) (h264 640x480 25.000fps)
(+) Audio --aid=3D1 (*) (aac 2ch 24000Hz)
Title: ciao.mp4
AO: [oss] 24000Hz stereo 2ch s32
VO: [gpu] 640x480 =3D> 640x511 yuv420p
Exiting... (Quit)

# ffmpeg -codecs |= grep vaapi


<= span style=3D"font-family:monospace">ffmpeg version 6.1 Copyright (c) 2000-= 2023 the FFmpeg developers
=C2=A0built with FreeBSD clang version 16.0.6 (https://github.com/llvm/llv= m-project.git llvmorg-16.0.6-0
-g7cbf1a259152)
=C2=A0configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man -= -datadir=3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmp= eg --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disable-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc+= + --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrw= b --enable-libaom --disable-libaribb24 --disable-libaribcapt
ion --enabl= e-asm --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio= --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-lib= dc1394 --disable-debug --enable-htmlpages -
-enable-libdrm --disable-lib= fdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --d= isable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-= libgsm --enable-libharfbuzz --enable-iconv --disable-li
bilbc --disable-= libjack --enable-libjxl --disable-libklvanc --disable-libkvazaar --disable-= ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disabl= e-libbluray --enable-libplacebo --disa
ble-librsvg --disable-librtmp --e= nable-libxml2 --disable-lv2 --disable-mbedtls --disable-libmfx --di
sabl= e-libmodplug --disable-libmysofa --enable-network --disable-nonfree --enabl= e-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-li= bopenh264 --disable-libopenjpeg --disable-libopenm
pt --disable-openssl = --disable-libopenvino --enable-optimizations --enable-libopus --disable-poc= kets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e -= -disable-librist --enable-runtime
-cpudetect --disable-librubberband --d= isable-sdl2 --enable-libshaderc --disable-libsmbclient --disab
le-libsna= ppy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt -= -disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-li= btesseract --disable-libtheora --disable-libt
wolame --disable-libuavs3d= --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --di<= br>sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amr= wbenc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp= --enable-libx264 --enable-libx265 --disable-libxavs2 --e
nable-libxcb -= -disable-libxvid --disable-outdev=3Dxv --disable-libzimg --disable-libzmq -= -disable-libz
vbi


=C2=A0libavutil =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A058. 29.100 / 58. 29.100
=C2=A0libavcodec =C2=A0=C2=A0=C2=A0=C2=A060. 31.102 / 60. 31.102
=C2=A0libavformat =C2=A0=C2=A0=C2=A060. 16.100 / 60. 16.100
=C2=A0libavdevice =C2=A0=C2=A0=C2=A060. =C2=A03.100 / 60. =C2=A03.100
=C2=A0libavfilter =C2=A0=C2=A0=C2=A0=C2=A09. 12.100 / =C2=A09. 12.100
=C2=A0libswscale =C2=A0=C2=A0=C2=A0=C2=A0=C2=A07. =C2=A05.100 / =C2=A0= 7. =C2=A05.100
=C2=A0libswresample =C2=A0=C2=A04. 12.100 / =C2=A04. 12.100
=C2=A0libpostproc =C2=A0=C2=A0=C2=A057. =C2=A03.100 / 57. =C2=A03.100 =


DEV.L. av1 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Allian= ce for Open Media AV1 (decoders: libdav1d libaom-av1 av1 av1_cuvi
d) (en= coders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)

DEV.LS h264 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0H.264 / AVC / MPEG-4 = AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m
h264_cuvid) (encoders= : libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaapi)

DEV.L. hevc =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2= m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)

DEVIL. mjpeg =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg mjpeg_vaapi)

DEV.L. mpeg2video =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0MPEG-2 video (decoders: = mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video m= peg2_vaapi)

DEV.L. vp8 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders: li= bvpx
vp8_v4l2m2m vp8_vaapi)

DEV.L. vp9 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) (encod= ers:
libvpx-vp9 vp9_vaapi)

On Sun, Jan 7, 2024 at 1:17= =E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Very thanks.

root@mariett=
o:/usr/ports/graphics # glxinfo

I don't see "Accel= erated:''

On Sat, Jan 6, 2024 at 11:58=E2=80=AFPM Kevin Oberma= n <rkoberman@gm= ail.com> wrote:
On Sat, Jan 6, 2024 at 9= :57=E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Thanks,

=D9=84=D9=83=D9=86 =D8=A7= =D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8=AA =D8=A7=D9=84=D8=AA=D9=8A = =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9=8A =D8=B9=D8=A7=D9=85=D8=A9.= =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 =D8=A3=D8=B9=D8=B1=D9=81 =D9= =85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D9=84=D8=AF=D9=8A =D8=AE= =D8=B7=D8=A3 =D9=88=D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8= =A8=D8=A5=D9=85=D9=83=D8=A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9= =87 =D8=A8=D8=B7=D8=B1=D9=8A=D9=82=D8=A9 =D9=85=D8=A7.

=
(but the information that you gave to me is generic. I still don't= know if I have a bug and if I can fix it,in some way).

=
On Sat, Jan 6, 2024 at 5:51=E2=80= =AFPM Mario Marietto <marietto2008@gmail.com> wrote:
Hello to everyone.<= /div>

I'm using FreeBSD 14.0-p3 with the latest pack= ages and I'm trying to enable the VAAPI H264 / HEVC encoding for obs-st= udio,but it says that they aren't supported. There may be a bug somewhe= re ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https:= //github.com/llvm/llvm-project.git llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 = H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.


--
Mario.
First, VAAPI=C2=A0 is not a co= dec. It is Video Acceleration-API and is supported by some tools directly, = but most often using Mesa or libva-VADPAU. Without VA-API support, the grap= hics will be handled by the CPU, not the GPU. Both H.264 (AVC) nd H.265 (HV= EC) are supported by VAAPI.

Are you b= uilding ffmpeg from source or installing a package? Patented ports need to = be built "NONFREE=3Don" for patented codecs. I am not sure what o= ptions the ffmpeg package is built with.

Are you sure that Video Acceleration is working on your GPU? I have an Ald= er Lake Intel GPU and, as of last week, the device in FreeBSD's drivers= . (New GPU firmware was added this week, but I have yet to try it to confir= m whether it fixes the issue.) Easy check is to play a high res (780 or hig= her) video. If you have VA-API working, CPU usage will not change much. Wit= h VA-API support, it will increase significantly. More accurate check is to= install graphics/xdpiinfo=C2=A0 and run it (no args) or graphics/glx-utils= and run "glxinfo into a pager (more, less, or most). glxinfo is quite= verbose. You want to look for "Accelerated:'' about 50 lines = from the top.

I am not an expert on = all of this, but I've learned a bit trying to get my Alder Lake work pr= operly on FreeBSD.
--=
Kevin Oberma= n, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


--
Mario.


--
Mario.
--000000000000e81553060e540d8c-- From nobody Sun Jan 7 05:32:06 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 4T75SF6TdBz56YlB for ; Sun, 7 Jan 2024 05:32:45 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T75SF4ZFyz53gq for ; Sun, 7 Jan 2024 05:32:45 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82d.google.com with SMTP id d75a77b69052e-42989a64713so5074141cf.2 for ; Sat, 06 Jan 2024 21:32:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704605564; x=1705210364; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CoWuVvV5aflKRM4V90aUJbhzjBCKWRlvBlttCBpk8d8=; b=WzSJ9qKbKWyLoWvJQ5Bc7M2hDAT45vp36fuJy+HbzLBRcPxgS47BNW9yzEx57kAX/g zsdRhqu6gRvuveFp7ww1RT6/c+kfm126fWMVHonCtJytqzjxctOc2ArG5rzk3AgO5ZrL 61rnHI0KqcbeoHNPyCgiN/+ARwuCGwtdcqUfWyrD6FehCnOTBs+4BPcrqLhm/jrrR+/r 6nBBB9CIXUNhqU/6Jer3nPJKAwt/iuK8ZNb3ftK2X0CcXouy23RyTXG24+4Ea1vs3AgM JfED+eX+MmFcd36XBoqSFqq9eSoFjLjBw1Bzx9Ra6TKUVXDoManU4w94XJ0NhCZussV9 irrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704605564; x=1705210364; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CoWuVvV5aflKRM4V90aUJbhzjBCKWRlvBlttCBpk8d8=; b=IEC8FK2pQJoiST/5a2fWXv2JQBemGSxcZwdyGcn04RD1szOd/+49ehdimta9bj/z2c Va+WxnEE4735wpODYpNa/O1abrrYq6KXO5bRR8K8YvwNb1t/H3olUfjjQRDF47D5XHDY gOyeKlS5xWQWu8gU/uevQlol6d85tthkOdIjkpccQnb0pbKFqbVP8bA0j0TvIL4mf4yp h7Es47aXbSrmv0a1bJ/W3ihyDR+JO7w04si5n95P4gKRTYL9wuOgG5T1Z5wqZt24RZuZ JmYtKFTJuzgmN0t0/byJ34OlVPW8N6PJVKggYLTw4uU9DaNS9+ckYR+z3EEP627rIvma zktw== X-Gm-Message-State: AOJu0Yz1Z4cDBq/iB5cgZlgJayCY1oPX/36TPE9DLB1XTwQKoVie1h1O aQejVpVX1zGzxN0QmGT22n36x4yeEolc7LCQeQY= X-Google-Smtp-Source: AGHT+IGSJ2XhNEO1Aet36c5iVIMN7hEAIrPaG71bpvpRUE3bRp9O91uw54fjAJKkCZrWYR/sdHeKkL4X0z0t8ZarIEk= X-Received: by 2002:a05:622a:1aa0:b0:429:91b4:6e98 with SMTP id s32-20020a05622a1aa000b0042991b46e98mr267778qtc.29.1704605563029; Sat, 06 Jan 2024 21:32:43 -0800 (PST) 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 References: In-Reply-To: From: Mehmet Erol Sanliturk Date: Sun, 7 Jan 2024 08:32:06 +0300 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Mario Marietto Cc: Kevin Oberman , multimedia@freebsd.org Content-Type: multipart/alternative; boundary="000000000000110c26060e546931" X-Rspamd-Queue-Id: 4T75SF4ZFyz53gq X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000110c26060e546931 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Please notice the word " *encoding" :* *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI HEVC encoding not supported* This means that "You can not record a stream taken from a camera as a H264 or HEVC video in your system" because either the components in your system do not have necessary licenses or if your hardware is able to record such videos but the software is not able to use it due to missing parts or a suitable configuration . Decoding ( playing ) is handled differently . https://www.google.com/search?q=3Dis+ffmpeg+permitted+to+play+h264+or+hevc&= sca_esv=3D596307649&sxsrf=3DAM9HkKnqKOkjyV6pLlIwwYV51U7WlHff9w%3A1704605152= 511&source=3Dhp&ei=3D4DWaZfDJHdWSxc8P9ayauAQ&iflsig=3DAO6bgOgAAAAAZZpD8Pe5z= WG_2U9eX2fo9mGsBJRs7xS2&ved=3D0ahUKEwjwueKExcqDAxVVSfEDHXWWBkcQ4dUDCAo&uact= =3D5&oq=3Dis+ffmpeg+permitted+to+play+h264+or+hevc&gs_lp=3DEgdnd3Mtd2l6Iihp= cyBmZm1wZWcgcGVybWl0dGVkIHRvIHBsYXkgaDI2NCBvciBoZXZjMgUQIRigAUj58AFQAFjc4gF= wAHgAkAEAmAGXAaABpCGqAQQ3LjMzuAEDyAEA-AEBwgIEECMYJ8ICDBAjGIAEGIoFGBMYJ8ICCx= AAGIAEGIoFGJECwgIFEAAYgATCAgsQLhiABBjHARjRA8ICBRAuGIAEwgIGEAAYFhgewgIIEAAYF= hgeGA_CAgQQIRgVwgIFECEYnwXCAgcQIRgKGKABwgIIEAAYgAQYogQ&sclient=3Dgws-wiz is ffmpeg permitted to play h264 or hevc https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with= -nvidia-gpu/index.html Using FFmpeg with NVIDIA GPU Hardware Acceleration Mehmet Erol Sanliturk On Sun, Jan 7, 2024 at 3:46=E2=80=AFAM Mario Marietto wrote: > if VAAPI should be enabled should be defined when I compile OBS ? because > vaapi is enabled in ffmpeg but not in OBS and not in mpv : > > nano /home/marietto/.config/mpv/mpv.conf > > vo=3Dgpu > hwdec=3Dvaapi > > > nano /root/.config/mpv/mpv.conf > > vo=3Dgpu > hwdec=3Dvaapi > > # mpv ciao.mp4 > > (+) Video --vid=3D1 (*) (h264 640x480 25.000fps) > (+) Audio --aid=3D1 (*) (aac 2ch 24000Hz) > Title: ciao.mp4 > AO: [oss] 24000Hz stereo 2ch s32 > VO: [gpu] 640x480 =3D> 640x511 yuv420p > Exiting... (Quit) > > > # ffmpeg -codecs | grep vaapi > > > ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers > built with FreeBSD clang version 16.0.6 ( > https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 > -g7cbf1a259152) > configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man > --datadir=3D/usr/local/share/ffmpeg --doc > dir=3D/usr/local/share/doc/ffmpeg > --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disab > le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc+= + > --disable-alsa --disable-libo > pencore-amrnb --disable-libopencore-amrwb --enable-libaom > --disable-libaribb24 --disable-libaribcapt > ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca > --disable-libcdio --disable-lib > codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 > --disable-debug --enable-htmlpages - > -enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfi= g > --enable-libfreetype --en > able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang > --disable-libgme --enable-gmp > --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz > --enable-iconv --disable-li > bilbc --disable-libjack --enable-libjxl --disable-libklvanc > --disable-libkvazaar --disable-ladspa -- > enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray > --enable-libplacebo --disa > ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 > --disable-mbedtls --disable-libmfx --di > sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree > --enable-nvenc --disable-ope > nal --disable-opencl --disable-opengl --disable-libopenh264 > --disable-libopenjpeg --disable-libopenm > pt --disable-openssl --disable-libopenvino --enable-optimizations > --enable-libopus --disable-pockets > phinx --disable-libpulse --disable-librabbitmq --disable-librav1e > --disable-librist --enable-runtime > -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc > --disable-libsmbclient --disab > le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex > --disable-libsrt --disable-libssh > --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract > --disable-libtheora --disable-libt > wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi > --disable-vapoursynth --enable-vdpau --di > sable-libvidstab --enable-libvmaf --enable-libvorbis > --disable-libvo-amrwbenc --disable-libvpl --ena > ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 > --enable-libx265 --disable-libxavs2 --e > nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg > --disable-libzmq --disable-libz > vbi > > > libavutil 58. 29.100 / 58. 29.100 > libavcodec 60. 31.102 / 60. 31.102 > libavformat 60. 16.100 / 60. 16.100 > libavdevice 60. 3.100 / 60. 3.100 > libavfilter 9. 12.100 / 9. 12.100 > libswscale 7. 5.100 / 7. 5.100 > libswresample 4. 12.100 / 4. 12.100 > libpostproc 57. 3.100 / 57. 3.100 > > > DEV.L. av1 Alliance for Open Media AV1 (decoders: > libdav1d libaom-av1 av1 av1_cuvi > d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) > > DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 > (decoders: h264 h264_v4l2m2m > h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m > h264_vaapi) > > DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) > (decoders: hevc hevc_v4l2m2 > m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) > > DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) > (encoders: mjpeg mjpeg_vaapi) > > DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo > mpeg2_v4l2m2m mpeg2_cuvid) > (encoders: mpeg2video mpeg2_vaapi) > > DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx > vp8_cuvid) (encoders: libvpx > vp8_v4l2m2m vp8_vaapi) > > DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m > libvpx-vp9 vp9_cuvid) (encoders: > libvpx-vp9 vp9_vaapi) > > On Sun, Jan 7, 2024 at 1:17=E2=80=AFAM Mario Marietto > wrote: > >> Very thanks. >> >> root@marietto:/usr/ports/graphics # glxinfo >> >> https://pastebin.ubuntu.com/p/RryNptHvsk/ >> >> I don't see "Accelerated:'' >> >> On Sat, Jan 6, 2024 at 11:58=E2=80=AFPM Kevin Oberman >> wrote: >> >>> On Sat, Jan 6, 2024 at 9:57=E2=80=AFAM Mario Marietto >>> wrote: >>> >>>> Thanks, >>>> >>>> =D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84=D9=88=D9=85=D8=A7=D8= =AA =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA=D9=87=D8=A7 =D9=84=D9= =8A =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9=84=D8=AA =D9=84=D8=A7 = =D8=A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86= =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 >>>> =D9=88=D9=85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5= =D9=85=D9=83=D8=A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8= =D8=B7=D8=B1=D9=8A=D9=82=D8=A9 =D9=85=D8=A7. >>>> >>>> (but the information that you gave to me is generic. I still don't kno= w >>>> if I have a bug and if I can fix it,in some way). >>>> >>>> On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk < >>>> m.e.sanliturk@gmail.com> wrote: >>>> >>>>> >>>>> Perhaps the following pages may be useful : >>>>> >>>>> https://trac.ffmpeg.org/wiki/HWAccelIntro >>>>> >>>>> Another issue about video encoders and decoders is patents . >>>>> >>>>> >>>>> >>>>> https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+= not&sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A170455= 7479981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlM= Q4dUDCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd= 3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDy= CliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLA= CGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFEC= EYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp >>>>> is VAAPI HEVC encoding patented or not >>>>> >>>>> >>>>> https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+= not&sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A170455= 7529388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ= 4dUDCBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3= Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiAB= BiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQY= sAPiAwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp >>>>> is VAAPI H264 encoding patented or not >>>>> >>>>> >>>>> >>>>> Mehmet Erol Sanliturk >>>>> >>>>> >>>>> >>>>> On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto >>>>> wrote: >>>>> >>>>>> Hello to everyone. >>>>>> >>>>>> 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 tha= t they >>>>>> aren't supported. There may be a bug somewhere ? >>>>>> >>>>>> start-obs : >>>>>> >>>>>> sh << EOF >>>>>> env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs >>>>>> EOF >>>>>> >>>>>> root@marietto:/compat # ./start-obs >>>>>> shim init >>>>>> >>>>>> info: Using EGL/X11 >>>>>> info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz >>>>>> info: CPU Speed: 3600.00MHz >>>>>> info: Physical Cores: 8, Logical Cores: 16 >>>>>> info: Physical Memory: 31734MB Total, 19859MB Free >>>>>> info: Kernel Version: FreeBSD 14.0-RELEASE-p3 >>>>>> info: Distribution: FreeBSD "14.0" >>>>>> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: >>>>>> 1.21.1 >>>>>> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) >>>>>> info: Portable mode: false >>>>>> info: OBS 30.0.2 (freebsd) >>>>>> info: --------------------------------- >>>>>> info: --------------------------------- >>>>>> info: audio settings reset: >>>>>> samples per sec: 48000 >>>>>> speakers: 2 >>>>>> max buffering: 960 milliseconds >>>>>> buffering type: dynamically increasing >>>>>> info: --------------------------------- >>>>>> info: Initializing OpenGL... >>>>>> 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: --------------------------------- >>>>>> info: video settings reset: >>>>>> base resolution: 1920x1080 >>>>>> output resolution: 1280x720 >>>>>> downscale filter: Bicubic >>>>>> fps: 30/1 >>>>>> format: NV12 >>>>>> YUV mode: Rec. 709/Partial >>>>>> info: NV12 texture support not available >>>>>> info: P010 texture support not available >>>>>> info: Audio monitoring device: >>>>>> name: Default >>>>>> id: default >>>>>> info: --------------------------------- >>>>>> info: [pipewire] No captures available >>>>>> warning: v4l2loopback not installed, virtual camera disabled >>>>>> info: NVENC supported >>>>>> >>>>>> >>>>>> *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI >>>>>> HEVC encoding not supported* >>>>>> >>>>>> info: [obs-websocket] [obs_module_load] you can haz websockets >>>>>> (Version: 5.0.1 | RPC Version: 1) >>>>>> info: [obs-websocket] [obs_module_load] Qt version (compile-time): >>>>>> 6.6.1 | Qt version (run-time): 6.6.1 >>>>>> info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 >>>>>> info: [obs-websocket] [obs_module_load] Module loaded. >>>>>> info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabl= ed >>>>>> info: --------------------------------- >>>>>> info: Loaded Modules: >>>>>> info: vlc-video.so >>>>>> info: text-freetype2.so >>>>>> info: sndio.so >>>>>> info: rtmp-services.so >>>>>> info: oss-audio.so >>>>>> info: obs-x264.so >>>>>> info: obs-websocket.so >>>>>> info: obs-webrtc.so >>>>>> info: obs-transitions.so >>>>>> info: obs-outputs.so >>>>>> info: obs-filters.so >>>>>> info: obs-ffmpeg.so >>>>>> info: linux-v4l2.so >>>>>> info: linux-pulseaudio.so >>>>>> info: linux-pipewire.so >>>>>> info: linux-jack.so >>>>>> info: linux-capture.so >>>>>> info: image-source.so >>>>>> info: frontend-tools.so >>>>>> info: --------------------------------- >>>>>> info: =3D=3D=3D=3D Startup complete >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>> info: All scene data cleared >>>>>> info: ------------------------------------------------ >>>>>> info: Switched to scene 'Scene' >>>>>> info: ------------------------------------------------ >>>>>> info: Loaded scenes: >>>>>> info: - scene 'Scene': >>>>>> info: ------------------------------------------------ >>>>>> info: =3D=3D=3D=3D Shutting down >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>>>> info: All scene data cleared >>>>>> info: ------------------------------------------------ >>>>>> info: [obs-websocket] [obs_module_unload] Shutting down... >>>>>> error: Tried to call obs_frontend_remove_event_callback with no >>>>>> callbacks! >>>>>> error: Tried to call obs_frontend_get_global_config with no callback= s! >>>>>> error: [obs-websocket] [Config::Save] Unable to fetch OBS config! >>>>>> info: [obs-websocket] [obs_module_unload] Finished shutting down. >>>>>> info: [Scripting] Total detached callbacks: 0 >>>>>> info: Freeing OBS context data >>>>>> info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>> info: run_program_init: 663.636 ms >>>>>> info: =E2=94=A3OBSApp::AppInit: 3.125 ms >>>>>> info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms >>>>>> info: =E2=94=97OBSApp::OBSInit: 626.884 ms >>>>>> info: =E2=94=A3obs_startup: 1.247 ms >>>>>> info: =E2=94=97OBSBasic::OBSInit: 598.145 ms >>>>>> info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms >>>>>> info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms >>>>>> info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms >>>>>> info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms >>>>>> info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms >>>>>> info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms >>>>>> info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms >>>>>> info: =E2=94=A3obs_load_all_modules2: 365.069 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 = ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 m= s >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003= ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms >>>>>> info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 = ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms >>>>>> info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 m= s >>>>>> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms >>>>>> info: =E2=94=A3OBSBasic::InitService: 0.773 ms >>>>>> info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms >>>>>> info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms >>>>>> info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms >>>>>> info: =E2=94=97OBSBasic::Load: 67.014 ms >>>>>> info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, >>>>>> max=3D10.834 ms, 99th percentile=3D8.279 ms >>>>>> , 100% below 25 ms >>>>>> info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D= 0.149 >>>>>> ms, 99th percentile=3D0.101 ms >>>>>> info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.98= 7 ms, >>>>>> max=3D22.184 ms, 99th percentile >>>>>> =3D22.184 ms, 100% below 33.333 ms >>>>>> info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max= =3D0.658 ms, >>>>>> 99th percentile=3D0.658 ms >>>>>> info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max= =3D8.411 ms, >>>>>> 99th percentile=3D8.411 ms >>>>>> info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms,= median=3D0.211 ms, >>>>>> max=3D8.41 ms, 99th percentile=3D8. >>>>>> 41 ms >>>>>> info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125= ms, max=3D8.379 ms, >>>>>> 99th percentile=3D8.379 ms >>>>>> info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 = ms, median=3D0.098 ms, >>>>>> max=3D8.356 ms, 99th percentile=3D8.35 >>>>>> 6 ms >>>>>> info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms= , max=3D7.648 ms, 99th >>>>>> percentile=3D7.648 ms >>>>>> info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, m= ax=3D22.032 ms, >>>>>> 99th percentile=3D22.032 ms >>>>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >>>>>> info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>> info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, >>>>>> max=3D65.219 ms, 91.0569% within =C2=B12% o >>>>>> f 25 ms (0% lower, 8.94309% higher) >>>>>> info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.= 322 >>>>>> ms, max=3D52.604 ms, 78.8889% with >>>>>> in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher) >>>>>> info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >>>>>> info: Number of memory leaks: 0 >>>>>> >>>>>> >>>>>> * but the vaapi codecs are recognized correctly :* >>>>>> >>>>>> >>>>>> # ffmpeg -codecs | grep vaapi >>>>>> >>>>>> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers >>>>>> built with FreeBSD clang version 16.0.6 ( >>>>>> https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 >>>>>> -g7cbf1a259152) >>>>>> >>>>>> configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man >>>>>> --datadir=3D/usr/local/share/ffmpeg --doc >>>>>> dir=3D/usr/local/share/doc/ffmpeg >>>>>> --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --dis= ab >>>>>> le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc >>>>>> --cxx=3Dc++ --disable-alsa --disable-libo >>>>>> pencore-amrnb --disable-libopencore-amrwb --enable-libaom >>>>>> --disable-libaribb24 --disable-libaribcapt >>>>>> ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca >>>>>> --disable-libcdio --disable-lib >>>>>> codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 >>>>>> --disable-debug --enable-htmlpages - >>>>>> -enable-libdrm --disable-libfdk-aac --disable-libflite >>>>>> --enable-fontconfig --enable-libfreetype --en >>>>>> able-frei0r --disable-libfribidi --disable-gcrypt >>>>>> --disable-libglslang --disable-libgme --enable-gmp >>>>>> --enable-gnutls --enable-version3 --disable-libgsm >>>>>> --enable-libharfbuzz --enable-iconv --disable-li >>>>>> bilbc --disable-libjack --enable-libjxl --disable-libklvanc >>>>>> --disable-libkvazaar --disable-ladspa -- >>>>>> enable-libmp3lame --enable-lcms2 --disable-liblensfun >>>>>> --disable-libbluray --enable-libplacebo --disa >>>>>> ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 >>>>>> --disable-mbedtls --disable-libmfx --di >>>>>> sable-libmodplug --disable-libmysofa --enable-network >>>>>> --disable-nonfree --enable-nvenc --disable-ope >>>>>> nal --disable-opencl --disable-opengl --disable-libopenh264 >>>>>> --disable-libopenjpeg --disable-libopenm >>>>>> pt --disable-openssl --disable-libopenvino --enable-optimizations >>>>>> --enable-libopus --disable-pockets >>>>>> phinx --disable-libpulse --disable-librabbitmq --disable-librav1e >>>>>> --disable-librist --enable-runtime >>>>>> -cpudetect --disable-librubberband --disable-sdl2 --enable-libshader= c >>>>>> --disable-libsmbclient --disab >>>>>> le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex >>>>>> --disable-libsrt --disable-libssh >>>>>> --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract >>>>>> --disable-libtheora --disable-libt >>>>>> wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi >>>>>> --disable-vapoursynth --enable-vdpau --di >>>>>> sable-libvidstab --enable-libvmaf --enable-libvorbis >>>>>> --disable-libvo-amrwbenc --disable-libvpl --ena >>>>>> ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 >>>>>> --enable-libx265 --disable-libxavs2 --e >>>>>> nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzi= mg >>>>>> --disable-libzmq --disable-libz >>>>>> vbi >>>>>> libavutil 58. 29.100 / 58. 29.100 >>>>>> libavcodec 60. 31.102 / 60. 31.102 >>>>>> libavformat 60. 16.100 / 60. 16.100 >>>>>> libavdevice 60. 3.100 / 60. 3.100 >>>>>> libavfilter 9. 12.100 / 9. 12.100 >>>>>> libswscale 7. 5.100 / 7. 5.100 >>>>>> libswresample 4. 12.100 / 4. 12.100 >>>>>> libpostproc 57. 3.100 / 57. 3.100 >>>>>> >>>>>> DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av= 1 >>>>>> av1 av1_cuvi >>>>>> d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) >>>>>> DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: >>>>>> h264 h264_v4l2m2m >>>>>> h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m >>>>>> h264_vaapi) >>>>>> DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: >>>>>> hevc hevc_v4l2m2 >>>>>> m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) >>>>>> DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: >>>>>> mjpeg mjpeg_vaapi) >>>>>> DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo >>>>>> mpeg2_v4l2m2m mpeg2_cuvid) >>>>>> (encoders: mpeg2video mpeg2_vaapi) >>>>>> DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) >>>>>> (encoders: libvpx >>>>>> vp8_v4l2m2m vp8_vaapi) >>>>>> DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 >>>>>> vp9_cuvid) (encoders: >>>>>> libvpx-vp9 vp9_vaapi) >>>>>> >>>>>> -- >>>>>> Mario. >>>>>> >>>>> >>>> >>>> -- >>>> Mario. >>>> >>> First, VAAPI is not a codec. It is Video Acceleration-API and is >>> supported by some tools directly, but most often using Mesa or >>> libva-VADPAU. Without VA-API support, the graphics will be handled by t= he >>> CPU, not the GPU. Both H.264 (AVC) nd H.265 (HVEC) are supported by VAA= PI. >>> >>> Are you building ffmpeg from source or installing a package? Patented >>> ports need to be built "NONFREE=3Don" for patented codecs. I am not sur= e what >>> options the ffmpeg package is built with. >>> >>> Are you sure that Video Acceleration is working on your GPU? I have an >>> Alder Lake Intel GPU and, as of last week, the device in FreeBSD's driv= ers. >>> (New GPU firmware was added this week, but I have yet to try it to conf= irm >>> whether it fixes the issue.) Easy check is to play a high res (780 or >>> higher) video. If you have VA-API working, CPU usage will not change mu= ch. >>> With VA-API support, it will increase significantly. More accurate chec= k is >>> to install graphics/xdpiinfo and run it (no args) or graphics/glx-util= s >>> and run "glxinfo into a pager (more, less, or most). glxinfo is quite >>> verbose. You want to look for "Accelerated:'' about 50 lines from the t= op. >>> >>> I am not an expert on all of this, but I've learned a bit trying to get >>> my Alder Lake work properly on FreeBSD. >>> -- >>> Kevin Oberman, Part time kid herder and retired Network Engineer >>> E-mail: rkoberman@gmail.com >>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >>> >> >> >> -- >> Mario. >> > > > -- > Mario. > --000000000000110c26060e546931 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Please notice the word &quo= t;encoding" :

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


This means that "You can not record = a stream taken from a camera as a H264 or HEVC video in your system"= =C2=A0
because either the components in your system do not have nece= ssary licenses or if your hardware is able to
record such videos but= the software is not able to use it due to missing parts or a suitable conf= iguration .

Decoding ( playing ) is handled differently = .

is ffmpeg permitted= to play h264 or hevc



https://docs.nvidia.com/video-technolo= gies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html
U= sing FFmpeg with NVIDIA GPU Hardware Acceleration

=
Mehmet Erol Sanliturk



<= /div>





<= /div>

On Sun, Jan 7, 2024 at 3:46=E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
<= div>if VAAPI should be enabled should be defined when I compile OBS ? becau= se vaapi is enabled in ffmpeg but not in OBS and not in mpv :
nano /home/marietto/.config/mpv/mpv.conf
=09 =09
vo=3Dgpu
hwdec=3Dvaapi

=09 =09
nano /root/.config/mpv/mpv.conf
vo=3Dgpu
hwdec=3Dvaapi
# mpv ciao.mp4

(+) Video --vid=3D1 (*) (h264 640x480 25.000fps)
(+) Audio --aid=3D1 (*) (aac 2ch 24000Hz)
Title: ciao.mp4
AO: [oss] 24000Hz stereo 2ch s32
VO: [gpu] 640x480 =3D> 640x511 yuv420p
Exiting... (Quit)

# ffmpeg -codecs |= grep vaapi


<= span style=3D"font-family:monospace">ffmpeg version 6.1 Copyright (c) 2000-= 2023 the FFmpeg developers
=C2=A0built with FreeBSD clang version 16.0.6 (https://github.com/llvm/llv= m-project.git llvmorg-16.0.6-0
-g7cbf1a259152)
=C2=A0configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man -= -datadir=3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmp= eg --pkgconfigdir=3D/usr/local/libdata/pkgconfig --disable-static --disable-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc+= + --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrw= b --enable-libaom --disable-libaribb24 --disable-libaribcapt
ion --enabl= e-asm --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio= --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-lib= dc1394 --disable-debug --enable-htmlpages -
-enable-libdrm --disable-lib= fdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --d= isable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-= libgsm --enable-libharfbuzz --enable-iconv --disable-li
bilbc --disable-= libjack --enable-libjxl --disable-libklvanc --disable-libkvazaar --disable-= ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disabl= e-libbluray --enable-libplacebo --disa
ble-librsvg --disable-librtmp --e= nable-libxml2 --disable-lv2 --disable-mbedtls --disable-libmfx --di
sabl= e-libmodplug --disable-libmysofa --enable-network --disable-nonfree --enabl= e-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-li= bopenh264 --disable-libopenjpeg --disable-libopenm
pt --disable-openssl = --disable-libopenvino --enable-optimizations --enable-libopus --disable-poc= kets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e -= -disable-librist --enable-runtime
-cpudetect --disable-librubberband --d= isable-sdl2 --enable-libshaderc --disable-libsmbclient --disab
le-libsna= ppy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt -= -disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-li= btesseract --disable-libtheora --disable-libt
wolame --disable-libuavs3d= --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --di<= br>sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amr= wbenc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp= --enable-libx264 --enable-libx265 --disable-libxavs2 --e
nable-libxcb -= -disable-libxvid --disable-outdev=3Dxv --disable-libzimg --disable-libzmq -= -disable-libz
vbi


=C2=A0libavutil =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A058. 29.100 / 58. 29.100
=C2=A0libavcodec =C2=A0=C2=A0=C2=A0=C2=A060. 31.102 / 60. 31.102
=C2=A0libavformat =C2=A0=C2=A0=C2=A060. 16.100 / 60. 16.100
=C2=A0libavdevice =C2=A0=C2=A0=C2=A060. =C2=A03.100 / 60. =C2=A03.100
=C2=A0libavfilter =C2=A0=C2=A0=C2=A0=C2=A09. 12.100 / =C2=A09. 12.100
=C2=A0libswscale =C2=A0=C2=A0=C2=A0=C2=A0=C2=A07. =C2=A05.100 / =C2=A0= 7. =C2=A05.100
=C2=A0libswresample =C2=A0=C2=A04. 12.100 / =C2=A04. 12.100
=C2=A0libpostproc =C2=A0=C2=A0=C2=A057. =C2=A03.100 / 57. =C2=A03.100 =


DEV.L. av1 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Allian= ce for Open Media AV1 (decoders: libdav1d libaom-av1 av1 av1_cuvi
d) (en= coders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)

DEV.LS h264 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0H.264 / AVC / MPEG-4 = AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m
h264_cuvid) (encoders= : libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaapi)

DEV.L. hevc =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2= m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)

DEVIL. mjpeg =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg mjpeg_vaapi)

DEV.L. mpeg2video =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0MPEG-2 video (decoders: = mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video m= peg2_vaapi)

DEV.L. vp8 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders: li= bvpx
vp8_v4l2m2m vp8_vaapi)

DEV.L. vp9 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) (encod= ers:
libvpx-vp9 vp9_vaapi)

On Sun, Jan 7, 2024 at 1:17= =E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Very thanks.

root@mariett=
o:/usr/ports/graphics # glxinfo

I don't see "Accel= erated:''

On Sat, Jan 6, 2024 at 11:58=E2=80=AFPM Kevin Oberma= n <rkoberman@gm= ail.com> wrote:
On Sat, Jan 6, 2024 at 9:57=E2=80=AFAM Mario Mar= ietto <marie= tto2008@gmail.com> wrote:
Thanks,=

=D9=84=D9=83=D9=86 =D8=A7=D9=84=D9=85=D8=B9=D9=84= =D9=88=D9=85=D8=A7=D8=AA =D8=A7=D9=84=D8=AA=D9=8A =D9=82=D8=AF=D9=85=D8=AA= =D9=87=D8=A7 =D9=84=D9=8A =D8=B9=D8=A7=D9=85=D8=A9. =D9=85=D8=A7 =D8=B2=D9= =84=D8=AA =D9=84=D8=A7 =D8=A3=D8=B9=D8=B1=D9=81 =D9=85=D8=A7 =D8=A5=D8=B0= =D8=A7 =D9=83=D8=A7=D9=86 =D9=84=D8=AF=D9=8A =D8=AE=D8=B7=D8=A3 =D9=88=D9= =85=D8=A7 =D8=A5=D8=B0=D8=A7 =D9=83=D8=A7=D9=86 =D8=A8=D8=A5=D9=85=D9=83=D8= =A7=D9=86=D9=8A =D8=A5=D8=B5=D9=84=D8=A7=D8=AD=D9=87 =D8=A8=D8=B7=D8=B1=D9= =8A=D9=82=D8=A9 =D9=85=D8=A7.

(but the information= that you gave to me is generic. I still don't know if I have a bug and= if I can fix it,in some way).

is VAAPI HEVC encoding patented or not

is VAAPI H264 encoding patented or not



Mehmet Erol Sanliturk



On Sat, Jan 6, 2024 at 5:51=E2=80=AFPM Mario Marietto <<= a href=3D"mailto:marietto2008@gmail.com" target=3D"_blank">marietto2008@gma= il.com> wrote:
Hello to everyone.

I&#= 39;m using FreeBSD 14.0-p3 with the latest packages and I'm trying to e= nable the VAAPI H264 / HEVC encoding for obs-studio,but it says that they a= ren't supported. There may be a bug somewhere ?

start-obs :

sh << EOF
env LD_LIBMAP=3D"`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" = obs
EOF

root@marietto:/compat # ./start-obs
shim init

info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
info: CPU Speed: 3600.00MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 31734MB Total, 19859MB Free
info: Kernel Version: FreeBSD 14.0-RELEASE-p3
info: Distribution: FreeBSD "14.0"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
info: Portable mode: false
info: OBS 30.0.2 (freebsd)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 10= 60 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading = language 3.30 NVIDIA via Cg compiler

info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported

info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported


info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.= 0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | = Qt version (run-time): 6.6.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: sndio.so
info: rtmp-services.so
info: oss-audio.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: =3D=3D=3D=3D Startup complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
info: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!<= br> error: Tried to call obs_frontend_get_global_config with no callbacks!
error: [obs-websocket] [Config::Save] Unable to fetch OBS config!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: =3D=3D Profiler Results =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
info: run_program_init: 663.636 ms
info: =E2=94=A3OBSApp::AppInit: 3.125 ms
info: =E2=94=83 =E2=94=97OBSApp::InitLocale: 0.784 ms
info: =E2=94=97OBSApp::OBSInit: 626.884 ms
info: =E2=94=A3obs_startup: 1.247 ms
info: =E2=94=97OBSBasic::OBSInit: 598.145 ms
info: =E2=94=A3OBSBasic::InitBasicConfig: 0.085 ms
info: =E2=94=A3OBSBasic::ResetAudio: 0.149 ms
info: =E2=94=A3OBSBasic::ResetVideo: 92.565 ms
info: =E2=94=83 =E2=94=97obs_init_graphics: 92.317 ms
info: =E2=94=83 =E2=94=97shader compilation: 22.654 ms
info: =E2=94=A3OBSBasic::InitOBSCallbacks: 0.005 ms
info: =E2=94=A3OBSBasic::InitHotkeys: 0.022 ms
info: =E2=94=A3obs_load_all_modules2: 365.069 ms
info: =E2=94=83 =E2=94=A3obs_init_module(frontend-tools.so): 27.908 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(image-source.so): 0.009 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-capture.so): 0.374 ms info: =E2=94=83 =E2=94=A3obs_init_module(linux-jack.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(linux-pipewire.so): 3.652 ms<= br> info: =E2=94=83 =E2=94=A3obs_init_module(linux-pulseaudio.so): 0.003 m= s
info: =E2=94=83 =E2=94=A3obs_init_module(linux-v4l2.so): 0.856 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-ffmpeg.so): 5.617 ms
info: =E2=94=83 =E2=94=83 =E2=94=97nvenc_check: 5.362 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-filters.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-outputs.so): 0.007 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-transitions.so): 0.009 ms=
info: =E2=94=83 =E2=94=A3obs_init_module(obs-webrtc.so): 0.029 ms
info: =E2=94=83 =E2=94=A3obs_init_module(obs-websocket.so): 4.649 ms info: =E2=94=83 =E2=94=A3obs_init_module(obs-x264.so): 0.003 ms
info: =E2=94=83 =E2=94=A3obs_init_module(oss-audio.so): 0.004 ms
info: =E2=94=83 =E2=94=A3obs_init_module(rtmp-services.so): 0.993 ms info: =E2=94=83 =E2=94=A3obs_init_module(sndio.so): 0.005 ms
info: =E2=94=83 =E2=94=A3obs_init_module(text-freetype2.so): 0.035 ms<= br> info: =E2=94=83 =E2=94=97obs_init_module(vlc-video.so): 0.635 ms
info: =E2=94=A3OBSBasic::InitService: 0.773 ms
info: =E2=94=A3OBSBasic::ResetOutputs: 0.509 ms
info: =E2=94=A3OBSBasic::CreateHotkeys: 0.026 ms
info: =E2=94=A3OBSBasic::InitPrimitives: 0.162 ms
info: =E2=94=97OBSBasic::Load: 67.014 ms
info: obs_hotkey_thread(25 ms): min=3D0.03 ms, median=3D0.17 ms, max=3D10.8= 34 ms, 99th percentile=3D8.279 ms
, 100% below 25 ms
info: audio_thread(Audio): min=3D0.005 ms, median=3D0.036 ms, max=3D0.149 m= s, 99th percentile=3D0.101 ms
info: obs_graphics_thread(33.3333 ms): min=3D0.084 ms, median=3D0.987 ms, m= ax=3D22.184 ms, 99th percentile
=3D22.184 ms, 100% below 33.333 ms
info: =E2=94=A3tick_sources: min=3D0.001 ms, median=3D0.009 ms, max=3D0.65= 8 ms, 99th percentile=3D0.658 ms
info: =E2=94=A3output_frame: min=3D0.041 ms, median=3D0.212 ms, max=3D8.41= 1 ms, 99th percentile=3D8.411 ms
info: =E2=94=83 =E2=94=97gs_context(video->graphics): min=3D0.04 ms, me= dian=3D0.211 ms, max=3D8.41 ms, 99th percentile=3D8.
41 ms
info: =E2=94=83 =E2=94=A3render_video: min=3D0.02 ms, median=3D0.125 ms,= max=3D8.379 ms, 99th percentile=3D8.379 ms
info: =E2=94=83 =E2=94=83 =E2=94=97render_main_texture: min=3D0.015 ms, = median=3D0.098 ms, max=3D8.356 ms, 99th percentile=3D8.35
6 ms
info: =E2=94=83 =E2=94=97gs_flush: min=3D0.003 ms, median=3D0.018 ms, ma= x=3D7.648 ms, 99th percentile=3D7.648 ms
info: =E2=94=97render_displays: min=3D0.009 ms, median=3D0.603 ms, max=3D2= 2.032 ms, 99th percentile=3D22.032 ms
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: =3D=3D Profiler Time Between Calls =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
info: obs_hotkey_thread(25 ms): min=3D25.037 ms, median=3D25.19 ms, max=3D6= 5.219 ms, 91.0569% within =C2=B12% o
f 25 ms (0% lower, 8.94309% higher)
info: obs_graphics_thread(33.3333 ms): min=3D12.188 ms, median=3D33.322 ms,= max=3D52.604 ms, 78.8889% with
in =C2=B12% of 33.333 ms (10% lower, 11.1111% higher)
info: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
info: Number of memory leaks: 0


but the vaapi codecs are recognized correctly :


# ffmpeg -codecs | grep vaapi

ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 16.0.6 (https:= //github.com/llvm/llvm-project.git llvmorg-16.0.6-0
-g7cbf1a259152)

configuration: --prefix=3D/usr/local --mandir=3D/usr/local/man --datadir= =3D/usr/local/share/ffmpeg --doc
dir=3D/usr/local/share/doc/ffmpeg --pkgconfigdir=3D/usr/local/libdata/pkgco= nfig --disable-static --disab
le-libcelt --enable-shared --enable-pic --enable-gpl --cc=3Dcc --cxx=3Dc++ = --disable-alsa --disable-libo
pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libarib= b24 --disable-libaribcapt
ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disa= ble-libcdio --disable-lib
codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-d= ebug --enable-htmlpages -
-enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig = --enable-libfreetype --en
able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --di= sable-libgme --enable-gmp
--enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --= enable-iconv --disable-li
bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkv= azaar --disable-ladspa --
enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray -= -enable-libplacebo --disa
ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbed= tls --disable-libmfx --di
sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --e= nable-nvenc --disable-ope
nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libop= enjpeg --disable-libopenm
pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-= libopus --disable-pockets
phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable= -librist --enable-runtime
-cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --dis= able-libsmbclient --disab
le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable= -libsrt --disable-libssh
--enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable= -libtheora --disable-libt
wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapour= synth --enable-vdpau --di
sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbe= nc --disable-libvpl --ena
ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx2= 65 --disable-libxavs2 --e
nable-libxcb --disable-libxvid --disable-outdev=3Dxv --disable-libzimg --di= sable-libzmq --disable-libz
vbi
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100

DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1= d libaom-av1 av1 av1_cuvi
d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)
DEV.LS h264 = H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaap= i)
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (d= ecoders: hevc hevc_v4l2m2
m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (enc= oders: mjpeg mjpeg_vaapi)
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo m= peg2_v4l2m2m mpeg2_cuvid)
(encoders: mpeg2video mpeg2_vaapi)
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_= cuvid) (encoders: libvpx
vp8_v4l2m2m vp8_vaapi)
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-v= p9 vp9_cuvid) (encoders:
libvpx-vp9 vp9_vaapi)

--
Mario.


--
Mario.
Fir= st, VAAPI=C2=A0 is not a codec. It is Video Acceleration-API and is support= ed by some tools directly, but most often using Mesa or libva-VADPAU. Witho= ut VA-API support, the graphics will be handled by the CPU, not the GPU. Bo= th H.264 (AVC) nd H.265 (HVEC) are supported by VAAPI.

Are y= ou building ffmpeg from source or installing a package? Patented ports need= to be built "NONFREE=3Don" for patented codecs. I am not sure wh= at options the ffmpeg package is built with.

Are you sure that Video Acceleration is wor= king on your GPU? I have an Alder Lake Intel GPU and, as of last week, the = device in FreeBSD's drivers. (New GPU firmware was added this week, but= I have yet to try it to confirm whether it fixes the issue.) Easy check is= to play a high res (780 or higher) video. If you have VA-API working, CPU = usage will not change much. With VA-API support, it will increase significa= ntly. More accurate check is to install graphics/xdpiinfo=C2=A0 and run it = (no args) or graphics/glx-utils and run "glxinfo into a pager (more, l= ess, or most). glxinfo is quite verbose. You want to look for "Acceler= ated:'' about 50 lines from the top.

<= div style=3D"font-family:tahoma,sans-serif;font-size:small">I am not an exp= ert on all of this, but I've learned a bit trying to get my Alder Lake = work properly on FreeBSD.
--
Kevin= Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com


--
Mario.


--
Mario.
--000000000000110c26060e546931-- From nobody Sun Jan 7 21:00:58 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 4T7V3H3dqlz55xhB for ; Sun, 7 Jan 2024 21:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T7V3H0rQtz3xh5 for ; Sun, 7 Jan 2024 21:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704661259; 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; bh=vw4epx0/413kj7NleTm36jNmKh+Rwkx2XP5L3+Gmgf8=; b=vSQbUr75/LzIU5plsfA5sm1tqLVbNZOj+nhGdzmt4CcJb2xApnWZ+IS4OyiH8g2MvGn/6S HyfJXMW6L+rYAFPtj8kLY3RAroQ9yi4U+YD0DpIE3S9jP3W96/EEPMqxuSrG+kMtiiqFED +oDcser3FvZHi7EsbhV+EJxaFiekk+uHLIOsp1xMHEoJGV2XNJzjFWezV0eDs8+bJb/ggs LxWfrA3MlyI8X3burP8k7WcSx3objU5dKp668uftrR07ljDK7PZsAgZpNB1XiIzOg0PurL TxMhZ36q/VY+0j8jCQDK5SV0QzhdcVUBzBrosV3XFAyNk1MmCaYTvuZwxntsiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704661259; a=rsa-sha256; cv=none; b=aASNSfB+dfdAx0bk5gM/N7cQ2BgJ53Jiz3/VEevsKBORrf3CvjvrNiAJ6Zki4TaZtdv9Gk BICeSLzjdsF2MYh6bwm5NSXKa0ecRg71LAaRrRSUDlSym8mm8nZqp6o9xP8wvY+QARRgpj dUxVSKTZzZsJvbfEWcvV5+t2+Zq+dZr4SXsZOrEGD2coXOVz91SEiJr3E8MmYvZdQ6gi1v eR8GggFfki4MZBWT5PkvhpWu5toEyi6bHSv5muGJV8GlGaWUdP6MHHliJUQeQdp6hrm+0E okmYSZemPU+4SeszvZA8V9cPRwU9WDP1cinFTsu0W1BZBTyEuew4tVvcWDcP2g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T7V3G71Bkzg4P for ; Sun, 7 Jan 2024 21:00:58 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 407L0w14002305 for ; Sun, 7 Jan 2024 21:00:58 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 407L0w0p002304 for multimedia@FreeBSD.org; Sun, 7 Jan 2024 21:00:58 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202401072100.407L0w0p002304@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: multimedia@FreeBSD.org Subject: Problem reports for multimedia@FreeBSD.org that need special attention Date: Sun, 7 Jan 2024 21:00:58 +0000 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: multipart/alternative; boundary="17046612583.f77e0.97384" Content-Transfer-Encoding: 7bit --17046612583.f77e0.97384 Date: Sun, 7 Jan 2024 21:00:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 275057 | audio/libsndfile: CVE-2022-33065 fix not availabl Open | 252099 | multimedia/webcamd after a stop of the webcamd se Open | 270642 | www/firefox: 112.0: no sound with sndio backend Open | 225237 | www/firefox causes zombie through accessibility/s 4 problems total for which you should take action. --17046612583.f77e0.97384 Date: Sun, 7 Jan 2024 21:00:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
New         |    275057 | audio/libsndfile: CVE-2022-33065 fix not availabl
Open        |    252099 | multimedia/webcamd after a stop of the webcamd se
Open        |    270642 | www/firefox: 112.0: no sound with sndio backend
Open        |    225237 | www/firefox causes zombie through accessibility/s

4 problems total for which you should take action.
--17046612583.f77e0.97384--