How to play a list of MP4 files succesively
shuangbing at 126.com
Thu Jun 30 01:46:42 PDT 2011
Thank you for your reply.
I have builda simpleplayerto process the "about-to-finish" signal, theplayer usesplaybin2to builda pipelineandfilesrc elementto source theMP4files.
I used twomp4files for testing the gaplessplayback,and themp4 video canplaysuccesively except some problems:
1. there is noaudio for the second clip
2. when the second clip start, theplay position value get with function "gst_element_query_position" keeps the value equalingto the durationof first clip, which means it can not get the realplay positionof the second clip
3. if I doa seek operation during theplayingof the secondmp4, theaudio will comeandplay position value will be the real position
So, could you please give me some moreadvices, thank you very much!
在2011-06-09 19:36:00，"Stefan Kost" <ensonic at hora-obscura.de> 写道：
>Am 09.06.2011 10:30, schrieb BING SHUANG:
>> 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.
>> Or how can I design a plugin in gstreamer for supporting suck kind of
>> I am newer in gstreamer and I really need your help.
>> Thank you very much!
>> Best Regards!
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>gstreamer-devel mailing list
>gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel