Error RTSP stream kinesis

0

Dear friends, I meet an issue to provide a RTSP video stream - I use a raspberry pi as producer. I don't use cert through Iot configuration. The video stream works if I use my webcam (/dev/video0) the gstreamer plug in seems working without issue. But each time that I want to stream through RTSP it doesn't work. I tried with the producer and with the docker image :

  • Producer via AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxx AWS_SECRET_ACCESS_KEY= ... gst_base_src_loop (): /GstPipeline:rtsp-kinesis-pipeline/GstRTSPSrc:source/GstUDPSrc:udpsrc0: streaming stopped, reason not-negotiated (-4)

  • Docker : gst_base_src_loop (): /GstPipeline:rtsp-kinesis-pipeline/GstRTSPSrc:source/GstUDPSrc:udpsrc0: streaming stopped, reason not-negotiated (-4)

  • Producer via gst-launch-1.0 -v rtspsrc location ... ERREUR : de l’élément /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0 : Internal data stream error. Information de débogage supplémentaire : gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: streaming stopped, reason not-negotiated (-4)

I use the same web camera that works in direct - means the rtsp source is the same camera supported by another raspberry used as RTSP server. The rtsp stream works in my local network and can be play from the raspberry used as producer and as docker host. I tried to change the AWS region (US and EU)but still the same issue. I tried to change some settings like storage-size or h264 settings like h264parse but without success.

Thanks in advance if you have some direction to troubleshoot or some advice's.

Kind regards,

strapp
已提問 5 個月前檢視次數 1981 次
1 個回答
0
已接受的答案

Dear friends, In meantime I found the solution. It was about the codec used, I suspect a question about h264 settings. I tried v4l2rtspserver but without success. With gstreamer rtsp server it works from all configuration, means producer or docker. It works also with simple rtsp server (mediamtx).

Now I have some error about codec used like below follow navigator used to check the video stream : I use Edge, or Firefox or Chrome. like this : codec not supported avc1.7a001e (H.264 ???@3,0) or (H.264 ???@1.3).

Kind regards,

strapp
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南