From 2fdd7ef753e46d2d3fd37416877934f0e7a9169f Mon Sep 17 00:00:00 2001 From: Carlos Bentzen Date: Mon, 6 Nov 2023 22:33:09 +0100 Subject: [PATCH] Add GStreamer-based dav1d decoder --- fluster/decoders/gstreamer.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fluster/decoders/gstreamer.py b/fluster/decoders/gstreamer.py index e25673ee..a4fcbb92 100644 --- a/fluster/decoders/gstreamer.py +++ b/fluster/decoders/gstreamer.py @@ -550,6 +550,16 @@ class GStreamerVaapiAV1Gst10Decoder(GStreamer10Video): hw_acceleration = True +@register_decoder +class GStreamerDav1dAV1Decoder(GStreamer10Video): + '''GStreamer AV1 dav1d decoder implementation for GStreamer 1.0''' + codec = Codec.AV1 + check_decoder_bin = ' dav1ddec ' + decoder_bin = f' parsebin ! {check_decoder_bin} ' + api = 'dav1d' + hw_acceleration = False + + @register_decoder class GStreamerVaVP9Gst10Decoder(GStreamer10Video): '''GStreamer VP9 VA decoder implementation for GStreamer 1.0'''