View Source Membrane.FFmpeg.SWScale.PixelFormatConverter (Membrane FFmpeg SWScale plugin v0.16.1)

This module is deprecated. Use Membrane.FFmpeg.SWScale.Converter instead.

All options supported by Membrane.FFmpeg.SWScale.PixelFormatConverter are supported by Membrane.FFmpeg.SWScale.Converter.

Element options

Passed via struct Membrane.FFmpeg.SWScale.PixelFormatConverter.t/0

  • format

    RawVideo.pixel_format_t()

    Required
    Desired pixel format of output video.

Pads

:input

Accepted formats:

%RawVideo{aligned: true, pixel_format: pixel_format} when pixel_format in @supported_pixel_formats
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

%RawVideo{aligned: true, pixel_format: pixel_format} when pixel_format in @supported_pixel_formats
Direction::output
Availability::always
Flow control::auto

Summary

Functions

Returns description of options available for this module

Types

@type t() :: %Membrane.FFmpeg.SWScale.PixelFormatConverter{
  format: Membrane.RawVideo.pixel_format_t()
}

Struct containing options for Membrane.FFmpeg.SWScale.PixelFormatConverter

Functions

@spec options() :: keyword()

Returns description of options available for this module

Link to this function

supported_pixel_formats()

View Source
@spec supported_pixel_formats() :: [Membrane.RawVideo.pixel_format_t()]