<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Don't use 'do-timestamp=true' with audiotestsrc.  It will not do the
    right thing.<br>
    <br>
    Cheers<br>
    -Matt<br>
    <br>
    <div class="moz-cite-prefix">On 8/12/20 5:12 pm, jim nualart wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAE9FXWK7wAwFZnwxVnb08077ui=ywKi6zD-K-OQBunOysD9Chg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div>Hoping that someone can shed some light on this...</div>
        <div><br>
        </div>
        <div>The following pipeline results in a file with gaps every 5
          seconds:<br>
          export TESTSOURCE1="audiotestsrc wave=0 volume=0.8
          is-live=true do-timestamp=true samplesperbuffer=480"<br>
          export SINK="wavenc ! filesink location=test.wav"<br>
        </div>
        <div>timeout 60 gst-launch-1.0 $TESTSOURCE1 ! audiomixer ! $SINK<br>
          <br>
          If you open the resulting wav file (e.g., in audacity), there
          are gaps every 5 seconds.</div>
        <div><br>
        </div>
        <div>If you remove the audiomixer from the pipeline, there are
          no gaps. If you use an adder (instead of the audiomixer),
          there are no gaps.</div>
        <div><br>
        </div>
        <div>I've looked at logs (GST_DEBUG=audiomixer:6), and there are
          no obvious errors/warnings/etc.</div>
        <div><br>
        </div>
        <div>I realize that the audiotestsrc is not really a live-source
          and I'm not sure how well it behaves as such. But I am
          actually troubleshooting a similar issue using an alsasrc
          instead. I am hoping that if I understand what's going on
          here, it will help on the other issue. (For the issue with the
          alsasrc, I've gone so far as to write the data to files; one
          at the src of the element feeding the audiomixer, and one at
          the src of the audiomixer itself -- the first shows no gaps,
          while the later does show gaps.)</div>
        <div><br>
        </div>
        <div>Many thanks in advance to any advice.</div>
        <div>-jim </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>