Skip to content

Does trackstudio support streaming videoframe frrom laptop' camera using mediamtx+ffmpeg #9

@cmpolik

Description

@cmpolik

Hello!
I've got laptops with cameras and a remote machine with a strong GPU. So my task is to deploy "trackstudio" on the remote machine. For that, I did these steps.

  1. I've installed "mediamtx" (which supports RTSP protocols) and "ffmpeg" for streaming frames.
  2. I've installed "trackstudio" following the instructions from GitHub on my conda environment.
  3. I made this simple block of code and ran it in my environment.
import trackstudio as ts
LOCAL_IP = <ip_of_my_laptop> 

app = ts.launch(
    rtsp_streams=[
        f"rtsp://{LOCAL_IP}:8554/mystream" 
    ],
    camera_names=["mystream"],
    tracker="rfdetr",
    server_name="0.0.0.0", 
    server_port=8000,   
    open_browser=False 
)
  1. So I opened the interface on my laptop at: http://<ip_of_remote_machine>:8000/mystream

So the issue is: I can't see my streaming in the interface, the button "start combined stream" doesn't work, returning a frontend error, but there are no logs from the block of running trackstudio.

As a matter of fact, streaming is working correctly because I could successfully display it on my laptop using localhost on port 8889, as it's written in the mediamtx YAML.

Do I understand correctly that trackstudio only supports "Thinklet Cube"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions