fzwoch / obs-vaapi

OBS Studio VAAPI support via GStreamer
GNU General Public License v2.0
118 stars 3 forks source link

Plugin does not load #15

Closed realSaltyFish closed 1 year ago

realSaltyFish commented 1 year ago

When starting OBS from the command line, I can see the following error reported:

info: NVENC supported
info: VAAPI: API version 1.18
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI HEVC encoding supported
info: [obs-vaapi] version: 0.3.1, gst-runtime: 1.22.4
error: [obs-vaapi] vapostproc element not found
warning: Failed to initialize module 'obs-vaapi.so'

gst-inspect-1.0 vaapi output:

Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /usr/lib/gstreamer-1.0/libgstvaapi.so
  Version                  1.22.4
  License                  LGPL
  Source module            gstreamer-vaapi
  Documentation            https://gstreamer.freedesktop.org/documentation/vaapi/
  Source release date      2023-06-20
  Binary package           gstreamer-vaapi
  Origin URL               https://www.archlinux.org/

  vaapiav1dec: VA-API AV1 decoder
  vaapidecodebin: VA-API Decode Bin
  vaapih264dec: VA-API H264 decoder
  vaapih264enc: VA-API H264 encoder
  vaapih265dec: VA-API H265 decoder
  vaapih265enc: VA-API H265 encoder
  vaapijpegdec: VA-API JPEG decoder
  vaapijpegenc: VA-API JPEG encoder
  vaapimpeg2dec: VA-API MPEG2 decoder
  vaapimpeg2enc: VA-API MPEG-2 encoder
  vaapioverlay: VA-API overlay
  vaapipostproc: VA-API video postprocessing
  vaapisink: VA-API sink
  vaapivc1dec: VA-API VC1 decoder
  vaapivp8dec: VA-API VP8 decoder
  vaapivp9dec: VA-API VP9 decoder
  vaapivp9enc: VA-API VP9 encoder

  17 features:
  +-- 17 elements

I use Arch Linux. OBS version is 29.1.1-2. VA-API is already correctly set up and HW acceleration w/ my Intel GPU already works for Firefox.

fzwoch commented 1 year ago

You will need the va plugin package too.