RtspDecodedInputOptions Struct
Configuration for RtspDecodedInput. More...
Declaration
Included Headers
Public Member Attributes Index
| std::string | url |
|
rtsp:// URL to consume. More... | |
| int | latency_ms = 200 |
|
Jitter-buffer latency in milliseconds. More... | |
| bool | tcp = true |
|
If true, request the RTSP TCP transport. More... | |
| int | payload_type = 96 |
|
RTP payload type number for the H.264 stream. More... | |
| int | h264_parse_config_interval = ... |
|
SPS/PPS reinjection interval for the H.264 parser (-1 = default). More... | |
| int | h264_fps = -1 |
|
Expected FPS injected into the parser caps (-1 = unspecified). More... | |
| int | h264_width = -1 |
|
Expected width injected into the parser caps (-1 = unspecified). More... | |
| int | h264_height = -1 |
|
Expected height injected into the parser caps (-1 = unspecified). More... | |
| bool | insert_queue = true |
|
Insert a queue between depayloader and parser. More... | |
| bool | sync_mode = false |
|
If true, sink elements run in sync (real-time) mode. More... | |
| bool | auto_caps_from_stream = ... |
|
Try to derive caps automatically from the live stream, including RTSP MJPEG FPS. More... | |
| int | fallback_h264_fps = -1 |
|
Fallback FPS used if H.264 auto-caps fails. More... | |
| int | fallback_h264_width = -1 |
|
Fallback width used if auto-caps fails. More... | |
| int | fallback_h264_height = -1 |
|
Fallback height used if auto-caps fails. More... | |
| int | sima_allocator_type = 2 |
|
SiMa allocator type for decoder output buffers. More... | |
| FormatSpec | out_format = FormatTag::NV12 |
|
Pixel format produced by the decoder. More... | |
| std::string | decoder_name |
|
Optional element instance name for the decoder. More... | |
| bool | decoder_raw_output = true |
|
Request raw (non-encoded) output from the decoder. More... | |
| std::string | decoder_next_element |
|
Optional next-element selector ("CVU" or "APU") for neatdecoder. More... | |
| bool | use_videoconvert = false |
|
Insert videoconvert after decode for format adaptation. More... | |
| bool | use_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::string | extra_fragment |
|
Optional raw GStreamer fragment inserted into the group (advanced use). More... | |
| RtspCodec | codec = ... |
|
RTSP codec path to build. Default preserves H.264 behavior. More... | |
| bool | drop_on_latency = false |
|
If true, ask rtspsrc to drop late buffers. More... | |
| std::string | buffer_mode |
|
Optional rtspsrc buffer-mode value; empty = default. More... | |
| int | mjpeg_payload_type = 26 |
|
RTP payload type number for the MJPEG/RTP JPEG stream. More... | |
| int | dec_width = -1 |
|
Decoded frame width override; -1 = upstream-defined. More... | |
| int | dec_height = -1 |
|
Decoded frame height override; -1 = upstream-defined. More... | |
| int | dec_fps = -1 |
|
Decoded frame rate override; for MJPEG also a missing-caps FPS fallback. More... | |
| int | num_buffers = -1 |
|
Decoder output buffer pool size override; -1 = element default. More... | |
| int | source_fps = -1 |
|
Declared source stream FPS; feeds source caps and decoder FPS when set. More... | |
| bool | use_videorate = false |
|
Insert videorate after decode to enforce an output FPS. More... | |
| int | video_rate_fps = -1 |
|
FPS requested from videorate; -1 = use the resolved source FPS. More... | |
| int | decoder_input_buffers = -1 |
|
Decoder input buffer count override; -1 = element default. More... | |
| std::string | decoder_tuning |
|
Optional native decoder tuning ("low-memory", "throughput-low-latency", ...). More... | |
| bool | decoder_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
|
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
|
Optional rtspsrc buffer-mode value; empty = default.
Definition at line 79 of file RtspDecodedInput.h.
codec
|
RTSP codec path to build. Default preserves H.264 behavior.
- Initialiser
Definition at line 76 of file RtspDecodedInput.h.
dec_fps
|
Decoded frame rate override; for MJPEG also a missing-caps FPS fallback.
Definition at line 83 of file RtspDecodedInput.h.
dec_height
|
Decoded frame height override; -1 = upstream-defined.
Definition at line 82 of file RtspDecodedInput.h.
dec_width
|
Decoded frame width override; -1 = upstream-defined.
Definition at line 81 of file RtspDecodedInput.h.
decoder_input_buffers
|
Decoder input buffer count override; -1 = element default.
Definition at line 89 of file RtspDecodedInput.h.
decoder_memory_opt
|
If true, enable the decoder memory-optimized path.
Definition at line 92 of file RtspDecodedInput.h.
decoder_name
|
Optional element instance name for the decoder.
Definition at line 55 of file RtspDecodedInput.h.
decoder_next_element
|
Optional next-element selector ("CVU" or "APU") for neatdecoder.
Definition at line 58 of file RtspDecodedInput.h.
decoder_raw_output
|
Request raw (non-encoded) output from the decoder.
Definition at line 56 of file RtspDecodedInput.h.
decoder_tuning
|
Optional native decoder tuning ("low-memory", "throughput-low-latency", ...).
Definition at line 90 of file RtspDecodedInput.h.
drop_on_latency
|
If true, ask rtspsrc to drop late buffers.
Definition at line 78 of file RtspDecodedInput.h.
extra_fragment
|
Optional raw GStreamer fragment inserted into the group (advanced use).
Definition at line 74 of file RtspDecodedInput.h.
fallback_h264_fps
|
Fallback FPS used if H.264 auto-caps fails.
Definition at line 49 of file RtspDecodedInput.h.
fallback_h264_height
|
Fallback height used if auto-caps fails.
Definition at line 51 of file RtspDecodedInput.h.
fallback_h264_width
|
Fallback width used if auto-caps fails.
Definition at line 50 of file RtspDecodedInput.h.
h264_fps
|
Expected FPS injected into the parser caps (-1 = unspecified).
Definition at line 42 of file RtspDecodedInput.h.
h264_height
|
Expected height injected into the parser caps (-1 = unspecified).
Definition at line 44 of file RtspDecodedInput.h.
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
|
Expected width injected into the parser caps (-1 = unspecified).
Definition at line 43 of file RtspDecodedInput.h.
insert_queue
|
Insert a queue between depayloader and parser.
Definition at line 45 of file RtspDecodedInput.h.
latency_ms
|
Jitter-buffer latency in milliseconds.
Definition at line 37 of file RtspDecodedInput.h.
mjpeg_payload_type
|
RTP payload type number for the MJPEG/RTP JPEG stream.
Definition at line 80 of file RtspDecodedInput.h.
num_buffers
|
Decoder output buffer pool size override; -1 = element default.
Definition at line 84 of file RtspDecodedInput.h.
out_format
|
Pixel format produced by the decoder.
Definition at line 54 of file RtspDecodedInput.h.
output_caps
|
Optional explicit output caps applied at the group's tail.
Definition at line 71 of file RtspDecodedInput.h.
payload_type
|
RTP payload type number for the H.264 stream.
Definition at line 39 of file RtspDecodedInput.h.
sima_allocator_type
|
SiMa allocator type for decoder output buffers.
Definition at line 53 of file RtspDecodedInput.h.
source_fps
|
Declared source stream FPS; feeds source caps and decoder FPS when set.
Definition at line 85 of file RtspDecodedInput.h.
sync_mode
|
If true, sink elements run in sync (real-time) mode.
Definition at line 46 of file RtspDecodedInput.h.
tcp
|
If true, request the RTSP TCP transport.
Definition at line 38 of file RtspDecodedInput.h.
url
|
rtsp:// URL to consume.
Definition at line 36 of file RtspDecodedInput.h.
use_videoconvert
|
Insert videoconvert after decode for format adaptation.
Definition at line 60 of file RtspDecodedInput.h.
use_videorate
|
Insert videorate after decode to enforce an output FPS.
Definition at line 86 of file RtspDecodedInput.h.
use_videoscale
|
Insert videoscale after decode for resolution adaptation.
Definition at line 61 of file RtspDecodedInput.h.
video_rate_fps
|
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.