Skip to content

Tunnel RTSP streams from Balena devices - #82

Open
timmarkhuff wants to merge 15 commits into
mainfrom
tim/balena-rtsp
Open

Tunnel RTSP streams from Balena devices#82
timmarkhuff wants to merge 15 commits into
mainfrom
tim/balena-rtsp

Conversation

@timmarkhuff

@timmarkhuff timmarkhuff commented Oct 1, 2025

Copy link
Copy Markdown
Collaborator

Adds a function to the CLI that allows you to tunnel an RTSP stream from a Balena device to your local machine.

Suppose your Balena device has an RTSP URL like:

rtsp://admin:password@192.168.2.219:554/stream0

On your local machine, run:

framegrab balena-rtsp-tunnel <YOUR-BALENA-DEVICE-ID> 192.168.2.219

Then on your local machine, open the RTSP URL, which will be at rtsp://admin:password@localhost:8555/stream0. You can preview it with the framegrab CLI:

framegrab preview rtsp://admin:password@localhost:8555/stream0 -o cv2

@timmarkhuff
timmarkhuff marked this pull request as draft October 1, 2025 07:06
@timmarkhuff
timmarkhuff marked this pull request as ready for review October 1, 2025 17:34
@timmarkhuff
timmarkhuff requested a review from honeytung October 1, 2025 17:35
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