<!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 Regards! <br>
<br>
Billy Shuang</font> </div>
</div>
<br>
<pre>ÔÚ2011-06-09 19:36:00£¬"Stefan Kost" <a class="moz-txt-link-rfc2396E" href="mailto:ensonic@hora-obscura.de"><ensonic@hora-obscura.de></a> дµÀ£º
>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
>> <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>
>
>_______________________________________________
>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>
<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>