[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[J
GST_INIT gst.c:608:init_pre:[00m Initializing GStreamer Core Library version 0.10.22
GST_INIT gst.c:609:init_pre:[00m Using library installed in /usr/lib
GST_INIT gst.c:619:init_pre:[00m 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:[00m init queries
GST_INIT gstmessage.c:75:_gst_message_initialize:[00m init messages
GST_PLUGIN_LOADING gstplugin.c:265:_gst_plugin_initialize:[00m registering 0 static plugins
GST_PLUGIN_LOADING gstplugin.c:250:gst_plugin_register_static:[00m registered static plugin "staticelements"
GST_PLUGIN_LOADING gstplugin.c:252:gst_plugin_register_static:[00m added static plugin "staticelements", result: 1
GST_INIT gst.c:920:ensure_current_registry:[00m reading registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
GST_REGISTRY gstregistrybinary.c:1221:gst_registry_binary_read_cache:[00m loaded /home/root/.gstreamer-0.10/registry.arm.bin in 0.176910 seconds
GST_INIT gst.c:671:scan_and_update_registry:[00m Validating registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
GST_PLUGIN_LOADING gstplugin.c:502:gst_plugin_load_file:[00m module_open failed: /usr/lib/gstreamer-0.10/libgstsubparse.so: undefined symbol: parse_sami
GST_INIT gst.c:756:scan_and_update_registry:[00m Registry cache has not changed
GST_INIT gst.c:967:ensure_current_registry:[00m registry reading and updating done, result = 1
GST_PIPELINE gstparse.c:291:gst_parse_launch_full:[00m parsing pipeline description 'filesrc location=/media/mmcblk0p1/Amsterdam_1090kbps.mp4 ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! omapfbsink '
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file:[00m plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create:[00m creating element "filesrc"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseSrc at 0x112028>[00m adding pad 'src'
GST_TYPEFIND gsttypefind.c:83:gst_type_find_register:[00m registering typefind function for video/quicktime
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file:[00m plugin "/usr/lib/gstreamer-0.10/libgstmpeg4parser.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create:[00m creating element "mpeg4parser"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4parser at 0x115038>[00m adding pad 'sink'
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4parser at 0x115038>[00m adding pad 'src'
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file:[00m plugin "/usr/lib/gstreamer-0.10/libgstmpeg4dec.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create:[00m creating element "mpeg4dec"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4dec at 0x118018>[00m adding pad 'sink'
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4dec at 0x118018>[00m adding pad 'src'
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file:[00m plugin "/usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create:[00m creating element "ffmpegcolorspace"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseTransform at 0x12a0b8>[00m adding pad 'sink'
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseTransform at 0x12a0b8>[00m adding pad 'src'
ST_PLUGIN_LOADING gstplugin.c:570:gst_plugin_load_file:[00m plugin "/usr/lib/gstreamer-0.10/libgstomapfb.so" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create:[00m creating element "omapfbsink"
GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseSink at 0x102ed8>[00m adding pad 'sink'
GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create:[00m creating element "pipeline"
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link:[00m linking filesrc0:(any) to mpeg4parser0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads:[00m trying to link element filesrc0:(any) to element mpeg4parser0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link:[00m trying to link filesrc0:src and mpeg4parser0:src
GST_PADS gstutils.c:2145:gst_pad_can_link:[00m Sink pad mpeg4parser0:src is not sink pad, failed
GST_PADS gstutils.c:2125:gst_pad_can_link:[00m trying to link filesrc0:src and mpeg4parser0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting:[00m filesrc0 and mpeg4parser0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare:[00m trying to link filesrc0:src and mpeg4parser0:sink
GST_PADS gstpad.c:1942:gst_pad_link:[00m linked filesrc0:src and mpeg4parser0:sink, successful
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link:[00m linking mpeg4parser0:(any) to mpeg4dec0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads:[00m trying to link element mpeg4parser0:(any) to element mpeg4dec0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link:[00m trying to link mpeg4parser0:src and mpeg4dec0:src
GST_PADS gstutils.c:2145:gst_pad_can_link:[00m Sink pad mpeg4dec0:src is not sink pad, failed
GST_PADS gstutils.c:2125:gst_pad_can_link:[00m trying to link mpeg4parser0:src and mpeg4dec0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting:[00m mpeg4parser0 and mpeg4dec0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare:[00m trying to link mpeg4parser0:src and mpeg4dec0:sink
GST_PADS gstpad.c:1942:gst_pad_link:[00m linked mpeg4parser0:src and mpeg4dec0:sink, successful
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link:[00m linking mpeg4dec0:(any) to ffmpegcsp0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads:[00m trying to link element mpeg4dec0:(any) to element ffmpegcsp0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link:[00m trying to link mpeg4dec0:src and ffmpegcsp0:src
GST_PADS gstutils.c:2145:gst_pad_can_link:[00m Sink pad ffmpegcsp0:src is not sink pad, failed
GST_PADS gstutils.c:2125:gst_pad_can_link:[00m trying to link mpeg4dec0:src and ffmpegcsp0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting:[00m mpeg4dec0 and ffmpegcsp0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare:[00m trying to link mpeg4dec0:src and ffmpegcsp0:sink
GST_PADS gstpad.c:1942:gst_pad_link:[00m linked mpeg4dec0:src and ffmpegcsp0:sink, successful
GST_PIPELINE ./grammar.y:478:gst_parse_perform_link:[00m linking ffmpegcsp0:(any) to omapfbsink0:(any) (0/0) with caps "(NULL)"
GST_ELEMENT_PADS gstutils.c:1430:gst_element_link_pads:[00m trying to link element ffmpegcsp0:(any) to element omapfbsink0:(any)
GST_PADS gstutils.c:2125:gst_pad_can_link:[00m trying to link ffmpegcsp0:src and omapfbsink0:sink
GST_PADS gstutils.c:1335:prepare_link_maybe_ghosting:[00m ffmpegcsp0 and omapfbsink0 in same bin, no need for ghost pads
GST_PADS gstpad.c:1805:gst_pad_link_prepare:[00m trying to link ffmpegcsp0:src and omapfbsink0:sink
GST_PADS gstpad.c:1942:gst_pad_link:[00m linked ffmpegcsp0:src and omapfbsink0:sink, successful
GST_STATES gstelement.c:2434:gst_element_change_state:<omapfbsink0>[00m have FAILURE change_state return
GST_STATES gstelement.c:2044:gst_element_abort_state:<omapfbsink0>[00m aborting state from NULL to READY
GST_STATES gstbin.c:2369:gst_bin_change_state_func:<pipeline0>[00m child 'omapfbsink0' failed to go to state 2(READY)
GST_STATES gstelement.c:2434:gst_element_change_state:<pipeline0>[00m have FAILURE change_state return
GST_STATES gstelement.c:2044:gst_element_abort_state:<pipeline0>[00m aborting state from NULL to PAUSED
GST_STATES gstelement.c:2150:gst_element_continue_state:<omapfbsink0>[00m completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0>[00m child 'omapfbsink0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<ffmpegcsp0>[00m completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0>[00m child 'ffmpegcsp0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<mpeg4dec0>[00m completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0>[00m child 'mpeg4dec0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<mpeg4parser0>[00m completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0>[00m child 'mpeg4parser0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<filesrc0>[00m completed state change to NULL
GST_STATES gstbin.c:2355:gst_bin_change_state_func:<pipeline0>[00m child 'filesrc0' changed state to 1(NULL) successfully
GST_STATES gstelement.c:2150:gst_element_continue_state:<pipeline0>[00m completed state change to NULL
GST_STATES gstbin.c:1659:gst_bin_get_state_func:<pipeline0>[00m getting state
GST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink:[00m unlinking ffmpegcsp0:src(0x1134b0) and omapfbsink0:sink(0x113570)
GST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink:[00m unlinked ffmpegcsp0:src and omapfbsink0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0>[00m removed child "omapfbsink0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<omapfbsink0>[00m dispose
GST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<omapfbsink0>[00m removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<omapfbsink0>[00m parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<omapfbsink0>[00m finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<omapfbsink0>[00m finalize parent
GST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink:[00m unlinking mpeg4dec0:src(0x113330) and ffmpegcsp0:sink(0x1133f0)
GST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink:[00m unlinked mpeg4dec0:src and ffmpegcsp0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0>[00m removed child "ffmpegcsp0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<ffmpegcsp0>[00m dispose
GST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<ffmpegcsp0>[00m removing pad 'src'
GST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<ffmpegcsp0>[00m removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<ffmpegcsp0>[00m parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<ffmpegcsp0>[00m finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<ffmpegcsp0>[00m finalize parent
GST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink:[00m unlinking mpeg4parser0:src(0x1131b0) and mpeg4dec0:sink(0x113270)
Caught SIGSEGV accessing address 0x5b1b2043
GST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink:[00m unlinked mpeg4parser0:src and mpeg4dec0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0>[00m removed child "mpeg4dec0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<mpeg4dec0>[00m dispose
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4dec0>[00m removing pad 'src'
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4dec0>[00m removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<mpeg4dec0>[00m parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<mpeg4dec0>[00m finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<mpeg4dec0>[00m finalize parent
ST_ELEMENT_PADS gstpad.c:1578:gst_pad_unlink:[00m unlinking filesrc0:src(0x113030) and mpeg4parser0:sink(0x1130f0)
ST_ELEMENT_PADS gstpad.c:1621:gst_pad_unlink:[00m unlinked filesrc0:src and mpeg4parser0:sink
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0>[00m removed child "mpeg4parser0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<mpeg4parser0>[00m dispose
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4parser0>[00m removing pad 'src'
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<mpeg4parser0>[00m removing pad 'sink'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<mpeg4parser0>[00m parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<mpeg4parser0>[00m finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<mpeg4parser0>[00m finalize parent
GST_PARENTAGE gstbin.c:1338:gst_bin_remove_func:<pipeline0>[00m removed child "filesrc0"
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<filesrc0>[00m dispose
ST_ELEMENT_PADS gstelement.c:757:gst_element_remove_pad:<filesrc0>[00m removing pad 'src'
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<filesrc0>[00m parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<filesrc0>[00m finalize
GST_REFCOUNTING#0 0x40468844 in ?? ()
GST_REFCOUNTING gstelement.c:2724:gst_element_dispose:<pipeline0>[00m dispose
GST_REFCOUNTING gstelement.c:2748:gst_element_dispose:<pipeline0>[00m parent class dispose
GST_REFCOUNTING gstelement.c:2771:gst_element_finalize:<pipeline0>[00m finalize
GST_REFCOUNTING gstelement.c:2782:gst_element_finalize:<pipeline0>[00m finalize parent
GST_INIT gst.c:1323:gst_deinit:[00m 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 [336m 2051[00m 0x15050 [32;01mINFO [00m [00;01;31m GST_INIT gst.c:1416:gst_deinit:[00m 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