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

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

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

Element options

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

  • output_width

    non_neg_integer()

    Default value: nil
    Width of the scaled video.

  • output_height

    non_neg_integer()

    Default value: nil
    Height of the scaled video.

  • use_shm?

    boolean()

    Default value: false
    If true, native scaler will use shared memory (via Shmex.t/0) for storing frames

Pads

:input

Accepted formats:

%RawVideo{pixel_format: :I420, aligned: true}
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

%RawVideo{pixel_format: :I420, aligned: true}
Direction::output
Availability::always
Flow control::auto

Summary

Types

t()

Struct containing options for Membrane.FFmpeg.SWScale.Scaler

Functions

Returns description of options available for this module

Types

@type t() :: %Membrane.FFmpeg.SWScale.Scaler{
  output_height: non_neg_integer(),
  output_width: non_neg_integer(),
  use_shm?: boolean()
}

Struct containing options for Membrane.FFmpeg.SWScale.Scaler

Functions

@spec options() :: keyword()

Returns description of options available for this module