Home        Store        Learn        Blog

VLAN stream not getting displayed in VLC or other media players

Hello. So, I am trying to display the camera stream from BlueRov’s low light HD camera on my computer using VLC media player. However, it doesn’t seem to be working. These are my gstreamer options (basically default options) on :

! h264parse
! queue
! rtph264pay config-interval=10 pt=96
! udpsink host= port=5600

This is my sdp file content that I run on the computer:

c=IN IP4
m=video 5600 RTP/AVP 96
a=rtpmap:96 H264/90000

However, on opening the sdp file, there is no stream. On checking the log, I get this:

live555 error: no data received in 10s, aborting
-- logger module stopped --

I am using the latest companion software 0.0.29.

Does anyone know the solution?

Hi @ARov477, welcome to the forum :slight_smile:

The camera settings and sdp you’ve posted are the defaults, and the stream runs fine for me in VLC using those. Any chance you’ve already got the stream open somewhere else (e.g. you’ve opened it twice, or are already accessing it in QGroundControl)?

If not, does the stream work when you’re using QGroundControl? Otherwise you may have a damaged or unplugged camera. You can try plugging the camera directly into your computer and seeing if it appears in a camera application :slight_smile:

By the way, I’ve edited your post so the gstreamer options, sdp file, and error message are in code blocks, which makes them easier to see clearly, and copy to test with. There are instructions for how to do that in the Formatting a Post/Comment section of the How to Use the Blue Robotics Forums post :slight_smile:

Hey @EliotBR. Thanks for your reply.

No, the stream is not open anywhere else. I double-checked just to be sure.

Yes, the stream works with QGroundControl and also using the command line (gstreamer pipeline.)

Huh, that’s really odd. A few more questions then:

  • Which operating system are you using?
  • Which version of VLC are you using?
  • How are you opening the sdp file (e.g. double-click, or from within VLC)?
  • Do you have firewall that could somehow be allowing UDP connections but blocking RTP?

Yes! You are right. The firewall was blocking RTP connections. I allowed it for VLC and now, everything works fine.

Thank you so much.

1 Like