[gst-embedded] Need Help In Totem Media Player

Tejas tejas at picus.in
Wed Feb 17 03:36:43 PST 2010


Felipe,
	The detailed output after enabling export GST_DEBUG=3 is as followed.


root at beagleboard:~# gst-launch-0.10 filesrc location=/media/mmcblk0p1/Amsterdam_

1090kbps.mp4 ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! omapfbsink
GST_INIT gst.c:608:init_pre: Initializing GStreamer Core Library version 0.10.22
GST_INIT gst.c:609:init_pre: Using library installed in /usr/lib
GST_INIT gst.c:619:init_pre: Linux beagleboard 2.6.29-omap1 #1 PREEMPT Thu Oct 1 13:48:21 CEST 2009 armv7l
GST_INIT gstquery.c:106:_gst_query_initialize: init queries
GST_INIT gstmessage.c:75:_gst_message_initialize: init messages
GST_PLUGIN_LOADING gstplugin.c:265:_gst_plugin_initialize: registering 0 static plugins
GST_PLUGIN_LOADING gstplugin.c:250:gst_plugin_register_static: registered static plugin "staticelements"
GST_PLUGIN_LOADING gstplugin.c:252:gst_plugin_register_static: added static plugin "staticelements", result: 1
GST_INIT gst.c:920:ensure_current_registry: reading registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
GST_REGISTRY gstregistrybinary.c:1221:gst_registry_binary_read_cache: loaded /home/root/.gstreamer-0.10/registry.arm.bin in 0.176910 seconds
GST_INIT gst.c:671:scan_and_update_registry: Validating registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
GST_PLUGIN_LOADING gstplugin.c:502:gst_plugin_load_file: module_open failed: /usr/lib/gstreamer-0.10/libgstsubparse.so: undefined symbol: parse_sami

GST_INIT gst.c:756:scan_and_update_registry: Registry cache has not changed
GST_INIT gst.c:967:ensure_current_registry: registry reading and updating done, result = 1
GST_PIPELINE gstparse.c:291:gst_parse_launch_full: parsing pipeline description 'filesrc location=/media/mmcblk0p1/Amsterdam_1090kbps.mp4 ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! omapfbsink '
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create: creating element "filesrc"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseSrc at 0x112028> adding pad 'src'
GST_TYPEFIND gsttypefind.c:83:gst_type_find_register: registering typefind function for video/quicktime
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstmpeg4parser.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create: creating element "mpeg4parser"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4parser at 0x115038> adding pad 'sink'
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4parser at 0x115038> adding pad 'src'
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstmpeg4dec.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create: creating element "mpeg4dec"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4dec at 0x118018> adding pad 'sink'
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4dec at 0x118018> adding pad 'src'
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create: creating element "ffmpegcolorspace"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseTransform at 0x12a0b8> adding pad 'sink'
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseTransform at 0x12a0b8> adding pad 'src'
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstomapfb.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create: creating element "omapfbsink"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseSink at 0x102ed8> adding pad 'sink'
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create: creating element "pipeline"
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link: linking filesrc0:(any) to mpeg4parser0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads: trying to link element filesrc0:(any) to element mpeg4parser0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link: trying to link filesrc0:src and mpeg4parser0:src
GST_PADS gstutils.c:2145:gst_pad_can_link: Sink pad mpeg4parser0:src is not sink pad, failed
GST_PADS gstutils.c:2125:gst_pad_can_link: trying to link filesrc0:src and mpeg4parser0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting: filesrc0 and mpeg4parser0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare: trying to link filesrc0:src and mpeg4parser0:sink
GST_PADS gstpad.c:1942:gst_pad_link: linked filesrc0:src and mpeg4parser0:sink, successful
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link: linking mpeg4parser0:(any) to mpeg4dec0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads: trying to link element mpeg4parser0:(any) to element mpeg4dec0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link: trying to link mpeg4parser0:src and mpeg4dec0:src
GST_PADS gstutils.c:2145:gst_pad_can_link: Sink pad mpeg4dec0:src is not sink pad, failed
GST_PADS gstutils.c:2125:gst_pad_can_link: trying to link mpeg4parser0:src and mpeg4dec0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting: mpeg4parser0 and mpeg4dec0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare: trying to link mpeg4parser0:src and mpeg4dec0:sink
GST_PADS gstpad.c:1942:gst_pad_link: linked mpeg4parser0:src and mpeg4dec0:sink, successful
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link: linking mpeg4dec0:(any) to ffmpegcsp0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads: trying to link element mpeg4dec0:(any) to element ffmpegcsp0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link: trying to link mpeg4dec0:src and ffmpegcsp0:src
GST_PADS gstutils.c:2145:gst_pad_can_link: Sink pad ffmpegcsp0:src is not sink pad, failed
GST_PADS gstutils.c:2125:gst_pad_can_link: trying to link mpeg4dec0:src and ffmpegcsp0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting: mpeg4dec0 and ffmpegcsp0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare: trying to link mpeg4dec0:src and ffmpegcsp0:sink
GST_PADS gstpad.c:1942:gst_pad_link: linked mpeg4dec0:src and ffmpegcsp0:sink, successful
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link: linking ffmpegcsp0:(any) to omapfbsink0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads: trying to link element ffmpegcsp0:(any) to element omapfbsink0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link: trying to link ffmpegcsp0:src and omapfbsink0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting: ffmpegcsp0 and omapfbsink0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare: trying to link ffmpegcsp0:src and omapfbsink0:sink
GST_PADS gstpad.c:1942:gst_pad_link: linked ffmpegcsp0:src and omapfbsink0:sink, successful

GST_STATES gstelement.c:2434:gst_element_change_state:<omapfbsink0> have FAILURE change_state return
GST_STATES gstelement.c:2044:gst_element_abort_state:<omapfbsink0> aborting state from NULL to READY
GST_STATES gstbin.c:2369:gst_bin_change_state_func:<pipeline0> child 'omapfbsink0' failed to go to state 2(READY)
GST_STATES gstelement.c:2434:gst_element_change_state:<pipeline0> have FAILURE change_state return
GST_STATES gstelement.c:2044:gst_element_abort_state:<pipeline0> aborting state from NULL to PAUSED


GST_STATES gstelement.c:2150:gst_element_continue_state:<omapfbsink0> completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0> child 'omapfbsink0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<ffmpegcsp0> completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0> child 'ffmpegcsp0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<mpeg4dec0> completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0> child 'mpeg4dec0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<mpeg4parser0> completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0> child 'mpeg4parser0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<filesrc0> completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<pipeline0> completed state change to NULL
GST_STATES gstbin.c:1659:gst_bin_get_state_func:<pipeline0> getting state

GST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink: unlinking ffmpegcsp0:src(0x1134b0) and omapfbsink0:sink(0x113570)
GST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink: unlinked ffmpegcsp0:src and omapfbsink0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0> removed child "omapfbsink0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<omapfbsink0> dispose
GST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<omapfbsink0> removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<omapfbsink0> parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<omapfbsink0> finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<omapfbsink0> finalize parent
GST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink: unlinking mpeg4dec0:src(0x113330) and ffmpegcsp0:sink(0x1133f0)
GST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink: unlinked mpeg4dec0:src and ffmpegcsp0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0> removed child "ffmpegcsp0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<ffmpegcsp0> dispose
GST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<ffmpegcsp0> removing pad 'src'
GST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<ffmpegcsp0> removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<ffmpegcsp0> parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<ffmpegcsp0> finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<ffmpegcsp0> finalize parent
GST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink: unlinking mpeg4parser0:src(0x1131b0) and mpeg4dec0:sink(0x113270)
Caught SIGSEGV accessing address 0x5b1b2043
GST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink: unlinked mpeg4parser0:src and mpeg4dec0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0> removed child "mpeg4dec0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<mpeg4dec0> dispose
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4dec0> removing pad 'src'
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4dec0> removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<mpeg4dec0> parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<mpeg4dec0> finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<mpeg4dec0> finalize parent
ST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink: unlinking filesrc0:src(0x113030) and mpeg4parser0:sink(0x1130f0)
ST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink: unlinked filesrc0:src and mpeg4parser0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0> removed child "mpeg4parser0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<mpeg4parser0> dispose
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4parser0> removing pad 'src'
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4parser0> removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<mpeg4parser0> parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<mpeg4parser0> finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<mpeg4parser0> finalize parent
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0> removed child "filesrc0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<filesrc0> dispose
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<filesrc0> removing pad 'src'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<filesrc0> parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<filesrc0> finalize
GST_REFCOUNTING#0  0x40468844 in ?? ()

GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<pipeline0> dispose
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<pipeline0> parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<pipeline0> finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<pipeline0> finalize parent
GST_INIT gst.c:1323:gst_deinit: deinitializing GStreamer
Spinning.  Please run 'gdb gst-launch 2051' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
0:00:02.219543472  2051    0x15050 INFO              GST_INIT gst.c:1416:gst_deinit: deinitialized GStreamer
root at beagleboard:~#


-Tejas.

-----Original Message-----
From: Felipe Contreras [mailto:felipe.contreras at gmail.com] 
Sent: Wednesday, February 17, 2010 4:46 PM
To: Tejas
Cc: gstreamer-embedded at lists.sourceforge.net
Subject: Re: [gst-embedded] Need Help In Totem Media Player

On Wed, Feb 17, 2010 at 1:11 PM, Tejas <tejas at picus.in> wrote:
>        If I use following pipe line it will work fine.
>
> "gst-launch-0.10 filesrc location=/media/mmcblk0p1/Movie.mp4 ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! fbdevsink"
>
>        Here mpeg4parser and mpeg4dec are my Plugins which I made. Capability of both are as followed.

[...]

>        Src pad of mpeg4dec will be connected with ffmpegcolorspace and later will be connected with fbdevsink and complete pipeline will be settled.
>
>        But instead fbdevsink if I use omapfbsink I can not create pipeline and getting following error.

Ah, I see. Have you got omapfbsink to do anything? Maybe the fb
overlays haven't been setup properly.

Where did you get the omapfbsink element?

-- 
Felipe Contreras





More information about the Gstreamer-embedded mailing list