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

GStreamer client command from tutorial doesn't work #62

Open
2 tasks done
jkaniuka opened this issue Dec 20, 2024 · 2 comments
Open
2 tasks done

GStreamer client command from tutorial doesn't work #62

jkaniuka opened this issue Dec 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jkaniuka
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

I was trying to use RTSP stream from ZED X Camera, but I encountered error following this manual: GStreamer - ZED RTSP Server.

Steps to Reproduce

  1. gst-zed-rtsp-launch zedsrc ! videoconvert ! 'video/x-raw, format=(string)I420' ! x264enc ! rtph264pay pt=96 name=pay0
  2. gst-launch-1.0 rtspsrc location=rtsp://${SERVER_IP}:8554/zed-stream latency=0 ! decodebin ! fpsdisplaysink

Expected Result

I expected RTSP stream to be displayed on the client side.

Actual Result

Error on client's side:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://:8554/zed-stream
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.
Additional debug info:
../gst/rtsp/gstrtspsrc.c(8130): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Failed to connect. (Generic error)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

ZED Camera model

ZED

Environment

ZED Box Orin NX 16 GB with GMSL2
ZED SDK for JetPack 6.0 GA (L4T 36.3) 4.2 (Jetson Orin, CUDA 12.2)

Anything else?

No response

@jkaniuka jkaniuka added the bug Something isn't working label Dec 20, 2024
@Myzhar
Copy link
Member

Myzhar commented Dec 20, 2024

Hi @jkaniuka
Connecting to rtsp://:8554/zed-stream
did you set a value for ${SERVER_IP}?
You must use the IP of the camera that is streaming

@jkaniuka
Copy link
Author

@Myzhar Yes, I changed it to 127.0.0.1 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants