Skip to content

Add raw RTSP stream support#97

Open
openminddev wants to merge 2 commits intomainfrom
support-raw-video
Open

Add raw RTSP stream support#97
openminddev wants to merge 2 commits intomainfrom
support-raw-video

Conversation

@openminddev
Copy link
Contributor

Extend RTSPVideoStreamWriter and CLI to publish a separate raw video RTSP stream. Added raw_local_rtsp_url and raw_remote_rtsp_url args and validation, separate ffmpeg subprocess/encoder handling, stderr logger, queue, and writer thread for raw frames. Implemented _start_raw_process, _raw_stderr_logger_loop, _raw_writer_thread, and write_raw_frame; adjusted ffmpeg command builder to support raw vs processed outputs and updated teardown/restart logic. Also added CLI flags (--raw-local-rtsp, --raw-remote-rtsp) and logging in run.py, and invoke write_raw_frame from the main capture loop.

Extend RTSPVideoStreamWriter and CLI to publish a separate raw video RTSP stream. Added raw_local_rtsp_url and raw_remote_rtsp_url args and validation, separate ffmpeg subprocess/encoder handling, stderr logger, queue, and writer thread for raw frames. Implemented _start_raw_process, _raw_stderr_logger_loop, _raw_writer_thread, and write_raw_frame; adjusted ffmpeg command builder to support raw vs processed outputs and updated teardown/restart logic. Also added CLI flags (--raw-local-rtsp, --raw-remote-rtsp) and logging in run.py, and invoke write_raw_frame from the main capture loop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant