<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 04/12/2012 03:33 AM, Rafael Guerra wrote:
    <blockquote cite="mid:002e01cd184c$398c4e90$aca4ebb0$@com"
      type="cite">
      <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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:698051460;
        mso-list-type:hybrid;
        mso-list-template-ids:-160147310 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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]-->
      <div class="WordSection1">
        <p class="MsoNormal">I am currently collecting video from an IP
          camera and have a couple of questions that<o:p></o:p></p>
        <p class="MsoNormal">Hopefully someone can help me with.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Fist here is the command that I am
          currently using to collect :<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">gst-launch souphttpsrc
          location=<a class="moz-txt-link-freetext" href="http://guest:@96.57.244.98/videostream.cgi">http://guest:@96.57.244.98/videostream.cgi</a>
          num-buffers=76000 ! multipartdemux ! jpegdec ! videorate !
          video/x-raw-yuv,framerate=5/1 ! ffmpegcolorspace ! x264enc !
          flvmux ! filesink
          location=/home/lanline/windows/videos/96.57.244.98_video.flv<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">This is working but I have a couple of
          questions and issues :<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span
            style="">1)<span style="font: 7pt &quot;Times New
              Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><!--[endif]-->The time
          collected is not uniform. By using number of buffers the play
          time of the file is not uniform, I believe because the speed
          and number of <o:p></o:p></p>
        <p class="MsoListParagraph">frames does not remain constant. I
          would like to have the collection stop after 9 minutes no
          matter how many frames have been collected.<o:p></o:p></p>
        <p class="MsoListParagraph">Is there a way to do this ?</p>
      </div>
    </blockquote>
    Yes, by writing an application.<br>
    <blockquote cite="mid:002e01cd184c$398c4e90$aca4ebb0$@com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoListParagraph"><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span
            style="">2)<span style="font: 7pt &quot;Times New
              Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><!--[endif]-->Above I
          am creating a .flv file and I would like to change it to a
          .mov file that would play on an ipad. Which from what I have
          read is only h256 .mov files.<o:p></o:p></p>
        <p class="MsoListParagraph">Any input on this would be
          appreciated ?</p>
      </div>
    </blockquote>
    The video-code is called h264. You will need to transmux the video.
    Or swap flvmux with qtmux.<br>
    <blockquote cite="mid:002e01cd184c$398c4e90$aca4ebb0$@com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoListParagraph"><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoListParagraph" style="text-indent: -0.25in;"><!--[if !supportLists]--><span
            style="">3)<span style="font: 7pt &quot;Times New
              Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><!--[endif]-->I am not
          sure why the file that I generate is very large. For example a
          9 minute flv file is around 110 megs. This seams large to me.<o:p></o:p></p>
        <p class="MsoListParagraph">Is this the expected size ? I am
          running the software on a FreeBSD server. </p>
      </div>
    </blockquote>
    It is not the FreeBSD servers fault. You did not say anything about
    the resolution you use and you don't specify any custom setting on
    the encoder.<br>
    <br>
    Stefan<br>
    <blockquote cite="mid:002e01cd184c$398c4e90$aca4ebb0$@com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoListParagraph"><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Any feedback would be greatly appreciated.
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Rafael Guerra<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>