Elecard Video Scaler

Elecard Video Scaler is a GStreamer plugin that resizes video with high quality, changes picture aspect ratio (AR), and works with the vertical blanking interval (VBI) information.

Features

Elecard Video Scaler has the following features:

  • Supports multiple methods for changing the aspect ratio;

  • Supports multiple interpolation methods;

  • Supports multiple resize settings for finer operation.

Parameter Description

Below is the table describing Elecard Video Scaler parameters and their values:

Parameter Name

Description

Value Type

Available Values [range]

Default

Flags

ar-method

Specifies the method for changing the aspect ratio. Available options:

  • Box — the addition of black lines;

  • Crop — proportional stretching along with cropping the content that doesn’t fit within the screen boundaries;

  • Squeeze/stretch — squeezing/stretching.

Enum

0 — Box
1 — Crop
2 — Squeeze/stretch

0

readable, writable, controllable

change-ar

Enables or disables the aspect ratio change (works along with ar-method).

Boolean

True, False

False

readable, writable, controllable

crop-bottom

Specifies the number of pixels cropped from the bottom.

Integer

[0 – 2147483647]

0

readable, writable, controllable

crop-left

Specifies the number of pixels cropped from the left.

Integer

[0 – 2147483647]

0

readable, writable, controllable

crop-right

Specifies the number of pixels cropped from the right.

Integer

[0 – 2147483647]

0

readable, writable, controllable

crop-top

Specifies the number of pixels cropped from the top.

Integer

[0 – 2147483647]

0

readable, writable, controllable

enable-crop

Enables or disables frame cropping.

Boolean

True, False

False

readable, writable, controllable

height-out

Specifies the frame height resolution. If the value is 0, the height doesn’t change.

Integer

[0 – 2147483647]

0

readable, writable, controllable

interlace-switch

Provides a selection of the scan type for cases where a wrong value is specified in the input stream.

Enum

0 — Auto
1 — Progressive
2 — Interlaced

0

readable, writable, controllable

keep-par 1

Keeps pixel aspect ratio. Available options:

  • 0 — Disable;

  • 1 — Enable.

Integer

[0 – 1]

1

readable, writable, controllable

license-state

Indicates the license state.

String

evaluation

readable

method

Specifies the interpolation method during frame scaling. Available methods:

  • Bilinear interpolation;

  • Bicubic interpolation;

  • Lanczos interpolation (3 lobes);

  • Lanczos interpolation (4 lobes).

Enum

0 — Bilinear interpolation
1 — Bicubic interpolation
2 — Lanczos interpolation (3 lobes)
3 — Lanczos interpolation (4 lobes)

1

readable, writable, controllable

name

Specifies the name of the object.

String

evs0

readable, writable

num-threads

Specifies the maximum number of threads created by the component (for multi-core processors).

Integer

[0 – 2147483647]

0

readable, writable, controllable

oem-name

Indicates the OEM name.

String

“”

readable

parent

Specifies the parent of the object.

Object of type GstObject

readable, writable

qos

Enables or disables the handling of quality-of-service events.

Boolean

True, False

True

readable, writable

target-xar

Specifies the width change of the aspect ratio.

Integer

[0 – 2147483647]

1

readable, writable, controllable

target-yar

Specifies the height change of the aspect ratio.

Integer

[0 – 2147483647]

1

readable, writable, controllable

vbi-mode

Enables the use of the VBI mode.

Enum

0 — None
1 — Remove

0

readable, writable, controllable

width-out

Specifies the frame width resolution. If the value is 0, the width doesn’t change.

Integer

[0 – 2147483647]

0

readable, writable, controllable

1

This parameter is deprecated.