diff --git a/fluster/decoders/gstreamer.py b/fluster/decoders/gstreamer.py index 76b9be9..92f5a02 100644 --- a/fluster/decoders/gstreamer.py +++ b/fluster/decoders/gstreamer.py @@ -678,92 +678,6 @@ class FluendoH264VAGst10Decoder(GStreamer10Video): api = "HW" -class FluendoH265VAGst10DecoderBase(GStreamer10Video): - """Fluendo H.265 hardware decoder implementation for GStreamer 1.0""" - - codec = Codec.H265 - decoder_bin_tmpl = ( - " video/x-h265,stream-format={stream_format},alignment={alignment} !" - " fluhwvadec " - ) - provider = "Fluendo" - api = "HW" - stream_format: str = "" - alignment: str = "" - - def __init__(self) -> None: - super().__init__() - self.name = self._translator(self.name) - self.description = self._translator(self.description) - self.decoder_bin = self.decoder_bin_tmpl.format( - stream_format=self.stream_format, alignment=self.alignment - ) - - def _translator(self, target_val: str) -> str: - new_val = f"{self.codec.value}-{self.stream_format}-{self.alignment}" - return target_val.replace(self.codec.value, new_val) - - -@register_decoder -class FluendoH265ByteStreamAuVAGst10Decoder(FluendoH265VAGst10DecoderBase): - """ - Fluendo H.265 (byte-stream/au) hardware decoder implementation for GStreamer 1.0 - """ - - stream_format = "byte-stream" - alignment = "au" - - -@register_decoder -class FluendoH265ByteStreamNalVAGst10Decoder(FluendoH265VAGst10DecoderBase): - """ - Fluendo H.265 (byte-stream/nal) hardware decoder implementation for GStreamer 1.0 - """ - - stream_format = "byte-stream" - alignment = "nal" - - -@register_decoder -class FluendoH265Hev1AuVAGst10Decoder(FluendoH265VAGst10DecoderBase): - """ - Fluendo H.265 (hev1/au) hardware decoder implementation for GStreamer 1.0 - """ - - stream_format = "hev1" - alignment = "au" - - -@register_decoder -class FluendoH265Hvc1AuVAGst10Decoder(FluendoH265VAGst10DecoderBase): - """ - Fluendo H.265 (hvc1/au) hardware decoder implementation for GStreamer 1.0 - """ - - stream_format = "hvc1" - alignment = "au" - - -@register_decoder -class FluendoH265Hev1NalVAGst10Decoder(FluendoH265VAGst10DecoderBase): - """ - Fluendo H.265 (hev1/nal) hardware decoder implementation for GStreamer 1.0 - """ - - stream_format = "hev1" - alignment = "nal" - - -@register_decoder -class FluendoH265Hvc1NalVAGst10Decoder(FluendoH265VAGst10DecoderBase): - """ - Fluendo H.265 (hvc1/nal) hardware decoder implementation for GStreamer 1.0 - """ - - stream_format = "hvc1" - alignment = "nal" - - @register_decoder class FluendoFluVAH265DecGst10Decoder(GStreamer10Video): """Fluendo H.265 separated plugin hardware decoder for GStreamer 1.0"""