Skip to content

Conversation

timmarkhuff
Copy link
Collaborator

@timmarkhuff timmarkhuff commented Oct 1, 2025

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:[email protected]: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