Skip to main content

RtspDecodedInputOptions Struct

Configuration for RtspDecodedInput. More...

Declaration

struct simaai::neat::nodes::groups::RtspDecodedInputOptions { ... }

Included Headers

#include <RtspDecodedInput.h>

Public Member Attributes Index

std::stringurl

rtsp:// URL to consume. More...

intlatency_ms = 200

Jitter-buffer latency in milliseconds. More...

booltcp = true

If true, request the RTSP TCP transport. More...

intpayload_type = 96

RTP payload type number for the H.264 stream. More...

inth264_parse_config_interval = ...

SPS/PPS reinjection interval for the H.264 parser (-1 = default). More...

inth264_fps = -1

Expected FPS injected into the parser caps (-1 = unspecified). More...

inth264_width = -1

Expected width injected into the parser caps (-1 = unspecified). More...

inth264_height = -1

Expected height injected into the parser caps (-1 = unspecified). More...

boolinsert_queue = true

Insert a queue between depayloader and parser. More...

boolsync_mode = false

If true, sink elements run in sync (real-time) mode. More...

boolauto_caps_from_stream = true

Try to derive caps automatically from the live stream. More...

intfallback_h264_fps = -1

Fallback FPS used if auto-caps fails. More...

intfallback_h264_width = -1

Fallback width used if auto-caps fails. More...

intfallback_h264_height = -1

Fallback height used if auto-caps fails. More...

intsima_allocator_type = 2

SiMa allocator type for decoder output buffers. More...

FormatSpecout_format = FormatTag::NV12

Pixel format produced by the decoder. More...

std::stringdecoder_name

Optional element instance name for the decoder. More...

booldecoder_raw_output = true

Request raw (non-encoded) output from the decoder. More...

std::stringdecoder_next_element

Optional next-element selector ("CVU" or "APU") for neatdecoder. More...

booluse_videoconvert = false

Insert videoconvert after decode for format adaptation. More...

booluse_videoscale = false

Insert videoscale after decode for resolution adaptation. More...

struct { ... }output_caps

Optional explicit output caps applied at the group's tail. More...

std::stringextra_fragment

Optional raw GStreamer fragment inserted into the group (advanced use). More...

Description

Configuration for RtspDecodedInput.

Controls the RTSP source (URL, transport, latency), the H.264 parse stage's fallback caps when the live stream omits them, and the SiMa hardware-decoder output configuration.

Definition at line 34 of file RtspDecodedInput.h.

Public Member Attributes

auto_caps_from_stream

bool simaai::neat::nodes::groups::RtspDecodedInputOptions::auto_caps_from_stream = true

Try to derive caps automatically from the live stream.

Definition at line 46 of file RtspDecodedInput.h.

decoder_name

std::string simaai::neat::nodes::groups::RtspDecodedInputOptions::decoder_name

Optional element instance name for the decoder.

Definition at line 53 of file RtspDecodedInput.h.

53 std::string decoder_name;

decoder_next_element

std::string simaai::neat::nodes::groups::RtspDecodedInputOptions::decoder_next_element

Optional next-element selector ("CVU" or "APU") for neatdecoder.

Definition at line 56 of file RtspDecodedInput.h.

decoder_raw_output

bool simaai::neat::nodes::groups::RtspDecodedInputOptions::decoder_raw_output = true

Request raw (non-encoded) output from the decoder.

Definition at line 54 of file RtspDecodedInput.h.

54 bool decoder_raw_output = true;

extra_fragment

std::string simaai::neat::nodes::groups::RtspDecodedInputOptions::extra_fragment

Optional raw GStreamer fragment inserted into the group (advanced use).

Definition at line 73 of file RtspDecodedInput.h.

73 std::string extra_fragment;

fallback_h264_fps

int simaai::neat::nodes::groups::RtspDecodedInputOptions::fallback_h264_fps = -1

Fallback FPS used if auto-caps fails.

Definition at line 47 of file RtspDecodedInput.h.

fallback_h264_height

int simaai::neat::nodes::groups::RtspDecodedInputOptions::fallback_h264_height = -1

Fallback height used if auto-caps fails.

Definition at line 49 of file RtspDecodedInput.h.

fallback_h264_width

int simaai::neat::nodes::groups::RtspDecodedInputOptions::fallback_h264_width = -1

Fallback width used if auto-caps fails.

Definition at line 48 of file RtspDecodedInput.h.

h264_fps

int simaai::neat::nodes::groups::RtspDecodedInputOptions::h264_fps = -1

Expected FPS injected into the parser caps (-1 = unspecified).

Definition at line 41 of file RtspDecodedInput.h.

41 int h264_fps = -1;

h264_height

int simaai::neat::nodes::groups::RtspDecodedInputOptions::h264_height = -1

Expected height injected into the parser caps (-1 = unspecified).

Definition at line 43 of file RtspDecodedInput.h.

43 int h264_height = -1;

h264_parse_config_interval

int simaai::neat::nodes::groups::RtspDecodedInputOptions::h264_parse_config_interval

SPS/PPS reinjection interval for the H.264 parser (-1 = default).

Initialiser
= -1

Definition at line 39 of file RtspDecodedInput.h.

h264_width

int simaai::neat::nodes::groups::RtspDecodedInputOptions::h264_width = -1

Expected width injected into the parser caps (-1 = unspecified).

Definition at line 42 of file RtspDecodedInput.h.

42 int h264_width = -1;

insert_queue

bool simaai::neat::nodes::groups::RtspDecodedInputOptions::insert_queue = true

Insert a queue between depayloader and parser.

Definition at line 44 of file RtspDecodedInput.h.

44 bool insert_queue = true;

latency_ms

int simaai::neat::nodes::groups::RtspDecodedInputOptions::latency_ms = 200

Jitter-buffer latency in milliseconds.

Definition at line 36 of file RtspDecodedInput.h.

36 int latency_ms = 200;

out_format

FormatSpec simaai::neat::nodes::groups::RtspDecodedInputOptions::out_format = FormatTag::NV12

Pixel format produced by the decoder.

Definition at line 52 of file RtspDecodedInput.h.

output_caps

struct simaai::neat::nodes::groups::RtspDecodedInputOptions::OutputCaps simaai::neat::nodes::groups::RtspDecodedInputOptions::output_caps

Optional explicit output caps applied at the group's tail.

Definition at line 70 of file RtspDecodedInput.h.

payload_type

int simaai::neat::nodes::groups::RtspDecodedInputOptions::payload_type = 96

RTP payload type number for the H.264 stream.

Definition at line 38 of file RtspDecodedInput.h.

38 int payload_type = 96;

sima_allocator_type

int simaai::neat::nodes::groups::RtspDecodedInputOptions::sima_allocator_type = 2

SiMa allocator type for decoder output buffers.

Definition at line 51 of file RtspDecodedInput.h.

sync_mode

bool simaai::neat::nodes::groups::RtspDecodedInputOptions::sync_mode = false

If true, sink elements run in sync (real-time) mode.

Definition at line 45 of file RtspDecodedInput.h.

45 bool sync_mode = false;

tcp

bool simaai::neat::nodes::groups::RtspDecodedInputOptions::tcp = true

If true, request the RTSP TCP transport.

Definition at line 37 of file RtspDecodedInput.h.

37 bool tcp = true;

url

std::string simaai::neat::nodes::groups::RtspDecodedInputOptions::url

rtsp:// URL to consume.

Definition at line 35 of file RtspDecodedInput.h.

35 std::string url;

use_videoconvert

bool simaai::neat::nodes::groups::RtspDecodedInputOptions::use_videoconvert = false

Insert videoconvert after decode for format adaptation.

Definition at line 58 of file RtspDecodedInput.h.

58 bool use_videoconvert = false;

use_videoscale

bool simaai::neat::nodes::groups::RtspDecodedInputOptions::use_videoscale = false

Insert videoscale after decode for resolution adaptation.

Definition at line 59 of file RtspDecodedInput.h.

59 bool use_videoscale = false;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.