<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">Dňa 11.08.2014 o 14:27 007GK
      napísal(a):<br>
    </div>
    <blockquote
      cite="mid:d6c24e74-b26e-4228-b78c-3cb0dcb024f1@googlegroups.com"
      type="cite">
      <div dir="ltr">
        <style type="text/css">P { margin-bottom: 0.08in; }</style>
        <p style="margin-bottom: 0in">Hi,</p>
        <p style="margin-bottom: 0in"><br>
        </p>
        <p style="margin-bottom: 0in">I was trying gstreamer with
          various plugin/elements and could not understand few basic
          terms.</p>
        <p style="margin-bottom: 0in">
          <style type="text/css">P { margin-bottom: 0.08in; }</style>
        </p>
        <p style="margin-bottom: 0in">1. When to use sync=false,
          sync=true, sync=1 with sink elements?<br>
        </p>
        <p style="margin-bottom: 0in">
        </p>
        <p style="margin-bottom: 0in">2. When to use autovideosink?</p>
        <p style="margin-bottom: 0in">3. Which is the demuxer to be used
          with
          decklinksrc?</p>
      </div>
    </blockquote>
    decklinksrc output raw video/audio streams so no demuxes are needed.<br>
    <blockquote
      cite="mid:d6c24e74-b26e-4228-b78c-3cb0dcb024f1@googlegroups.com"
      type="cite">
      <div dir="ltr">
        <p style="margin-bottom: 0in">4. What is ffmpegcolorspace
          element?</p>
      </div>
    </blockquote>
    it convert video frames from one color space or format to another.
    in this case from UYVU to I420<br>
    <blockquote
      cite="mid:d6c24e74-b26e-4228-b78c-3cb0dcb024f1@googlegroups.com"
      type="cite">
      <div dir="ltr">
        <p style="margin-bottom: 0in">5. For below pipeline gst-launch
          errors out saying :
          WARNING: erroneous pipeline: could not link queue0 to
          audioconvert0
        </p>
        <p style="margin-bottom: 0in">gst-launch \
        </p>
        <p style="margin-bottom: 0in"> decklinksrc mode=18
          connection=composite name=demux \
        </p>
        <p style="margin-bottom: 0in"> demux. ! queue ! audioconvert !
          audiorate ! vorbisenc ! mux. \
        </p>
        <p style="margin-bottom: 0in"> demux. ! queue ! ffmpegcolorspace
          !
          'video/x-raw-yuv' ! vp8enc speed=7 ! mux. \
        </p>
        <p style="margin-bottom: 0in"> webmmux name=mux ! filesink
          location=s.webm </p>
        <p style="margin-bottom: 0in"><br>
        </p>
        <p style="margin-bottom: 0in">but below command works:<br>
        </p>
        <p style="margin-bottom: 0in">gst-launch \
        </p>
        <p style="margin-bottom: 0in"> decklinksrc mode=18
          connection=composite name=demux \
        </p>
        <p style="margin-bottom: 0in"> demux. ! queue ! ffmpegcolorspace
          !
          'video/x-raw-yuv' ! vp8enc speed=7 ! mux. \
        </p>
        <p style="margin-bottom: 0in"> demux. ! queue ! audioconvert !
          audiorate ! vorbisenc ! mux. \
        </p>
        <p style="margin-bottom: 0in"> webmmux name=mux ! filesink
          location=newfile.webm </p>
        <p style="margin-bottom: 0in">
        </p>
        <br>
        <p style="margin-bottom: 0in">I have just swapped video/audio
          components.. <br>
        </p>
      </div>
    </blockquote>
    it may be bug in gstreamer. I recomend upgrade to gstreamer 1.4 as
    old 0.10 is not maintained.<br>
    <blockquote
      cite="mid:d6c24e74-b26e-4228-b78c-3cb0dcb024f1@googlegroups.com"
      type="cite">
      <div dir="ltr">
        <p style="margin-bottom: 0in"><br>
        </p>
        <p style="margin-bottom: 0in">Thanks,</p>
        <p style="margin-bottom: 0in">Sneha<br>
        </p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>