<div dir="ltr">Hello,<div><br></div><div>I have a IMOU IPC-F22AP PoE webcam that i can stream from using<br><br>vlc rtsp://<a href="http://admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif">admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif</a> latency=150 onvif-mode=true<br><br>However if i try gstreamer:<br><br>~$ gst-launch-1.0  --gst-debug=rtspsrc:5 rtspsrc location=rtsp://<a href="http://admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif">admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif</a> latency=150 onvif-mode=true ! decodebin max-size-time=30000000000 ! videoconvert ! autovideosink<br><br>I receive a <br><br>0:00:00.142907259 32612   0x558a3461e0 WARN                 rtspsrc gstrtspsrc.c:6112:gst_rtspsrc_send:<rtspsrc0> error: Not Found (404)<br>-- full log below --<br><br>I noted that at <a href="https://gstreamer.freedesktop.org/documentation/rtsp/rtspsrc.html?gi-language=c">https://gstreamer.freedesktop.org/documentation/rtsp/rtspsrc.html?gi-language=c</a><br>it says:<br><span style="font-family:"Source Sans Pro","Source Sans",sans-serif;font-size:14px;background-color:rgb(238,238,238)">rtspsrc strictly follows RFC 2326 and therefore does not (yet) support RealMedia/Quicktime/Microsoft extensions.</span><br><br>Is this what it looks like when the stream doesn't follow RFC 2326 ?<br><br>If so, is there a way around this ?<br><br>Kind Regards,<br>Tom<br><br><br>--- log -----<br>~$ gst-launch-1.0  --gst-debug=rtspsrc:5 rtspsrc location=rtsp://<a href="http://admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif">admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif</a> latency=150 onvif-mode=true ! decodebin max-size-time=30000000000 ! videoconvert ! autovideosink<br>[1] 32612<br>[2] 32613<br>[3] 32614<br>bash: onvif-mode=true: command not found<br>[2]-  Done                    subtype=0<br>[3]+  Done                    unicast=true<br>yoda@yoda-desktop:~$ 0:00:00.063119666 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:8617:gst_rtspsrc_uri_set_uri:<rtspsrc0> parsing URI<br>0:00:00.063195294 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:8624:gst_rtspsrc_uri_set_uri:<rtspsrc0> configuring URI<br>0:00:00.063229566 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:8640:gst_rtspsrc_uri_set_uri:<rtspsrc0> set uri: rtsp://<a href="http://admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1">admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1</a><br>0:00:00.063251181 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:8642:gst_rtspsrc_uri_set_uri:<rtspsrc0> request uri is: rtsp://<a href="http://192.168.2.8:554/cam/realmonitor?channel=1">192.168.2.8:554/cam/realmonitor?channel=1</a><br>Setting pipeline to PAUSED ...<br>0:00:00.063501293 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:8391:gst_rtspsrc_start:<rtspsrc0> starting<br>0:00:00.063658121 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd OPEN<br>0:00:00.063717237 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:5598:gst_rtspsrc_loop_send_cmd:<rtspsrc0> not interrupting busy cmd unknown<br>Pipeline is live and does not need PREROLL ...<br>0:00:00.063937244 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:8346:gst_rtspsrc_thread:<rtspsrc0> got command OPEN<br>0:00:00.063999069 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 0<br>0:00:00.064036466 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:4614:gst_rtsp_conninfo_connect:<rtspsrc0> creating connection (rtsp://<a href="http://admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1).">admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1).</a>..<br>Progress: (open) Opening Stream<br>0:00:00.064489554 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:4625:gst_rtsp_conninfo_connect:<rtspsrc0> sanitized uri rtsp://<a href="http://192.168.2.8:554/cam/realmonitor?channel=1">192.168.2.8:554/cam/realmonitor?channel=1</a><br>0:00:00.064558202 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:4659:gst_rtsp_conninfo_connect:<rtspsrc0> connecting (rtsp://<a href="http://admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1).">admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1).</a>..<br>Progress: (connect) Connecting to rtsp://<a href="http://admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1">admin:L2E8C359@192.168.2.8:554/cam/realmonitor?channel=1</a><br>0:00:00.098391258 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7342:gst_rtspsrc_retrieve_sdp:<rtspsrc0> create options... (async)<br>0:00:00.098442406 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7351:gst_rtspsrc_retrieve_sdp:<rtspsrc0> send options...<br>0:00:00.098543971 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:476:default_before_send:<rtspsrc0> default handler<br>0:00:00.098585119 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:476:default_before_send:<rtspsrc0> default handler<br>0:00:00.098602202 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send:<rtspsrc0> sending message<br>Progress: (open) Retrieving server options<br>0:00:00.107064139 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response:<rtspsrc0> received response message<br>0:00:00.107110494 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response:<rtspsrc0> got response message 401<br>0:00:00.107148829 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5785:gst_rtspsrc_setup_auth:<rtspsrc0> Attempting authentication using credentials from the URL<br>0:00:00.107169194 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5814:gst_rtspsrc_setup_auth:<rtspsrc0> Attempting Digest authentication<br>0:00:00.107204560 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:476:default_before_send:<rtspsrc0> default handler<br>0:00:00.107227738 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:476:default_before_send:<rtspsrc0> default handler<br>0:00:00.107248936 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send:<rtspsrc0> sending message<br>0:00:00.131234908 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response:<rtspsrc0> received response message<br>0:00:00.131283920 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response:<rtspsrc0> got response message 200<br>0:00:00.131317255 32612   0x558a3461e0 INFO                 rtspsrc gstrtspsrc.c:7364:gst_rtspsrc_retrieve_sdp:<rtspsrc0> Now using version: 1.0<br>0:00:00.131349599 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7371:gst_rtspsrc_retrieve_sdp:<rtspsrc0> create describe...<br>0:00:00.131380694 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7388:gst_rtspsrc_retrieve_sdp:<rtspsrc0> send describe...<br>0:00:00.131457311 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:476:default_before_send:<rtspsrc0> default handler<br>0:00:00.131512730 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:476:default_before_send:<rtspsrc0> default handler<br>Progress: (open) Retrieving media info<br>0:00:00.131558564 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send:<rtspsrc0> sending message<br>0:00:00.142655741 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response:<rtspsrc0> received response message<br>0:00:00.142705326 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response:<rtspsrc0> got response message 404<br>0:00:00.142733868 32612   0x558a3461e0 WARN                 rtspsrc gstrtspsrc.c:5829:gst_rtspsrc_setup_auth:<rtspsrc0> error: No supported authentication protocol was found<br>0:00:00.142851268 32612   0x558a3461e0 WARN                 rtspsrc gstrtspsrc.c:6112:gst_rtspsrc_send:<rtspsrc0> error: Not found<br>0:00:00.142907259 32612   0x558a3461e0 WARN                 rtspsrc gstrtspsrc.c:6112:gst_rtspsrc_send:<rtspsrc0> error: Not Found (404)<br>ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading.<br>Additional debug info:<br>gstrtspsrc.c(5829): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:<br>No supported authentication protocol was found<br>0:00:00.142977574 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7514:gst_rtspsrc_retrieve_sdp:<rtspsrc0> free connection<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to PAUSED ...<br>0:00:00.143045284 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:4715:gst_rtsp_conninfo_close:<rtspsrc0> closing connection...<br>Setting pipeline to READY ...<br>0:00:00.143136642 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:4721:gst_rtsp_conninfo_close:<rtspsrc0> freeing connection...<br>0:00:00.143163934 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd CLOSE<br>0:00:00.143174664 32612   0x558a3461e0 WARN                 rtspsrc gstrtspsrc.c:7548:gst_rtspsrc_open:<rtspsrc0> can't get sdp<br>0:00:00.143195914 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:5585:gst_rtspsrc_loop_send_cmd:<rtspsrc0> cancel previous request LOOP<br>0:00:00.143251749 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:5593:gst_rtspsrc_loop_send_cmd:<rtspsrc0> connection flush busy WAIT<br>0:00:00.143271021 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 1<br>0:00:00.143300449 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:8346:gst_rtspsrc_thread:<rtspsrc0> got command CLOSE<br>0:00:00.143321179 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 0<br>0:00:00.143344356 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7569:gst_rtspsrc_close:<rtspsrc0> TEARDOWN...<br>0:00:00.143362795 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7574:gst_rtspsrc_close:<rtspsrc0> not ready, doing cleanup<br>0:00:00.143379462 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:7637:gst_rtspsrc_close:<rtspsrc0> closing connection...<br>0:00:00.143396077 32612   0x558a3461e0 DEBUG                rtspsrc gstrtspsrc.c:2058:gst_rtspsrc_cleanup:<rtspsrc0> cleanup<br>Setting pipeline to NULL ...<br>0:00:00.143477382 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:8422:gst_rtspsrc_stop:<rtspsrc0> stopping<br>0:00:00.143507487 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd WAIT<br>0:00:00.143527852 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:5593:gst_rtspsrc_loop_send_cmd:<rtspsrc0> connection flush busy WAIT<br>0:00:00.143546446 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 1<br>0:00:00.143600927 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:7569:gst_rtspsrc_close:<rtspsrc0> TEARDOWN...<br>0:00:00.143622334 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:7574:gst_rtspsrc_close:<rtspsrc0> not ready, doing cleanup<br>0:00:00.143640199 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:7637:gst_rtspsrc_close:<rtspsrc0> closing connection...<br>0:00:00.143657596 32612   0x558a42ba10 DEBUG                rtspsrc gstrtspsrc.c:2058:gst_rtspsrc_cleanup:<rtspsrc0> cleanup<br>Freeing pipeline ...<br><br><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Verdana,sans-serif">☕</span><span style="color:rgb(0,0,0);font-family:Verdana,sans-serif;background-color:rgb(241,241,241)">𝓉</span><span style="color:rgb(0,0,0);font-family:Verdana,sans-serif">𝓈</span><br></div></div></div></div>