Skip to content

Commit

Permalink
Add GStreamer-based dav1d decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
cadubentzen authored and mdimopoulos committed Nov 7, 2023
1 parent 45fdcb7 commit 590aad7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fluster/decoders/gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'''
Expand Down

0 comments on commit 590aad7

Please sign in to comment.