Skip to main content

RtspDecodedInput.h File

RtspDecodedInput — RTSP source plus H.264 depacketize/parse plus hardware decode. More...

Included Headers

#include "builder/NodeGroup.h" #include "contracts/ContractTypes.h" #include "pipeline/FormatSpec.h" #include <string>

Namespaces Index

namespacesimaai
namespaceneat
namespacenodes
namespacegroups

Classes Index

structRtspDecodedInputOptions

Configuration for RtspDecodedInput. More...

structOutputCaps

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

Description

RtspDecodedInput — RTSP source plus H.264 depacketize/parse plus hardware decode.

The "live camera" preset: pulls an H.264 stream from an rtsp:// URL, depacketizes and parses the bitstream, and runs SiMa hardware H.264 decode to emit raw frames for downstream Nodes. Typical placement: very first NodeGroup in a Session that consumes a live IP camera feed.

See Also

VideoInputGroup

See Also

ImageInputGroup

See Also

H264Parse

File Listing

The file content with the documentation metadata removed is:

1
15#pragma once
16
17#include "builder/NodeGroup.h"
20
21#include <string>
22
24
35 std::string url;
36 int latency_ms = 200;
37 bool tcp = true;
38 int payload_type = 96;
40 -1;
41 int h264_fps = -1;
42 int h264_width = -1;
43 int h264_height = -1;
44 bool insert_queue = true;
45 bool sync_mode = false;
50
53 std::string decoder_name;
54 bool decoder_raw_output = true;
55 std::string
57
58 bool use_videoconvert = false;
59 bool use_videoscale = false;
60
62 struct OutputCaps {
63 bool enable = false;
65 int width = -1;
66 int height = -1;
67 int fps = -1;
71
73 std::string extra_fragment;
74};
75
90simaai::neat::NodeGroup RtspDecodedInput(const RtspDecodedInputOptions& opt);
91
92} // namespace simaai::neat::nodes::groups

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.