<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Il 16/04/2012 07:59, Garth Tissington ha scritto:
    <blockquote
cite="mid:CAHZJNYWBST0KSJONq=7_FUU7aGK9EF5ta2Ge7GZ+yR1xt9fAjg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><font>
          <div>Hi,</div>
          <div><br>
          </div>
          <div>I am a complete Gstreamer new.  Please forgive me if this
            is a common question.  I found many other "audio
            synchronization" posts on this list-serve but none of the
            offered answers seems to address my problem.</div>
          <div><br>
          </div>
          <div>My pipe line is simply trying to mux an audiotestsrc with
            a videotestsrc and output to a filesink.</div>
          <div><br>
          </div>
          <div>videotestsrc num-buffers=150  !
            video/x-raw-yuv,width=1920, height=1080 ! </div>
          <div>   timeoverlay ! videorate ! queue ! xvidenc ! avimux
            name=mux mux.</div>
          <div>      ! filesink sync=true location=new.avi  </div>
          <div>audiotestsrc num-buffers=150 ! </div>
          <div>  queue ! audioconvert ! audiorate ! mux.</div>
          <div><br>
          </div>
          <div>
            <ul>
              <li>new.avi is produced.</li>
              <li>Video is exactly 5 seconds long as expected</li>
              <li>Audio is about 3.5 seconds long and the remaining 1.5
                seconds is slient.</li>
            </ul>
          </div>
        </font></div>
    </blockquote>
    <br>
    the duration for audio and video buffers could be different you
    cannot assume that an audio buffer has the same duration as a video
    buffer <br>
    <br>
    Nicola <br>
    <br>
    <blockquote
cite="mid:CAHZJNYWBST0KSJONq=7_FUU7aGK9EF5ta2Ge7GZ+yR1xt9fAjg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><font>
          <div>
            <div>What am I missing here?  I've tried every combination
              of sync="" properties, etc.</div>
          </div>
          <div><br>
          </div>
          <div>Thanks very much in advance</div>
          <div><br>
          </div>
        </font>Garth Tissington
        <div>
          <div>250 891 4797</div>
          <div>---</div>
          <div>
            <div><br>
            </div>
            <div>Given sufficient thrust pigs fly just fine.</div>
          </div>
        </div>
        <br>
      </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>