Skip to main content

HttpMjpegDecodedInputOptions Struct

Configuration for HttpMjpegDecodedInput. More...

Declaration

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

Included Headers

#include <HttpMjpegDecodedInput.h>

Public Member Attributes Index

std::stringurl

HTTP/HTTPS multipart MJPEG URL to consume. More...

inttimeout_seconds = 15

Blocking HTTP I/O timeout in seconds; 0 disables timeout. More...

intretries = 3

Maximum HTTP retries before failing; -1 means infinite. More...

boolis_live = true

Mark the HTTP source as live. More...

booldo_timestamp = true

Timestamp outgoing source buffers with stream time. More...

std::stringuser_agent

Optional HTTP User-Agent override. More...

std::stringmultipart_boundary

Optional multipart boundary override; empty = auto-detect. More...

boolmultipart_single_stream = false

If true, assume multipart content type is stable. More...

boolinsert_queue = true

Insert queues around source/framing and decode. More...

boolsync_mode = false

If true, sink elements run in sync mode. 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 decoder-native raw output. More...

std::stringdecoder_next_element

Optional next-element selector ("CVU" or "APU") for neatdecoder. 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; also fixes missing input caps. More...

intnum_buffers = -1

Decoder output buffer pool size override; -1 = element default. 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...

boolssl_strict = true

If false, disable strict TLS certificate validation. More...

intsource_fps = -1

Declared source stream FPS; feeds caps repair and decoder FPS. More...

booluse_videorate = false

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

intvideo_rate_fps = -1

FPS requested from videorate; -1 = use source_fps. More...

Description

Configuration for HttpMjpegDecodedInput.

Controls the HTTP source, multipart framing, JPEG parsing, native MJPEG decoder output, and optional tail caps.

Definition at line 31 of file HttpMjpegDecodedInput.h.

Public Member Attributes

dec_fps

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

Decoded frame rate override; also fixes missing input caps.

Definition at line 51 of file HttpMjpegDecodedInput.h.

dec_height

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

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

Definition at line 50 of file HttpMjpegDecodedInput.h.

dec_width

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

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

Definition at line 49 of file HttpMjpegDecodedInput.h.

decoder_name

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

Optional element instance name for the decoder.

Definition at line 45 of file HttpMjpegDecodedInput.h.

decoder_next_element

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

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

Definition at line 48 of file HttpMjpegDecodedInput.h.

decoder_raw_output

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

Request decoder-native raw output.

Definition at line 46 of file HttpMjpegDecodedInput.h.

do_timestamp

bool simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::do_timestamp = true

Timestamp outgoing source buffers with stream time.

Definition at line 36 of file HttpMjpegDecodedInput.h.

extra_fragment

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

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

Definition at line 68 of file HttpMjpegDecodedInput.h.

insert_queue

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

Insert queues around source/framing and decode.

Definition at line 40 of file HttpMjpegDecodedInput.h.

is_live

bool simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::is_live = true

Mark the HTTP source as live.

Definition at line 35 of file HttpMjpegDecodedInput.h.

multipart_boundary

std::string simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::multipart_boundary

Optional multipart boundary override; empty = auto-detect.

Definition at line 38 of file HttpMjpegDecodedInput.h.

multipart_single_stream

bool simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::multipart_single_stream = false

If true, assume multipart content type is stable.

Definition at line 39 of file HttpMjpegDecodedInput.h.

num_buffers

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

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

Definition at line 52 of file HttpMjpegDecodedInput.h.

out_format

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

Pixel format produced by the decoder.

Definition at line 44 of file HttpMjpegDecodedInput.h.

output_caps

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

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

Definition at line 65 of file HttpMjpegDecodedInput.h.

retries

int simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::retries = 3

Maximum HTTP retries before failing; -1 means infinite.

Definition at line 34 of file HttpMjpegDecodedInput.h.

sima_allocator_type

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

SiMa allocator type for decoder output buffers.

Definition at line 43 of file HttpMjpegDecodedInput.h.

source_fps

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

Declared source stream FPS; feeds caps repair and decoder FPS.

Definition at line 71 of file HttpMjpegDecodedInput.h.

ssl_strict

bool simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::ssl_strict = true

If false, disable strict TLS certificate validation.

Definition at line 70 of file HttpMjpegDecodedInput.h.

sync_mode

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

If true, sink elements run in sync mode.

Definition at line 41 of file HttpMjpegDecodedInput.h.

timeout_seconds

int simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::timeout_seconds = 15

Blocking HTTP I/O timeout in seconds; 0 disables timeout.

Definition at line 33 of file HttpMjpegDecodedInput.h.

url

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

HTTP/HTTPS multipart MJPEG URL to consume.

Definition at line 32 of file HttpMjpegDecodedInput.h.

use_videoconvert

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

Insert videoconvert after decode for format adaptation.

Definition at line 54 of file HttpMjpegDecodedInput.h.

use_videorate

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

Insert videorate after decode to enforce an output FPS.

Definition at line 72 of file HttpMjpegDecodedInput.h.

use_videoscale

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

Insert videoscale after decode for resolution adaptation.

Definition at line 55 of file HttpMjpegDecodedInput.h.

user_agent

std::string simaai::neat::nodes::groups::HttpMjpegDecodedInputOptions::user_agent

Optional HTTP User-Agent override.

Definition at line 37 of file HttpMjpegDecodedInput.h.

video_rate_fps

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

FPS requested from videorate; -1 = use source_fps.

Definition at line 73 of file HttpMjpegDecodedInput.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.