#19899 closed enhancement (fixed)

Archive gstreamer-vaapi?

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

I don't see anything in the book that uses it.

Change History (8)

comment:1 by Douglas R. Reno, 10 months ago

It provides the plugin that lets gstreamer applications use libva for video acceleration on certain cards, which makes a pretty significant difference in video rendering and other related tasks

comment:2 by Bruce Dubbs, 10 months ago

On that page we say the package only creates libgstlibav.so in /usr/lib/gstreamer-1.0. What packages use that library? Those packages should reference gstreamer-vaapi at least as optional.

in reply to:  2 comment:3 by Xi Ruoyao, 10 months ago

Replying to Bruce Dubbs:

On that page we say the package only creates libgstlibav.so in /usr/lib/gstreamer-1.0. What packages use that library? Those packages should reference gstreamer-vaapi at least as optional.

Then it's an optional runtime dependency of gstreamer itself. Everything using gstreamer to decode video may use it.

comment:4 by Xi Ruoyao, 10 months ago

BTW gst-plugins-bad already produces some plugins for using VA-API:

va:  vaav1dec: VA-API AV1 Decoder in Intel(R) Gen Graphics
va:  vacompositor: VA-API Video Compositor in Intel(R) Gen Graphics
va:  vadeinterlace: VA-API Deinterlacer in Intel(R) Gen Graphics
va:  vah264dec: VA-API H.264 Decoder in Intel(R) Gen Graphics
va:  vah264enc: VA-API H.264 Encoder in Intel(R) Gen Graphics
va:  vah264lpenc: VA-API H.264 Low Power Encoder in Intel(R) Gen Graphics
va:  vah265dec: VA-API H.265 Decoder in Intel(R) Gen Graphics
va:  vah265enc: VA-API H.265 Encoder in Intel(R) Gen Graphics
va:  vah265lpenc: VA-API H.265 Low Power Encoder in Intel(R) Gen Graphics
va:  vajpegdec: VA-API JPEG Decoder in Intel(R) Gen Graphics
va:  vampeg2dec: VA-API Mpeg2 Decoder in Intel(R) Gen Graphics
va:  vapostproc: VA-API Video Postprocessor in Intel(R) Gen Graphics
va:  vavp8dec: VA-API VP8 Decoder in Intel(R) Gen Graphics
va:  vavp9dec: VA-API VP9 Decoder in Intel(R) Gen Graphics

We may use them instead of gstreamer-vaapi, but the decoders need to be enabled explicitly:

$ echo $GST_PLUGIN_FEATURE_RANK
vaav1dec:MAX,vah264dec:MAX,vah265dec:MAX,vajpegdec:MAX,vampeg2dec:MAX,vavp8dec:MAX,vavp9dec:MAX

in reply to:  4 ; comment:5 by Xi Ruoyao, 10 months ago

Replying to Xi Ruoyao:

BTW gst-plugins-bad already produces some plugins for using VA-API

We may use them instead of gstreamer-vaapi, but the decoders need to be enabled explicitly:

$ echo $GST_PLUGIN_FEATURE_RANK
vaav1dec:MAX,vah264dec:MAX,vah265dec:MAX,vajpegdec:MAX,vampeg2dec:MAX,vavp8dec:MAX,vavp9dec:MAX

No longer needed since 1.24: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5169.

So IMO we can archive gstreamer-vaapi and use gst-plugins-bad for VA decoding instead.

in reply to:  5 comment:6 by Xi Ruoyao, 10 months ago

Replying to Xi Ruoyao:

So IMO we can archive gstreamer-vaapi and use gst-plugins-bad for VA decoding instead.

But maybe we'd raise libva to recommended for gst-plugins-bad then.

comment:7 by Bruce Dubbs, 10 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:8 by Bruce Dubbs, 10 months ago

Resolution: fixed
Status: assignedclosed

Archived at commit 36f5b65ad1.

Note: See TracTickets for help on using tickets.