View Source Membrane.Nvidia.MMAPI.Decoder (Membrane Nvidia Jetson plugin v0.1.2)
Membrane element that decodes video in H264 or H265 format using the Jetson hardware decoder based on V4L2 interface.
The element expects the received buffers to contain an integral access units.
It also supports scaling the decoded frames using the VIC
hardware accelerator.
Element options
Passed via struct Membrane.Nvidia.MMAPI.Decoder.t/0
width
non_neg_integer()
Default value:
nil
Scale the decoded picture to the provided width.If height is not provided, it'll be calculated to keep the aspect ratio.
height
non_neg_integer()
Default value:
nil
Scale the decoded picture to the provided height.If width is not provided, it'll be calculated to keep the aspect ratio.
Pads
:input
Accepted formats:
%H264{alignment: :au, stream_structure: :annexb}
%H265{alignment: :au, stream_structure: :annexb}
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
Struct containing options for Membrane.Nvidia.MMAPI.Decoder
Types
@type t() :: %Membrane.Nvidia.MMAPI.Decoder{ height: non_neg_integer(), width: non_neg_integer() }
Struct containing options for Membrane.Nvidia.MMAPI.Decoder
Functions
@spec options() :: keyword()
Returns description of options available for this module