The va plugins include vah264dec. There seems to be more to it then just copying a gst-plugins-bad template and naming it gst-plugins-va. While it does deliver the plugin it does not install libgstva-1.0.so which is a requirement. The vah264dec and friends prevent the stutter observed in the vaapi variants, but at this moment in time requires explicit configuration GST_PLUGIN_FEATURE_RANK=vah264dec:MAX
Created attachment 862118 [details] ebuild suggestion I'm attaching an ebuild that I'm using in a local overlay that explicitly adds libgstva on top of what the gstreamer-meson eclass does by default. One of the issues with this ebuild is that the file name needs to be updated to match the gstreamer version, and I haven't found an easy way to automate that.
Created attachment 862932 [details] updated ebuild suggestion I am attaching an updated ebuild without the dolib thing, which seems to be banned in EAPI=7 anyway. This change also makes it so you don't have to update the library version every time. The ebuild might need a bit of cleaning but it seems to be working fine so far with locally built obs-vaapi.
*** Bug 902841 has been marked as a duplicate of this bug. ***
See also https://bugs.gentoo.org/902841#c0: """ GStreamer has two different plugins for hardware acceleration: GstVAAPI and GstVA. Only the former is currently available in the Gentoo repos (gst-plugins-vaapi). The problem is that this plugin is deprecated and newer versions of WebkitGTK blacklist it by default. (https://github.com/WebKit/WebKit/pull/790) This breaks hardware accelerated video in Webkit-based browsers on Gentoo, which would otherwise work with the new plugin. Please consider enabling GstVA as a build option in gst-plugins-bad (-Dva=enabled) or packaging it as a separate ebuild. Thanks! """
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4841ceb546ee7b0e8f99efcc3c8acdcce5258e51 commit 4841ceb546ee7b0e8f99efcc3c8acdcce5258e51 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-30 22:23:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-30 22:25:01 +0000 media-plugins/gst-plugins-va: new package, add 1.22.3 Thanks to Stefan, Michal, and Kostadin for the motivation in the bug. Closes: https://bugs.gentoo.org/835149 Signed-off-by: Sam James <sam@gentoo.org> media-plugins/gst-plugins-va/Manifest | 1 + .../gst-plugins-va/gst-plugins-va-1.22.3.ebuild | 32 ++++++++++++++++++++++ media-plugins/gst-plugins-va/metadata.xml | 8 ++++++ 3 files changed, 41 insertions(+)