<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 Regards! <br><br>Billy Shuang</font> </div></div><br><pre>ÔÚ2011-06-09 19:36:00£¬"Stefan Kost" <ensonic@hora-obscura.de> дµÀ£º
>Am 09.06.2011 10:30, schrieb BING SHUANG:
>> Hi,
>> I am working on a project needs to play several MP4 files succesively,
>> which should be played continuously (succesively as it was only one file).
>> Is it possible for this functions in gstreamer?
>> I know there is a plugin named "applehlssrc" for playing .m3u8 playlist
>> contains a list of ".ts" stream, so I want to know is there such a plugin can
>> support a playlist contains a list of MP4 files/streams and play succesively?
>> Which kind of playlist will it be?
>
>GStreamer won't do the playlist handling. But please have a look at gap-less
>playback in playin2 ("about-to-finish" signal). You should be able to implement
>your case with that.
>
>Stefan
>
>> Or how can I design a plugin in gstreamer for supporting suck kind of
>> functions?
>>
>> I am newer in gstreamer and I really need your help.
>> Thank you very much!
>>
>>
>>
>> Best Regards!
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>_______________________________________________
>gstreamer-devel mailing list
>gstreamer-devel@lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
</pre><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>