<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Hello </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I forgot to say that I had fellowed this thread ( </span><a href="http://gstreamer-devel.966125.n4.nabble.com/RTSP-Server-for-Windows-td3983864.html" style="font-size: 12pt;">http://gstreamer-devel.966125.n4.nabble.com/RTSP-Server-for-Windows-td3983864.html</a>) <span style="background-color: transparent;">changing my code to be executable
in Win32, however the timeout ( connection ) problem still remained.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Now I've installed GStreamer & Dev files from </span><a shape="rect" href="http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/" target="_blank" style="background-color: rgb(255, 255, 255); color: rgb(25, 106, 212); font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;">http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/</a></div><div style="color: rgb(0, 0, 0); font-size:
16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">and I also download latest pushed gst-rtsp-server from</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><a href="http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/">http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/</a><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color:
rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">I'll try if it will work or not.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Thank you. :)</div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font
size="2" face="Arial"> Sebastian Dröge <sebastian@centricular.com> 於 2013/10/22 (週二) 3:19 PM 寫道﹕<br> </font> </div> <div class="y_msg_container">On Di, 2013-10-22 at 11:16 +0800, 漢障 吳 wrote:<div class="yqt0693598727" id="yqtfd05119"><br clear="none">> Hello everyone.<br clear="none">> <br clear="none">> I'm now trying to establish a rtsp server based on GStreamer 0.10.7 ( Ossbuild ) and gst-rtsp-server-RELEASE-0.10.8. My platform is Windows7 and develop tool is VS2010 Express. I had adopt a sort part of code to Winsock and compile without problem.<br clear="none">> <br clear="none">> I wrote a simple console problem, basically exactly the same with <a shape="rect" href="http://0rz.tw/GZuvZ" target="_blank">http://0rz.tw/GZuvZ </a>but without audio pipeline.<br clear="none">> <br clear="none">> Then as I start to run server. I always got client says timeout. I tried GStreamer 0.10.7, & 1.2 & VLC
2.1.0<br clear="none">> <br clear="none">> From different RTSP Clients, I got fellow messages:<br clear="none">> <br clear="none">> GStreamer 0.10.7:<br clear="none">> gst-launch -v rtspsrc location=rtsp://127.0.0.1:554 ! rtph264depay ! queue2 ! h264parse ! ffdec_h264 ! d3dvideosink<br clear="none">> ImportError: No module named pygtk<br clear="none">> ImportError: No module named pygtk<br clear="none">> Setting pipeline to PAUSED ...<br clear="none">> ERROR: Pipeline doesn't want to pause.<br clear="none">> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Resource not found.<br clear="none">> Additional debug info:<br clear="none">> ..\..\..\..\..\Source\gst-plugins-good\gst\rtsp\gstrtspsrc.c(4637): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:<br clear="none">> Not Found<br clear="none">> Freeing pipeline ...<br clear="none">> <br clear="none">> GStreamer 1.2:<br
clear="none">> <br clear="none">> gst-launch rtspsrc location=rtsp://10.100.0.84:554 ! rtph264depay ! queue2 ! h264parse ! avdec_h264 ! d3dvideosink<br clear="none">> Setting pipeline to PAUSED ...<br clear="none">> Pipeline is live and does not need PREROLL ...<br clear="none">> Progress: (open) Opening Stream<br clear="none">> Progress: (connect) Connecting to rtsp://10.100.0.84:554<br clear="none">> Progress: (open) Retrieving server options<br clear="none">> Progress: (open) Retrieving media info<br clear="none">> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.<br clear="none">> Additional debug info:<br clear="none">> gstrtspsrc.c(4955): gst_rtspsrc_try_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:<br clear="none">> Could not receive message. (Timeout while waiting for server response)<br clear="none">> ERROR: pipeline doesn't want to preroll.<br
clear="none">> Setting pipeline to PAUSED ...<br clear="none">> Setting pipeline to READY ...<br clear="none">> Setting pipeline to NULL ...<br clear="none">> Freeing pipeline ...<br clear="none">> <br clear="none">> VLC 2.1.0:<br clear="none">> main debug: processing request item: rtsp://10.100.0.84:554/test, node: 播放清單, skip: 0<br clear="none">> main debug: resyncing on rtsp://10.100.0.84:554/test<br clear="none">> main debug: rtsp://10.100.0.84:554/test is at 4<br clear="none">> main debug: starting playback of the new playlist item<br clear="none">> main debug: resyncing on rtsp://10.100.0.84:554/test<br clear="none">> main debug: rtsp://10.100.0.84:554/test is at 4<br clear="none">> main debug: creating new input thread<br clear="none">> main debug: Creating an input for 'rtsp://10.100.0.84:554/test'<br clear="none">> main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\John
Smith\AppData\Local\Temp'<br clear="none">> main debug: `rtsp://10.100.0.84:554/test' gives access `rtsp' demux `' path `10.100.0.84:554/test'<br clear="none">> main debug: creating demux: access='rtsp' demux='' location='10.100.0.84:554/test' file='\\10.100.0.84:554\test'<br clear="none">> main debug: looking for access_demux module matching "rtsp": 12 candidates<br clear="none">> live555 debug: version 2012.12.18<br clear="none">> qt4 debug: IM: Setting an input<br clear="none">> live555 debug: connection timeout<br clear="none">> live555 error: Failed to connect with rtsp://10.100.0.84:554/test<br clear="none">> main debug: no access_demux modules matched<br clear="none">> main debug: creating access 'rtsp' location='10.100.0.84:554/test', path='\\10.100.0.84:554\test'<br clear="none">> main debug: looking for access module matching "rtsp": 20 candidates<br clear="none">> main debug: net: connecting to 10.100.0.84
port 554<br clear="none">> main debug: connection succeeded (socket = 1572)<br clear="none">> access_realrtsp debug: rtsp connected<br clear="none">> access_realrtsp warning: only real/helix rtsp servers supported for now<br clear="none">> main debug: no access modules matched<br clear="none">> main error: open of `rtsp://10.100.0.84:554/test' failed<br clear="none">> main debug: finished input<br clear="none">> main debug: dead input<br clear="none">> main debug: changing item without a request (current 4/5)<br clear="none">> main debug: nothing to play<br clear="none">> qt4 debug: IM: Deleting the input<br clear="none">> <br clear="none">> It seems like that client is waiting for sever sending media related information but timeout. Did anyone have succeeded running GStreamer on Windows before? Did I missed something? Thanks. </div><br clear="none"><br clear="none">Yes, but 0.10.7 is a very very old version of
GStreamer. The RTSP server<br clear="none">is working fine with 1.2.0 on Windows, you can find binaries of<br clear="none">GStreamer here: <a shape="rect" href="http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/" target="_blank">http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/</a><br clear="none"><br clear="none">You will have to build gst-rtsp-server yourself from GIT as there was no<br clear="none">release yet unfortunately.<br clear="none"><br clear="none">gst-rtsp-server in 0.10.X did not work properly to my knowledge due to<br clear="none">differences with networking on Windows.<br clear="none"><br clear="none">-- <br clear="none">Sebastian Dröge <<a shape="rect" ymailto="mailto:sebastian@centricular.com" href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>><br clear="none">Centricular Ltd - <a shape="rect" href="http://www.centricular.com/" target="_blank">http://www.centricular.com</a><br
clear="none">Expertise, Straight from the Source<br><div class="yqt0693598727" id="yqtfd44387">_______________________________________________<br clear="none">gstreamer-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none"><a shape="rect" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>