Don't know why it is sent but not received by gstreamer maillist. So send again.
Hi Developers, I just tried to use playbin2 play one avi file. And the file can be played well but from the application side, I can not receive element ffdec/avidemux state change message from NULL to READY. And I can receive element state change message from READY to PAUSED, and from PAUSED to PLAYING. This is strange for other elements (like streamsynchronizer0, playsink0, uridecodebin0, typefind, decodebin20, multiqueue0, inputselector0, ...), I can receive stage change message from NULL to READY. Anybody who help me to explain why? And I want to know how to modify playbin2 then I can get the demux and decoder state change from NULL to READY. best regards _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Thu, 2011-04-07 at 10:05 +0800, bcxa sz wrote:
> I just tried to use playbin2 play one avi file. And the file can be > played well but from the application side, I can not receive element > ffdec/avidemux state change message from NULL to READY. And I can > receive element state change message from READY to PAUSED, and from > PAUSED to PLAYING. > > This is strange for other elements (like streamsynchronizer0, > playsink0, uridecodebin0, typefind, decodebin20, multiqueue0, > inputselector0, ...), I can receive stage change message from NULL to > READY. > > Anybody who help me to explain why? And I want to know how to modify > playbin2 then I can get the demux and decoder state change from NULL > to READY. That's most likely because elements that are autoplugged based on typefinding/caps discovery are set to READY state before being added to decodebin2 (to see if they work). Why do you need these particular state change messages? The application only really needs to look at state change messages coming from the top-level pipeline (ie. playbin2). Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Thu, Apr 7, 2011 at 4:05 PM, Tim-Philipp Müller <[hidden email]> wrote:
> On Thu, 2011-04-07 at 10:05 +0800, bcxa sz wrote: > >> I just tried to use playbin2 play one avi file. And the file can be >> played well but from the application side, I can not receive element >> ffdec/avidemux state change message from NULL to READY. And I can >> receive element state change message from READY to PAUSED, and from >> PAUSED to PLAYING. >> >> This is strange for other elements (like streamsynchronizer0, >> playsink0, uridecodebin0, typefind, decodebin20, multiqueue0, >> inputselector0, ...), I can receive stage change message from NULL to >> READY. >> >> Anybody who help me to explain why? And I want to know how to modify >> playbin2 then I can get the demux and decoder state change from NULL >> to READY. > > That's most likely because elements that are autoplugged based on > typefinding/caps discovery are set to READY state before being added to > decodebin2 (to see if they work). > > Why do you need these particular state change messages? The application > only really needs to look at state change messages coming from the > top-level pipeline (ie. playbin2). Thanks Tim. Just realized what you said is correct. At that time, the element is not yet put into the bin. So no bus to post. Thanks for your help. > > Cheers > -Tim > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |