<div dir="ltr">I am not familiar with the JPEG formats and requirements, but do you really want the jpegenc to be after the color space conversion rather than working on the raw input video? Also, you need an EOS from the pipeline (source or somewhere upstream of the filesink to properly write headers, etc. to the file and then close the file. Enable some logging to get a better idea of what the pipeline is/isn't doing.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 6, 2015 at 2:32 AM, Ratheendran R <span dir="ltr"><<a href="mailto:ratheendran.s@gmail.com" target="_blank">ratheendran.s@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 dir="ltr"><div><div><div><div><div><div><div><div>Thanks Stefan for all the clarification to my query.<br><br></div>Hi All,<br><br></div>I am currently working on a use case to enable recording of video stream on an event,  we are interested to record for time duration (time of event ) +/- Delta, where Delta is the duration in sec.<br><br></div>For this, I created a Gstreamer pipe line to show the live stream on the screen and also record the compressed video with delta = 30 sec is created with ,now this is not working for me. I am to see the live video from the web-cam but recorded output.avi file size is 0 bytes. <br><br></div>gst-launch-0.10 -v v4l2src device=/dev/video0 !     video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! tee name=t ! queue  ! autovideosink t. ! jpegenc ! avimux name=mux ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 min-threshold-time=30000000000 ! filesink location=output.avi<br><br></div>Can any one suggest a better way to do this task.<br><br></div>Also can any one share info on plug-in, which take care of wear leveling in case of continuous recording on a hard disk.<br></div>I have came across TI DVR File Format : <a href="http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/129931" target="_blank">http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/129931</a><br><br></div>Do Gstreamer has a mechanism to do anything similar activity. <br><div><div><div><br>
<div><div>Can any one comment on Gstreamer daemon plug-in, this seems to make life easier for programmer, is this code production ready. <br><a href="https://github.com/RidgeRun/gstd/wiki/Building-gstreamer-daemon" target="_blank">https://github.com/RidgeRun/gstd/wiki/Building-gstreamer-daemon</a><br></div><div><br></div><div>Thanks for your valuable time.<br><br></div><div>Ratheendran<br></div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 11, 2015 at 12:35 AM, Stefan Sauer <span dir="ltr"><<a href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span>
    <div>On 01/10/2015 07:22 PM, Ratheendran R
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <p style="margin-bottom:0cm;line-height:100%">Hello All,</p>
        <p style="margin-bottom:0cm;line-height:100%"><br>
        </p>
        <p style="margin-bottom:0cm;line-height:100%">I am new to
          gstreamer frame work, so excuse me if I am putting any basic
          question
          in the forum.</p>
        <p style="margin-bottom:0cm;line-height:100%"><br>
        </p>
        <p style="margin-bottom:0cm;line-height:100%">I have some
          technical/license side query on gstreamer framework.</p>
        <p style="margin-bottom:0cm;line-height:100%"><br>
        </p>
        <p style="margin-bottom:0cm;line-height:100%">1. We are planing
          to
          use Gstreamer ported by freescale on imx6, so my question is
          can we
          use gstreamer on the production system. Any legal obligations?</p>
      </div>
    </blockquote></span>
    GStreamer is LGPL and many plugins are as well. An exception are
    e.g. plugins of the gst-plugins-ugly module. For legal advice better
    contact a lawyer though!<span><br>
    <blockquote type="cite">
      <div dir="ltr">
        <p style="margin-bottom:0cm;line-height:100%">2. How many
          pipeline
          is possible from a single gstreamer source element. I want a
          single source to sink the video sceen as well as the write to
          a circullar buffer.<br>
        </p>
      </div>
    </blockquote></span>
    You can use the tee element to create branches in the graph. E.g.
    camerabin is a high level element that uses one camera source and
    e.g. shows the video on screen and records it at the same time.<span><br>
    <blockquote type="cite">
      <div dir="ltr">
        <p style="margin-bottom:0cm;line-height:100%">3. We want to
          store
          the encoded video in a circular buffer based on time stamp and
          latter would like to retrive the samples of frames based on
          the time
          stamp, I would like to parse the same video stroed in the
          circular
          buffer and create a new video file based on sampled frames.</p>
      </div>
    </blockquote></span>
    I am not following. A queue element could keep a backlog of frames,
    but would *not* offer convenient random access.<span><br>
    <blockquote type="cite">
      <div dir="ltr">
        <p style="margin-bottom:0cm;line-height:100%"> -I would like to
          know does the existing gstreamer pipeline make all the things
          possible. </p>
        <p style="margin-bottom:0cm;line-height:100%"> </p>
        <p style="margin-bottom:0cm;line-height:100%"> -Do any one know
          of
          the existing application to which I can take a look and start
          my
          activity.</p>
      </div>
    </blockquote></span>
    Each git module has a tests/examples directory.<br>
    Stefan<br>
    <blockquote type="cite"><span>
      <div dir="ltr">
        <p style="margin-bottom:0cm;line-height:100%"><br>
        </p>
        <p style="margin-bottom:0cm;line-height:100%">Thanks for you
          time to look into my queries.</p>
        <p style="margin-bottom:0cm;line-height:100%"><br>
        </p>
        <p style="margin-bottom:0cm;line-height:100%">Regards,</p>
        <p style="margin-bottom:0cm;line-height:100%">Ratheendran<br>
        </p>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </span><pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </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="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">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><br>
<br></blockquote></div><br></div>