<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><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><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;&lt;ensonic@hora-obscura.de&gt;&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;gstreamer-devel@lists.freedesktop.org
&gt;&gt;&nbsp;http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
&gt;
&gt;_______________________________________________
&gt;gstreamer-devel&nbsp;mailing&nbsp;list
&gt;gstreamer-devel@lists.freedesktop.org
&gt;http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
</pre><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>