<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi, <br>
      <br>
      I faced this once as well. I ended up adding seeking support on
      multifilesink. I'm attaching the patch I used, hope it saves you
      some work.<br>
      <br>
      Michael<br>
      <br>
      P.S. The patch is for the 0.10.31 version<br>
      <br>
      <br>
      On 04/10/2014 09:55 AM, Andoni Morales wrote:<br>
    </div>
    <blockquote
cite="mid:CAJNDOgjR_X26vn7P+SOsmK0rj4iXtLsQ90uA-vEypo80Q-Y56w@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">2014-04-09 12:47 GMT+02:00 Lajos Okos
            <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:lajos.okos@gmail.com" target="_blank">lajos.okos@gmail.com</a>></span>:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <p class="MsoNormal"><span lang="EN-US">Hi,</span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">I’m testing
                    fragmented MP4 files with the playbin pipeline. The
                    files play fine unless I
                    want to seek in them. Seeking doesn’t work. The
                    reason seems to be the qtdemux
                    that is forwarding the seek events upstream if the
                    mp4 file is fragmented. I
                    don’t need any of the smooth streaming
                    functionality, I have the audio and the
                    video tracks in a single mp4 file and I don’t want
                    to change bitrate. The
                    reason I’m using fragmented mp4 is that the files
                    are in record while playback
                    should start.</span></p>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Hi,<br>
              <br>
            </div>
            <div>If you don't plan to generate a manifest or a dash
              media representation, you can use a different container,
              like matroska without indexes, that would generate a
              playable and seekable stream while it's being recorded.<br>
              <br>
            </div>
            <div>Cheers,<br>
              Andoni<br>
            </div>
            <div><br>
               <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">Is there a
                    way to catch and handle the forwarded seek events
                    from qtdemux in the
                    application? What should the seek handle do?</span></p>
                <p class="MsoNormal"><span lang="EN-US">Should I
                    construct a different pipeline with opening some
                    type of a manifest file rather
                    than the media file itself? How should the manifest
                    file look like in this
                    simple case?</span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">Hope that
                    someone solved this issue before!</span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">Thanks for
                    your help in advance!</span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">Best
                    Regards,</span></p>
                <span class="HOEnZb"><font color="#888888">
                    <p class="MsoNormal"><span lang="EN-US"> </span></p>
                    <p class="MsoNormal"><span lang="EN-US">Lajos</span></p>
                  </font></span></div>
              <br>
              _______________________________________________<br>
              gstreamer-devel mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
              <a moz-do-not-send="true"
                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>
          <br clear="all">
          <br>
          -- <br>
          Andoni Morales Alastruey<br>
          <br>
          LongoMatch:The Digital Coach<br>
          <a moz-do-not-send="true"
            href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
        </div>
      </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>