<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thank you. That seems to have work. It only runs for a limited time. How can I set it to record for 5 minutes. How many buffers do I need ?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gstreamer-devel-bounces+rafael=lanline.com@lists.freedesktop.org [mailto:gstreamer-devel-bounces+rafael=lanline.com@lists.freedesktop.org] <b>On Behalf Of </b>Hoyt, David<br><b>Sent:</b> Monday, October 10, 2011 7:16 PM<br><b>To:</b> Discussion of the development of and with GStreamer<br><b>Subject:</b> RE: D-Link DCS-930L<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The following worked for me and VLC was able to play it back:<br><br>gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv,framerate=10/1 ! ffmpegcolorspace ! x264enc ! flvmux ! filesink location=dcs.flv<br><br>Hope it makes sense.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gstreamer-devel-bounces+hoyt6=llnl.gov@lists.freedesktop.org [mailto:gstreamer-devel-bounces+hoyt6=llnl.gov@lists.freedesktop.org] <b>On Behalf Of </b>Rafael Guerra<br><b>Sent:</b> Monday, October 10, 2011 3:47 PM<br><b>To:</b> 'Discussion of the development of and with GStreamer'<br><b>Subject:</b> RE: D-Link DCS-930L<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Try user guest and no password. The ip address is fine.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gstreamer-devel-bounces+rafael=lanline.com@lists.freedesktop.org [mailto:gstreamer-devel-bounces+rafael=lanline.com@lists.freedesktop.org] <b>On Behalf Of </b>Hoyt, David<br><b>Sent:</b> Monday, October 10, 2011 6:13 PM<br><b>To:</b> Discussion of the development of and with GStreamer<br><b>Subject:</b> RE: D-Link DCS-930L<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When I try it, the provided URL isn&#8217;t valid. From what I can tell, it should be: <a href="http://96.57.244.98/videostream.cgi">http://96.57.244.98/videostream.cgi</a><br><br>However, the provided username/password (admin/Supp0rt1) don&#8217;t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It&#8217;s hard to help if you can&#8217;t access the stream and see what&#8217;s going on. If that&#8217;s a problem, dump the video stream to a file and then attach it (if it&#8217;s tiny) or provide a public url where it can be accessed.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gstreamer-devel-bounces+hoyt6=llnl.gov@lists.freedesktop.org [mailto:gstreamer-devel-bounces+hoyt6=llnl.gov@lists.freedesktop.org] <b>On Behalf Of </b>Rafael Guerra<br><b>Sent:</b> Monday, October 10, 2011 2:55 PM<br><b>To:</b> 'Discussion of the development of and with GStreamer'<br><b>Subject:</b> RE: D-Link DCS-930L<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am getting the following error :<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Setting pipeline to PAUSED ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Pipeline is PREROLLED ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Additional debug info:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>URL: dcs.flv<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ERROR: pipeline doesn't want to preroll.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Setting pipeline to PAUSED ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Setting pipeline to READY ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Setting pipeline to NULL ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Freeing pipeline ...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When trying to read from the camera using the following line :<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Any help would be appreciated.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gstreamer-devel-bounces+rafael=lanline.com@lists.freedesktop.org [mailto:gstreamer-devel-bounces+rafael=lanline.com@lists.freedesktop.org] <b>On Behalf Of </b>android6011<br><b>Sent:</b> Tuesday, October 04, 2011 9:45 PM<br><b>To:</b> Discussion of the development of and with GStreamer<br><b>Subject:</b> Re: D-Link DCS-930L<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><a href="http://user:pass@192.168.1.15/image/jpeg.cgi">http://user:pass@192.168.1.15/image/jpeg.cgi</a><o:p></o:p></p></div><div><p class=MsoNormal><a href="http://user:pass@192.168.1.15/video/mjpg.cgi">http://user:pass@192.168.1.15/video/mjpg.cgi</a> &nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>replace user,pass and the ip with yours.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>My problem has been that multipartdemux refuses to work because &quot;Boundary not found in the multipart header&quot; . I have looked at the stream and the boundary is:<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>--video boundary--<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>but specifying it still does not work which is where I was getting hung up.&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>This pipeline does not work but just as a rough example<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=MsoNormal>gst-launch souphttpsrc location=<a href="http://user:pass@192.168.1.15/video/mjpg.cgi">http://user:pass@192.168.1.15/video/mjpg.cgi</a> ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Again, this pipeline does not work but I believe it to be a step in the right direction.&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with &quot;&nbsp;Boundary not found in the multipart header&quot;&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>gst-launch souphttpsrc location=<a href="http://admin:@192.168.1.15/video/mjpg.cgi">http://admin:@192.168.1.15/video/mjpg.cgi</a> ! multipartdemux boundary=&quot;--video boundary--&quot; ! jpegdec ! fakesink<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>wget <a href="http://user:pass@192.168.1.15/video/mjpg.cgi">http://user:pass@192.168.1.15/video/mjpg.cgi</a> mjpg.cgi contents:<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=MsoNormal>Content-length: 45536<o:p></o:p></p></div><div><p class=MsoNormal>Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000<o:p></o:p></p></div><div><p class=MsoNormal>Content-type: image/jpeg<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>(jpeg data)<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>--video boundary--<o:p></o:p></p></div><div><p class=MsoNormal>Content-length: 45607<o:p></o:p></p></div><div><p class=MsoNormal>Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_گ^[� ,�%ۯ &nbsp; &nbsp; &nbsp;5�խ<o:p></o:p></p></div><div><p class=MsoNormal>Content-type: image/jpeg<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>(jpeg data)<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>etc..<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>-Ryan<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra &lt;<a href="mailto:rafael@lanline.com" target="_blank">rafael@lanline.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal>I have loaded gstreamer on to FreeBSD and I am looking to collect the video<br>from a video camera,<br>DCS-930L (D-Link) for example, and save it to a file that I would like to<br>play it back using an internet browser.<br>I am mostly interested in collecting and saving the file to a standard video<br>format (.FLV if possible)<br><br>Being new to gstreamer I am looking for some guidance as to how to start<br>and/or a sample program to start from.<br>I am an experienced programmer in C and C++ but a novice to gstreamer.<br><br>Rafael<br><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="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></div></body></html>