JonasVautherin / px4-gazebo-headless

An unofficial Ubuntu-based container building and running PX4 SITL (Software In The Loop) through gazebo.
Apache License 2.0
74 stars 42 forks source link

Issue Running Video Stream #24

Open ekwilinski opened 2 years ago

ekwilinski commented 2 years ago

Hello,

I am having trouble connecting to the video stream of the typhoon h480. I ran the command in the readme to get a video feed, but when I try to connect to localhost:8554 in vncviewer, nothing happens.

Thank you, Elliot

Sitin commented 2 years ago

I experience the same problem. It seems that the stream should be available at rtsp://127.0.0.1:8554/live but my QGroundControl fails to get any video.

Sitin commented 1 year ago

@ekwilinski I can open video stream with (you need to install VLC):

vlc rtsp://127.0.0.1:8554/live 

Still can't configure QGroundControl to receive this stream.

julianoes commented 1 year ago

The problem might be that PX4 automatically sends the video stream parameters via mavlink but since there is an additional RTSP server this does not actually work as expected.

It's as if there should be a setting named "Auto MAVLink" in QGC and then a setting to manually set it.

JonasVautherin commented 1 year ago

Yeah right, px4-gazebo-headless does not change the VIDEO_STREAM_INFORMATION message, so QGC won't auto-detect it.

It's as if there should be a setting named "Auto MAVLink" in QGC and then a setting to manually set it.

Wasn't there a way to manually specify the video URL in QGC in the past? :thinking:

stevehenderson commented 1 year ago

I was able to enter the uri in @Sitin vlc start cmd directly into QGC:

rtsp1 rtsp2