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 = ...

Try to derive caps automatically from the live stream, including RTSP MJPEG FPS. More...

intfallback_h264_fps = -1

Fallback FPS used if H.264 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...

RtspCodeccodec = ...

RTSP codec path to build. Default preserves H.264 behavior. More...

booldrop_on_latency = false

If true, ask rtspsrc to drop late buffers. More...

std::stringbuffer_mode

Optional rtspsrc buffer-mode value; empty = default. More...

intmjpeg_payload_type = 26

RTP payload type number for the MJPEG/RTP JPEG stream. More...

intdec_width = -1

Decoded frame width override; -1 = upstream-defined. More...

intdec_height = -1

Decoded frame height override; -1 = upstream-defined. More...

intdec_fps = -1

Decoded frame rate override; for MJPEG also a missing-caps FPS fallback. More...

intnum_buffers = -1

Decoder output buffer pool size override; -1 = element default. More...

intsource_fps = -1

Declared source stream FPS; feeds source caps and decoder FPS when set. More...

booluse_videorate = false

Insert videorate after decode to enforce an output FPS. More...

intvideo_rate_fps = -1

FPS requested from videorate; -1 = use the resolved source FPS. More...

intdecoder_input_buffers = -1

Decoder input buffer count override; -1 = element default. More...

std::stringdecoder_tuning

Optional native decoder tuning ("low-memory", "throughput-low-latency", ...). More...

booldecoder_memory_opt = false

If true, enable the decoder memory-optimized path. More...

Description

Configuration for RtspDecodedInput.

Controls the RTSP source, codec-specific depacketize/parse stage, and SiMa hardware-decoder output configuration. Defaults preserve the existing H.264 behavior.

Definition at line 35 of file RtspDecodedInput.h.

Public Member Attributes

auto_caps_from_stream

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

Try to derive caps automatically from the live stream, including RTSP MJPEG FPS.

Initialiser
= true

Definition at line 47 of file RtspDecodedInput.h.

buffer_mode

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

Optional rtspsrc buffer-mode value; empty = default.

Definition at line 79 of file RtspDecodedInput.h.

codec

RtspCodec simaai::neat::nodes::groups::RtspDecodedInputOptions::codec

RTSP codec path to build. Default preserves H.264 behavior.

Initialiser

Definition at line 76 of file RtspDecodedInput.h.

dec_fps

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

Decoded frame rate override; for MJPEG also a missing-caps FPS fallback.

Definition at line 83 of file RtspDecodedInput.h.

dec_height

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

Decoded frame height override; -1 = upstream-defined.

Definition at line 82 of file RtspDecodedInput.h.

dec_width

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

Decoded frame width override; -1 = upstream-defined.

Definition at line 81 of file RtspDecodedInput.h.

decoder_input_buffers

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

Decoder input buffer count override; -1 = element default.

Definition at line 89 of file RtspDecodedInput.h.

decoder_memory_opt

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

If true, enable the decoder memory-optimized path.

Definition at line 92 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 55 of file RtspDecodedInput.h.

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 58 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 56 of file RtspDecodedInput.h.

decoder_tuning

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

Optional native decoder tuning ("low-memory", "throughput-low-latency", ...).

Definition at line 90 of file RtspDecodedInput.h.

drop_on_latency

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

If true, ask rtspsrc to drop late buffers.

Definition at line 78 of file RtspDecodedInput.h.

extra_fragment

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

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

Definition at line 74 of file RtspDecodedInput.h.

fallback_h264_fps

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

Fallback FPS used if H.264 auto-caps fails.

Definition at line 49 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 51 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 50 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 42 of file RtspDecodedInput.h.

h264_height

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

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

Definition at line 44 of file RtspDecodedInput.h.

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 40 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 43 of file RtspDecodedInput.h.

insert_queue

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

Insert a queue between depayloader and parser.

Definition at line 45 of file RtspDecodedInput.h.

latency_ms

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

Jitter-buffer latency in milliseconds.

Definition at line 37 of file RtspDecodedInput.h.

mjpeg_payload_type

int simaai::neat::nodes::groups::RtspDecodedInputOptions::mjpeg_payload_type = 26

RTP payload type number for the MJPEG/RTP JPEG stream.

Definition at line 80 of file RtspDecodedInput.h.

num_buffers

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

Decoder output buffer pool size override; -1 = element default.

Definition at line 84 of file RtspDecodedInput.h.

out_format

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

Pixel format produced by the decoder.

Definition at line 54 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 71 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 39 of file RtspDecodedInput.h.

sima_allocator_type

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

SiMa allocator type for decoder output buffers.

Definition at line 53 of file RtspDecodedInput.h.

source_fps

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

Declared source stream FPS; feeds source caps and decoder FPS when set.

Definition at line 85 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 46 of file RtspDecodedInput.h.

tcp

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

If true, request the RTSP TCP transport.

Definition at line 38 of file RtspDecodedInput.h.

url

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

rtsp:// URL to consume.

Definition at line 36 of file RtspDecodedInput.h.

use_videoconvert

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

Insert videoconvert after decode for format adaptation.

Definition at line 60 of file RtspDecodedInput.h.

use_videorate

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

Insert videorate after decode to enforce an output FPS.

Definition at line 86 of file RtspDecodedInput.h.

use_videoscale

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

Insert videoscale after decode for resolution adaptation.

Definition at line 61 of file RtspDecodedInput.h.

video_rate_fps

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

FPS requested from videorate; -1 = use the resolved source FPS.

Definition at line 87 of file RtspDecodedInput.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.