<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=x-gbk" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 06/30/11 01:46, Shuang Bing wrote:
    <blockquote
      cite="mid:efd04f.25aa.130dfba8ba4.Coremail.shuangbing@126.com"
      type="cite"><span>Thank you for your reply.
      </span><br>
      <span>I have build <b class="highlight">a</b> simple <b
          class="highlight">player</b> <b class="highlight">to</b>
        process the "<b class="highlight">about</b>-<b class="highlight">to</b>-finish"
        signal, the <b class="highlight">player</b> uses <b
          class="highlight">playbin2</b> <b class="highlight">to</b>
        build <b class="highlight">a</b> pipeline <b class="highlight">and</b>
        <b class="highlight">filesrc</b> element <b class="highlight">to</b>
        source the <b class="highlight">MP4</b> <b class="highlight">files</b>.
      </span><br>
    </blockquote>
    <br>
    What are you using the filesrc for? Please let playbin2 handle
    picking the source element.<br>
    <blockquote
      cite="mid:efd04f.25aa.130dfba8ba4.Coremail.shuangbing@126.com"
      type="cite"><span>I used two <b class="highlight">mp4</b> <b
          class="highlight">files</b> for testing the gapless <b
          class="highlight">playback</b>, <b class="highlight">and</b>
        the <b class="highlight">mp4</b> video can <b
          class="highlight">play</b> <b class="highlight">succesively</b>
        except some problems:
      </span><br>
      <span>1. there is no <b class="highlight">audio</b> for the
        second clip
      </span><br>
      <span>2. when the second clip start, the <b class="highlight">play</b>
        position value get with function "gst_element_query_position"
        keeps the value equaling <b class="highlight">to</b> the
        duration <b class="highlight">of</b> first clip, which means it
        can not get the real <b class="highlight">play</b> position <b
          class="highlight">of</b> the second clip
      </span><br>
      <span>3. if I do <b class="highlight">a</b> seek operation during
        the <b class="highlight">playing</b> <b class="highlight">of</b>
        the second <b class="highlight">mp4</b>, the <b
          class="highlight">audio</b> will come <b class="highlight">and</b>
        <b class="highlight">play</b> position value will be the real
        position
      </span><br>
      <br>
      <span>So, could you please give me some more <b class="highlight">advices</b>,
        thank you very much!
      </span></blockquote>
    <br>
    Hard to say what is wrong (without seeing your code). Please have a
    look at the existing tests. If there is no test, try to wrte one
    that reproduces your issue. If you manage to do that file a bug and
    attach your test as a patch in git format.<br>
    <br>
    Thanks<br>
    Stefan<br>
    <blockquote
      cite="mid:efd04f.25aa.130dfba8ba4.Coremail.shuangbing@126.com"
      type="cite">
      <div><br>
        <br>
        --<br>
        <div><font face="Arial">Best&nbsp;Regards! <br>
            <br>
            Billy&nbsp;Shuang</font>&nbsp;</div>
      </div>
      <br>
      <pre>ÔÚ2011-06-09&nbsp;19:36:00£¬"Stefan&nbsp;Kost"&nbsp;<a class="moz-txt-link-rfc2396E" href="mailto:ensonic@hora-obscura.de">&lt;ensonic@hora-obscura.de&gt;</a>&nbsp;дµÀ£º
&gt;Am&nbsp;09.06.2011&nbsp;10:30,&nbsp;schrieb&nbsp;BING&nbsp;SHUANG:
&gt;&gt;&nbsp;Hi,
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;am&nbsp;working&nbsp;on&nbsp;a&nbsp;project&nbsp;needs&nbsp;to&nbsp;play&nbsp;several&nbsp;MP4&nbsp;files&nbsp;succesively,
&gt;&gt;&nbsp;which&nbsp;should&nbsp;be&nbsp;played&nbsp;continuously&nbsp;(succesively&nbsp;as&nbsp;it&nbsp;was&nbsp;only&nbsp;one&nbsp;file).
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is&nbsp;it&nbsp;possible&nbsp;for&nbsp;this&nbsp;functions&nbsp;in&nbsp;gstreamer?
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;know&nbsp;there&nbsp;is&nbsp;a&nbsp;plugin&nbsp;named&nbsp;"applehlssrc"&nbsp;for&nbsp;playing&nbsp;.m3u8&nbsp;playlist
&gt;&gt;&nbsp;contains&nbsp;a&nbsp;list&nbsp;of&nbsp;".ts"&nbsp;stream,&nbsp;so&nbsp;I&nbsp;want&nbsp;to&nbsp;know&nbsp;is&nbsp;there&nbsp;such&nbsp;a&nbsp;plugin&nbsp;can
&gt;&gt;&nbsp;support&nbsp;a&nbsp;playlist&nbsp;contains&nbsp;a&nbsp;list&nbsp;of&nbsp;MP4&nbsp;files/streams&nbsp;and&nbsp;play&nbsp;succesively?
&gt;&gt;&nbsp;Which&nbsp;kind&nbsp;of&nbsp;playlist&nbsp;will&nbsp;it&nbsp;be?&nbsp;&nbsp;
&gt;
&gt;GStreamer&nbsp;won't&nbsp;do&nbsp;the&nbsp;playlist&nbsp;handling.&nbsp;But&nbsp;please&nbsp;have&nbsp;a&nbsp;look&nbsp;at&nbsp;gap-less
&gt;playback&nbsp;in&nbsp;playin2&nbsp;("about-to-finish"&nbsp;signal).&nbsp;You&nbsp;should&nbsp;be&nbsp;able&nbsp;to&nbsp;implement
&gt;your&nbsp;case&nbsp;with&nbsp;that.
&gt;
&gt;Stefan
&gt;
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Or&nbsp;how&nbsp;can&nbsp;I&nbsp;design&nbsp;a&nbsp;plugin&nbsp;in&nbsp;gstreamer&nbsp;for&nbsp;supporting&nbsp;suck&nbsp;kind&nbsp;of
&gt;&gt;&nbsp;functions?
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;am&nbsp;newer&nbsp;in&nbsp;gstreamer&nbsp;and&nbsp;I&nbsp;really&nbsp;need&nbsp;your&nbsp;help.
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thank&nbsp;you&nbsp;very&nbsp;much!
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;Best&nbsp;Regards!
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;&nbsp;
&gt;&gt;&nbsp;

&gt;&gt;&nbsp;
&gt;&gt;&nbsp;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;
&gt;&gt;&nbsp;_______________________________________________
&gt;&gt;&nbsp;gstreamer-devel&nbsp;mailing&nbsp;list
&gt;&gt;&nbsp;<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
&gt;&gt;&nbsp;<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
&gt;
&gt;_______________________________________________
&gt;gstreamer-devel&nbsp;mailing&nbsp;list
&gt;<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
&gt;<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>
      <br>
      <br>
      <span title="neteasefooter"><span id="netease_mail_footer"></span></span>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>