Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing from a gimble camera #109

Open
hichamhendy opened this issue Jul 20, 2021 · 5 comments
Open

Publishing from a gimble camera #109

hichamhendy opened this issue Jul 20, 2021 · 5 comments

Comments

@hichamhendy
Copy link

I am trying to publish a topic from a rtsp link but I got the error

[FATAL] [1626767105.585861559]: Invalid 'video_stream_provider': rtsp://192.168.0.201:554/live0

When I try with vlc or gstream it works fine through the following command
gst-launch-1.0 -v rtspsrc location=rtsp://192.168.0.201:554/live0 drop-on-latency=true use-pipeline-clock=true do-retransmission=false latency=0 protocols=GST_RTSP_LOWER_TRANS_UDP ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink sync=true

but anyway, i want to to publish the stream on topic: By the way I tried with webcam and it also works fine! Only with rtsp

@awesomebytes
Copy link
Member

awesomebytes commented Jul 20, 2021 via email

@hichamhendy
Copy link
Author

Do I need to provide you with more info about the error?

@awesomebytes
Copy link
Member

awesomebytes commented Jul 20, 2021 via email

@hichamhendy
Copy link
Author

Here it is: arg name="video_stream_provider" value="rtsp://192.168.0.201:554/live0"

I didn't change much in there! only added my rtsp link, Should I have done something else?

From test_video_resource, I get:
resource.py rtsp://192.168.0.201:554/live0
('Trying to open resource: ', 'rtsp://192.168.0.201:554/live0')
Error opening resource: rtsp://192.168.0.201:554/live0
Maybe opencv VideoCapture can't open it

@awesomebytes
Copy link
Member

awesomebytes commented Jul 20, 2021 via email

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

No branches or pull requests

2 participants