domdom999
Posts: 4
Joined: Mon Sep 23, 2019 4:28 pm

RTSP link not working in OMXPLAYER

Mon Sep 23, 2019 4:37 pm

Hi All,

I have been trying to setup surveillance station on Raspberry Pi. In simple words, the omxplayer seems to not playing the link from my BCS camera recorder. The BCS recorder sends the video stream over rtsp protocol and the protocol looks like:

rtsp://admin:password@192.168.1.100:554/cam/realvideo?channel=1&subtype=1

The rtsp protocol is correct I have no problem playing on PC through VLC any given channel.

The funny part is if I try to play on omxplayer main channel: rtsp://admin:password@192.168.1.100:554 it works !

Please any suggestions why omxplayer has problems with rtsp protocol.

Thnaks !

domdom999
Posts: 4
Joined: Mon Sep 23, 2019 4:28 pm

Re: RTSP link not working in OMXPLAYER

Wed Sep 25, 2019 2:00 pm

Can it be a problem with question mark in the rtsp address?

trejan
Posts: 2134
Joined: Tue Jul 02, 2019 2:28 pm

Re: RTSP link not working in OMXPLAYER

Wed Sep 25, 2019 3:07 pm

domdom999 wrote:
Wed Sep 25, 2019 2:00 pm
Can it be a problem with question mark in the rtsp address?
Try it with quote marks around the URL. The & is probably the issue.

domdom999
Posts: 4
Joined: Mon Sep 23, 2019 4:28 pm

Re: RTSP link not working in OMXPLAYER

Thu Sep 26, 2019 7:46 am

I have already tried with quote marks (double quote, single quote ).... Same problem....

domdom999
Posts: 4
Joined: Mon Sep 23, 2019 4:28 pm

Re: RTSP link not working in OMXPLAYER

Thu Sep 26, 2019 9:04 am

Hi All,

Indeed the Ampersand ("&") was cousing a problem, I have replaced it with Code Points (Hexadecimal) %26.

Thanks a lot !

cqx931
Posts: 2
Joined: Wed Nov 20, 2019 7:31 pm

Re: RTSP link not working in OMXPLAYER

Wed Nov 20, 2019 7:34 pm

What's the exact command line you used to run the rtsp link with OMXPLAYER?

My rtsp link looks very similar like yours so I think we are using the same camera.
I tried first with VLC and I can't open the link there, which led me to try OMXPLAYER.

Return to “Troubleshooting”