From: Tejas <te...@pi...> - 2010-02-09 11:30:50
|
Hello All, I am working on application GStreamer on Beagle Board. For that I have built angstrom image online from angstrom web site and also enabled totem movie player. When I run totem and start playback of mpeg4 video file. It is very slow and choppy. I am not able to run 320 X 240 video file smoothly. I found that totem is using playbin and pipeline is created as followed. Decodebin ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! xvimagesink/ximagesink (Here mpeg4parser and mpeg4dec are my Plugins). Now when I do top command max usage(almost 90 %) of cpu is acquired by totem and also max amount of memory also. I found that max time is taken into scaling part of ximagesink/xvimagesink. Now alternatives for ximagesink/xvimagesink I am thinking for TIDmaiVideoSink and omapdmaifbsink Plugins from ticodecplugins. I am doubt if I remove ximagesink and xvimagesink from my librarypath and instead put ticodecplugins will totel detect display and color space conversion Plugins ? I want to improve performance on beagle board. If I run my codec only then I can run HD file also. But in totem I can't run 320 X 240 file smoothly. If anyone can help me to improve this performance ? If anywhere I am wrong or misunderstood , please guide me and correct me. Thanks In Advance, Tejas. |
From: Felipe C. <fel...@gm...> - 2010-02-10 12:51:05
|
On Tue, Feb 9, 2010 at 1:33 PM, Tejas <te...@pi...> wrote: > Decodebin ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! > xvimagesink/ximagesink (Here mpeg4parser and mpeg4dec are my Plugins). Now > when I do top command max usage(almost 90 %) of cpu is acquired by totem and > also max amount of memory also. I found that max time is taken into scaling > part of ximagesink/xvimagesink. > > Now alternatives for ximagesink/xvimagesink I am thinking for > TIDmaiVideoSink and omapdmaifbsink Plugins from ticodecplugins. I am doubt > if I remove ximagesink and xvimagesink from my librarypath and instead put > ticodecplugins will totel detect display and color space conversion Plugins > ? GStreamer would find out if there's any conversion needed (of the elements are implemented properly). Maybe you should give a try to gst-omapfb which renders directly into the framebuffer into a YUV overlay. Unfortunately the OMAP3 display subsystem doesn't support I420 so you would need some conversion for sw codecs. Or you can try to use the DSP accelerated codecs which have an accelerated converter. > I want to improve performance on beagle board. If I run my > codec only then I can run HD file also. But in totem I can’t run 320 X 240 > file smoothly. I know FFmpeg guys have been able to decode 720p videos smoothly on the beagleboard so it's definitely possible. You just need to plug the right pieces :) -- Felipe Contreras |
From: Tejas <te...@pi...> - 2010-02-11 07:44:34
|
Hi Felipe, Nice to have reply from you. I have gone through gst-omapfb plugin from your git repository of gst-omapfb. I find it works on omap frame buffer and accept format as "UYVY". So I can give my decoder output in the form of "UYVY". I have one question, when I run my Plugins as gst-launch, I can run VGA and also HD file smoothly. But when I run into totem movie player, I can't run 320X240 video file smoothly. If I remove ximagesink and xvimagesink Plugins from my library path and put omapfb plugin there will totem work ? -Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Wednesday, February 10, 2010 6:21 PM To: Tejas Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player On Tue, Feb 9, 2010 at 1:33 PM, Tejas <te...@pi...> wrote: > Decodebin ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! > xvimagesink/ximagesink (Here mpeg4parser and mpeg4dec are my Plugins). Now > when I do top command max usage(almost 90 %) of cpu is acquired by totem and > also max amount of memory also. I found that max time is taken into scaling > part of ximagesink/xvimagesink. > > Now alternatives for ximagesink/xvimagesink I am thinking for > TIDmaiVideoSink and omapdmaifbsink Plugins from ticodecplugins. I am doubt > if I remove ximagesink and xvimagesink from my librarypath and instead put > ticodecplugins will totel detect display and color space conversion Plugins > ? GStreamer would find out if there's any conversion needed (of the elements are implemented properly). Maybe you should give a try to gst-omapfb which renders directly into the framebuffer into a YUV overlay. Unfortunately the OMAP3 display subsystem doesn't support I420 so you would need some conversion for sw codecs. Or you can try to use the DSP accelerated codecs which have an accelerated converter. > I want to improve performance on beagle board. If I run my > codec only then I can run HD file also. But in totem I can’t run 320 X 240 > file smoothly. I know FFmpeg guys have been able to decode 720p videos smoothly on the beagleboard so it's definitely possible. You just need to plug the right pieces :) -- Felipe Contreras |
From: Felipe C. <fel...@gm...> - 2010-02-11 11:09:33
|
On Thu, Feb 11, 2010 at 9:46 AM, Tejas <te...@pi...> wrote: > Hi Felipe, > Nice to have reply from you. I have gone through gst-omapfb plugin from your git repository of gst-omapfb. I find it works on omap frame buffer and accept format as "UYVY". So I can give my decoder output in the form of "UYVY". > I have one question, when I run my Plugins as gst-launch, I can run VGA and also HD file smoothly. But when I run into totem movie player, I can't run 320X240 video file smoothly. > > If I remove ximagesink and xvimagesink Plugins from my library path and put omapfb plugin there will totem work ? If you are using a GNOME like environment then most probably you can configure which sink to use with GConf, if not, you can recompile omapfbsink with a higher rank (like primary + 10). That should do the trick. Cheers. -- Felipe Contreras |
From: Tejas <te...@pi...> - 2010-02-12 05:44:41
|
Hi Felipe, I have built omapfbsink plugin from openembedded and taken it o my my library path and then I have created following pipe line. " gst-launch-0.10 filesrc location=/media/mmcblk0p1/Movie.mp4 ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! omapfbsink " It gives following error. "ERROR: Pipeline doesn't want to pause." Here mpeg4dec gives output in the form of I420. Where is the problem ? -Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Thursday, February 11, 2010 4:39 PM To: Tejas Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player On Thu, Feb 11, 2010 at 9:46 AM, Tejas <te...@pi...> wrote: > Hi Felipe, > Nice to have reply from you. I have gone through gst-omapfb plugin from your git repository of gst-omapfb. I find it works on omap frame buffer and accept format as "UYVY". So I can give my decoder output in the form of "UYVY". > I have one question, when I run my Plugins as gst-launch, I can run VGA and also HD file smoothly. But when I run into totem movie player, I can't run 320X240 video file smoothly. > > If I remove ximagesink and xvimagesink Plugins from my library path and put omapfb plugin there will totem work ? If you are using a GNOME like environment then most probably you can configure which sink to use with GConf, if not, you can recompile omapfbsink with a higher rank (like primary + 10). That should do the trick. Cheers. -- Felipe Contreras |
From: Felipe C. <fel...@gm...> - 2010-02-17 10:49:27
|
On Fri, Feb 12, 2010 at 7:46 AM, Tejas <te...@pi...> wrote: > I have built omapfbsink plugin from openembedded and taken it o my my library path and then I have created following pipe line. > > " gst-launch-0.10 filesrc location=/media/mmcblk0p1/Movie.mp4 ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! omapfbsink " I'm not sure 'mpeg4parser' is the right element, probably you want qtdemux. > It gives following error. > > "ERROR: Pipeline doesn't want to pause." > > Here mpeg4dec gives output in the form of I420. > > Where is the problem ? You can try to run with this: export GST_DEBUG=2 To find out warnings and errors. -- Felipe Contreras |
From: Tejas <te...@pi...> - 2010-02-17 11:09:10
|
HI Felipe, 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. MPEG4PARSER :: ============ SINK template: 'sink' Availability: Always Capabilities: video/picus-mpeg4parser width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] framerate: [ 0/1, 2147483647/1 ] mpegversion: 4 systemstream: false SRC template: 'src' Availability: Always Capabilities: video/picus-mpeg4dec MPEG4DEC :: ========= Pad Templates: SINK template: 'sink' Availability: Always Capabilities: video/picus-mpeg4dec width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] framerate: [ 0/1, 2147483647/1 ] SRC template: 'src' Availability: Always Capabilities: video/x-raw-yuv 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. -Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Wednesday, February 17, 2010 4:19 PM To: Tejas Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player On Fri, Feb 12, 2010 at 7:46 AM, Tejas <te...@pi...> wrote: > I have built omapfbsink plugin from openembedded and taken it o my my library path and then I have created following pipe line. > > " gst-launch-0.10 filesrc location=/media/mmcblk0p1/Movie.mp4 ! mpeg4parser ! mpeg4dec ! ffmpegcolorspace ! omapfbsink " I'm not sure 'mpeg4parser' is the right element, probably you want qtdemux. > It gives following error. > > "ERROR: Pipeline doesn't want to pause." > > Here mpeg4dec gives output in the form of I420. > > Where is the problem ? You can try to run with this: export GST_DEBUG=2 To find out warnings and errors. -- Felipe Contreras |
From: Felipe C. <fel...@gm...> - 2010-02-17 11:15:49
|
On Wed, Feb 17, 2010 at 1:11 PM, Tejas <te...@pi...> 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 |
From: Tejas <te...@pi...> - 2010-02-17 11:32:52
|
I have built it up from openembedded with the help of bit bake. Output of gst-inspect-0.10 omapfbsink is as followed. Factory Details: Long name: Linux OMAP framebuffer sink Class: Sink/Video Description: Renders video with omapfb Author(s): Felipe Contreras Rank: primary (256) Plugin Details: Name: omapfb Description: Linux OMAP framebuffer Filename: /usr/lib/gstreamer-0.10/libgstomapfb.so Version: 0.1 License: LGPL Source module: source Binary package: package Origin URL: origin GObject +----GstObject +----GstElement +----GstBaseSink +----GstOmapFbSink Implemented Interfaces: GstImplementsInterface GstXOverlay Pad Templates: SINK template: 'sink' Availability: Always Capabilities: video/x-raw-yuv width: [ 16, 4096 ] height: [ 16, 4096 ] framerate: [ 0/1, 30/1 ] format: { I420, UYVY } Element Flags: no flags set Element Implementation: Has change_state() function: 0x4053a3e8 Has custom save_thyself() function: gst_element_save_thyself Has custom restore_thyself() function: gst_element_restore_thyself Element has no clocking capabilities. Element has no indexing capabilities. Element has no URI handling capabilities. Pads: SINK: 'sink' Implementation: Has chainfunc(): gst_base_sink_chain Has custom eventfunc(): gst_base_sink_event Has bufferallocfunc(): gst_base_sink_pad_buffer_alloc Pad Template: 'sink' Element Properties: name : The name of the object flags: readable, writable String. Default: null Current: "omapfbsink0" preroll-queue-len : Number of buffers to queue during preroll flags: readable, writable Unsigned Integer. Range: 0 - 4294967295 Default: 0 Current: 0 sync : Sync on the clock flags: readable, writable Boolean. Default: true Current: true max-lateness : Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) flags: readable, writable Integer64. Range: -1 - 9223372036854775807 Default: -1 C urrent: -1 qos : Generate Quality-of-Service events upstream flags: readable, writable Boolean. Default: false Current: false async : Go asynchronously to PAUSED flags: readable, writable Boolean. Default: true Current: true ts-offset : Timestamp offset in nanoseconds flags: readable, writable Integer64. Range: -9223372036854775808 - 922337203685477 5807 Default: 0 Current: 0 last-buffer : The last buffer received in the sink flags: readable MiniObject of type "GstBuffer" blocksize : Size in bytes to pull per buffer (0 = default) flags: readable, writable Unsigned Integer. Range: 0 - 4294967295 Default: 4096 Cu rrent: 4096 render-delay : Additional render delay of the sink in nanoseconds flags: readable, writable Unsigned Integer64. Range: 0 - 18446744073709551615 Defa ult: 0 Current: 0 -Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Wednesday, February 17, 2010 4:46 PM To: Tejas Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player On Wed, Feb 17, 2010 at 1:11 PM, Tejas <te...@pi...> 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 |
From: Tejas <te...@pi...> - 2010-02-17 11:34:27
|
Felipe, The detailed output after enabling export GST_DEBUG=3 is as followed. root@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@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@0x115038>[00m adding pad 'sink' GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4parser@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@0x118018>[00m adding pad 'sink' GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<Gstmpeg4dec@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@0x12a0b8>[00m adding pad 'sink' GST_ELEMENT_PADS gstelement.c:639:gst_element_add_pad:<GstBaseTransform@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@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@beagleboard:~# -Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Wednesday, February 17, 2010 4:46 PM To: Tejas Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player On Wed, Feb 17, 2010 at 1:11 PM, Tejas <te...@pi...> 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 |
From: Tejas <te...@pi...> - 2010-02-19 11:07:14
|
Hi Felipe, After debugging I found that memory map is failed in the start function of omapfb.c file. Can you guide me what other things are missing ? Thanks In Advance, Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Wednesday, February 17, 2010 4:46 PM To: Tejas Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player On Wed, Feb 17, 2010 at 1:11 PM, Tejas <te...@pi...> 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 |
From: Tejas <te...@pi...> - 2010-02-23 10:09:27
|
Hi Felipe, With help of playbin2 also I am able to run all HD video content by following commands. $ gst-launch-0.10 playbin2 uri=file:///648x480.mp4 $ gst-launch-0.10 playbin2 uri=file:///1280x720.mp4 I have taken debug log of totem playback, it is creating bin as playbin only. totem --gst-debug=GST_ELEMENT_*:3 --play /media/mmcblk0p1/Movie.mp4 It is using playbin only. And the kernel image which I am using is having DSS2. I have added "omapfb.vram=0:2M,1:4M" argument to my boot argument. Still I am getting "omapdss MANAGER error: dispc_setup_plane failed for ovl 1" error -Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Monday, February 22, 2010 5:39 PM To: Tejas Cc: Stefan Kost; gst...@li... Subject: Re: [Gstreamer-openmax] AV Sync with Gst-OpenMax pluggin On Mon, Feb 22, 2010 at 2:00 PM, Tejas <te...@pi...> wrote: On Mon, Feb 22, 2010 at 2:00 PM, Tejas <te...@pi...> wrote: > Hello Felipe, > As I was not able to play any video content with the help of omapfbsink plugin. Later I found that memory from frame buffer 1 was not mapped , because memory for fb1 has not been allocated. After my system of beagle board boots I am running following commands to allocate memory. > > My boot args is as followed. > > "setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait omapfb.mode=dvi:1280x720MR-32@60 vram=12M'" I add "omapfb.vram=0:2M,1:4M". I'm not sure if you need that in recent DSS2. > $echo 8000000 > /sys/class/graphics/fb1/size $fbset -fb /dev/fb1 > -nonstd 1 $echo "1" > /sys/devices/platform/omapdss/overlay1/enabled > $echo "$1,$2" > /sys/devices/platform/omapdss/overlay1/output_size > $echo "0,0" > /sys/devices/platform/omapdss/overlay1/position > $fbset -fb /dev/fb0 -xres $1 -yres $2 > $echo "0,0" > /sys/devices/platform/omapdss/overlay0/position > $echo "0" > /sys/devices/platform/omapdss/display0/enabled > $echo "" > /sys/devices/platform/omapdss/manager0/display > $echo "0" > /sys/devices/platform/omapdss/overlay1/enabled > $ > $echo "1" > /sys/devices/platform/omapdss/overlay1/enabled > $echo "dvi" > /sys/devices/platform/omapdss/manager0/display > $echo "1" > /sys/devices/platform/omapdss/display0/enabled > > I put all these command into one disp.sh file and run it as ./disp.sh 640 480, then 640x480 display comes and rest comes as black. Now I can run following command smoothly. > > $gst-launch-0.10 playbin uri=file:///648x480.mp4 AFAIK omapfbsink would do most of those sysctl commands. However maybe you are using and old version of gst-omapfb. > After that when I run following command, that display doesn't come properly. That video content is of resolution 1280 x 720. > > $gst-launch-0.10 playbin uri=file:///1280x720.mp4 > > After that I run ./disp.sh 1280 720 and then run above command I can play video properly. > > But when I run 1280 x 720 video file into totem movie player nothing is coming and only blue screen throught entire video play back. After getting log file it gives following error. > "omapdss MANAGER error: dispc_setup_plane failed for ovl 1" > > Can any one guide me to come out this error. That's really strange. Totem shouldn't be doing anything different... well, I't using playbin2 instead of playbin. Can you try that? Anyway, I would add debugging in gst-omapfb to find out what parameters are being used to setup the plane that make it fail. Cheers. -- Felipe Contreras -----Original Message----- From: Tejas [mailto:te...@pi...] Sent: Friday, February 19, 2010 4:39 PM To: 'Felipe Contreras' Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player Hi Felipe, After debugging I found that memory map is failed in the start function of omapfb.c file. Can you guide me what other things are missing ? Thanks In Advance, Tejas. -----Original Message----- From: Felipe Contreras [mailto:fel...@gm...] Sent: Wednesday, February 17, 2010 4:46 PM To: Tejas Cc: gst...@li... Subject: Re: [gst-embedded] Need Help In Totem Media Player On Wed, Feb 17, 2010 at 1:11 PM, Tejas <te...@pi...> 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 ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gstreamer-embedded mailing list Gst...@li... https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded |
From: Felipe C. <fel...@gm...> - 2010-03-02 15:13:11
|
On Tue, Feb 23, 2010 at 12:11 PM, Tejas <te...@pi...> wrote: > Hi Felipe, > With help of playbin2 also I am able to run all HD video content by > following commands. > > $ gst-launch-0.10 playbin2 uri=file:///648x480.mp4 > > $ gst-launch-0.10 playbin2 uri=file:///1280x720.mp4 > > I have taken debug log of totem playback, it is creating bin as > playbin only. > > totem --gst-debug=GST_ELEMENT_*:3 --play /media/mmcblk0p1/Movie.mp4 > > It is using playbin only. And the kernel image which I am using is > having DSS2. > > I have added "omapfb.vram=0:2M,1:4M" argument to my boot argument. > Still I am getting "omapdss MANAGER error: dispc_setup_plane failed for ovl > 1" error I think this is the third time I ask you to add debugging in omapfb to find out the exact command that is causing the error. Also, maybe you should ask Gregoire Gentil, I think he has got it working on Totem. (Adding him to the CC list) -- Felipe Contreras |