<div><div dir="auto">Thanks to you too. I am happy with that.</div><br><div class="gmail_quote"><div>14 Haz 2017 Çar, saat 02:22 tarihinde Jack D <<a href="mailto:jackstuff3@gmail.com">jackstuff3@gmail.com</a>> şunu yazdı:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Okay, I finally got it to work. My launch line is:<div>gst-launch-1.0 rtspsrc location=rtsp://<a href="http://192.168.2.8:554/media/video1" target="_blank">192.168.2.8:554/media/video1</a> ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! gtksink<br></div><div><br></div><div>Thank you for your suggestion Fatih Sabri, it really helped.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 13, 2017 at 3:17 PM, Jack D <span><<a href="mailto:jackstuff3@gmail.com" target="_blank">jackstuff3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>When I successfully record video from the camera using ffmpeg, I use <a href="http://192.168.2.8:80/h264" target="_blank">http://192.168.2.8:80/h264</a>.<div>And when I performed nmap, I got this:</div><div><br></div><div><div>Starting Nmap 6.40 ( <a href="http://nmap.org" target="_blank">http://nmap.org</a> ) at 2017-06-12 14:16 MST</div><div>Nmap scan report for 192.168.2.8</div><div>Host is up (0.00034s latency).</div><div>Not shown: 998 closed ports</div><div>PORT    STATE SERVICE</div><div>80/tcp  open  http</div><div>554/tcp open  rtsp</div><div>MAC Address:  (Unknown)</div><div>Device type: general purpose</div><div>Running: Linux 2.6.X</div><div>OS CPE: cpe:/o:linux:linux_kernel:2.6</div><div>OS details: Linux 2.6.9 - 2.6.33</div><div>Network Distance: 1 hop</div></div><div><br></div><div>Since the rtsp was port 554, I tried to use port 554 for streaming via rtsp. But when I use that uri I get the same results, momentary black window then stop.  But the one error message changes from</div><span><div><span style="font-size:12.8px">Could not receive message. (System error)</span><br></div></span><div><span style="font-size:12.8px">to</span></div><div><span style="font-size:12.8px">Got error response: 500 (Internal Server Error).</span><br></div><div><br></div></div><div class="m_-5675628764616430115HOEnZb"><div class="m_-5675628764616430115h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 13, 2017 at 2:18 PM, Fatih Sabri AKTEPE <span><<a href="mailto:aktepefs@gmail.com" target="_blank">aktepefs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>You need to ger cAmera uri, each camera has different uri. You should work on that. These uri just can send request. In order to get stream you need to connect with main stream or substram uri.<br><div class="gmail_quote"><div>14 Haz 2017 Çar, saat 00:15 tarihinde Jack D <<a href="mailto:jackstuff3@gmail.com" target="_blank">jackstuff3@gmail.com</a>> şunu yazdı:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-5675628764616430115m_-7196617652592435714h5"><div>Greetings,<div>Is it possible to stream directly from an IP camera?</div><div>All of the examples I have been able to find indicate that a client/server or host/target must be created in order to stream from a camera.</div><div><br></div><div>I have tried udp, tcp, rtsp without much luck.</div><div>Here is an example of one of my attempts, which displayed a black window for a few moments before it stopped.  Any help or pointing out my errors is appreciated.</div><div><br></div><div><div>gst-launch-1.0 rtspsrc location=rtsp://<a href="http://192.168.2.8:554" target="_blank">192.168.2.8:554</a> ! decodebin ! gtksink</div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is live and does not need PREROLL ...</div><div>Progress: (open) Opening Stream</div><div>Progress: (connect) Connecting to rtsp://<a href="http://192.168.2.8:554" target="_blank">192.168.2.8:554</a></div><div>Progress: (open) Retrieving server options</div><div>Progress: (open) Retrieving media info</div><div>ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.</div><div>Additional debug info:</div><div>gstrtspsrc.c(5893): gst_rtspsrc_try_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:</div><div>Could not receive message. (System error)</div><div>ERROR: pipeline doesn't want to preroll.</div><div>Setting pipeline to PAUSED ...</div><div>Setting pipeline to READY ...</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div></div><div><br></div></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div>