[Gstreamer-openmax] File not playing with Playbin...

Sriramamurti K sriram482 at gmail.com
Sun Jul 12 22:31:10 PDT 2009


Dear All

I am Implementing a gstreamer openMax filter which takes the data and
demultiplex it, decodes and
renders data. My requirement is all above three (Demultiplex,
Decoding,Rendering) should be happen in one filter.
Because i am using openMax Tunneling Feature here.For that i am
implemented one filter and i am able to test successfully
with following command

*gst-launch-0.10 filesrc location=/home/sample_mpeg4.mp4 ! myfilter*

*Log:*
0:00:00.555228381  3378  0x973d050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"filesrc"
0:00:00.599705602  3378  0x973d050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"myfilter"

Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 5320879719 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

*Issue is *when same file playing with *playbin*... means following command

*gst-launch-0.10 playbin uri=file:///home/sample_mpeg4.mp4*

*Log:*
0:00:00.118240731  3389  0x9ed7050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"playbin"
Setting pipeline to PAUSED ...
0:00:00.121225434  3389  0x9ed7050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "test"
0:00:00.121568527  3389  0x9ed7050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"filesrc" named "source"
0:00:00.131147831  3389  0x9ed7050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"decodebin"
0:00:00.132296003  3389  0x9ed7050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"typefind" named "typefind"
0:00:00.132704867  3389  0x9ed7050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "fakesink"
0:00:00.154780461  3389  0x9ed7050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"*myfilter*"
Pipeline is PREROLLING ...
then pipeline is *hanging*... here

what can be the Issue?  Is My approach is correct. Can i implement
filter like this ?
If Yes What playbin is expecting from *myfilter* point of view ?
Please any one have idea on this Please help me to solve this problem.
I got stuck at this point... If Any info needed let me know...


Thanks & Regards
Sriramamurti Kommanapalli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20090713/89ca823a/attachment.htm>


More information about the Gstreamer-openmax mailing list