[Gstreamer-openmax] Fwd: Regarding GStreamer-OpenMax Layer

sriram murthy sriram482 at gmail.com
Wed Dec 10 01:47:18 PST 2008


>
> You can do:
> export GST_DEBUG=GST_ELEMENT_FACTORY:3
>
> To find out what exactly is playbin doing, so you can try different
> pipelines trying to reproduce the issue.
>
> You can also paste the output here if you need help.
>

Here is output for Different Commands ( gst-lanch-0.10 alone,
gst-launch-0.10 with play bin and totem from source packages ).
All these command are run from the same command prompt & gstreamer openmax
build is same for all.

*1. Command:* *$ gst-launch-0.10 filesrc location=Sample.mp3 ! omx_mp3dec !
omx_audiosink*

*Output:*
0:00:00.541246443 10863 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"filesrc"
0:00:00.542451992 10863 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element *
"omx_mp3dec"*
0:00:00.542542517 10863 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element *
"omx_audiosink"*
0:00:00.542737328 10863 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"pipeline"
Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
pad_event():eos ---from ---- gstomx_base_filter.c
handle_event():eos ---from ---- gstomx_base_Sink.c
Got EOS from element "pipeline0".
Execution ended after 10927551006 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

*Observation: Sound coming Properly from my audio card.*

*2. Command:**$ gst-launch playbin uri=file:///Sample.mp3

**Output:*
*
*0:00:00.679714213 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"playbin"
Setting pipeline to PAUSED ...
0:00:00.683916693 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "test"
0:00:00.684322156 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"filesrc" named "source"
0:00:00.685265890 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"decodebin"
0:00:00.686449357 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"typefind" named "typefind"
0:00:00.686845780 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "fakesink"
0:00:00.714458553 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"mp3parse"
0:00:00.736375402 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating
element*"omx_mp3dec"
*

Pipeline is PREROLLING ...

0:00:00.897804041 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
named "preroll_audio_src0"
0:00:00.900152615 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"autoaudiosink" named "audiosink"
0:00:00.900536597 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:00.900968301 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "abin"
0:00:00.903642214 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioconvert" named "aconv"
0:00:01.054248196 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioresample" named "aresample"
0:00:01.056150184 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"volume" named "volume"
0:00:01.069029998 10910 0x81474d8 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"pulsesink" named "audiosink-actual-sink-pulse"

Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock

WARNING: from element /playbin0/abin/audiosink/audiosink-actual-sink-pulse:
Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(1190): gst_base_audio_sink_render ():
/playbin0/abin/audiosink/audiosink-actual-sink-pulse:
Unexpected discontinuity in audio timestamps of more than half a second
(0:00:00.508934240), resyncing

WARNING: from element /playbin0/abin/audiosink/audiosink-actual-sink-pulse:
Compensating for audio synchronisation problems
Additional debug info:
gstbaseaudiosink.c(1190): gst_base_audio_sink_render ():
/playbin0/abin/audiosink/audiosink-actual-sink-pulse:
Unexpected discontinuity in audio timestamps of more than half a second
(0:00:00.522063492), resyncing

---------------

Got EOS from element "playbin0".
Execution ended after 6591240093 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:08.092667213 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"fakesrc"
0:00:08.094828696 10910 0x804e050 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
Setting pipeline to NULL ...
FREEING pipeline ...*
*pad_event():eos ---from ---- gstomx_base_filter.c*

**Observation: No Sound coming from my audio card.*
*
3. Command:* *$ ./totem Sample.mp3

**Output:*

0:00:01.171496960 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"playbin" named "play"
0:00:01.173127573 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"gconfaudiosink" named "audio-sink"
0:00:01.176106983 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "testsink"
0:00:01.177234287 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"gconfvideosink" named "video-sink"
0:00:01.177338213 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "testsink"
0:00:01.183720137 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"autovideosink"
0:00:01.183908348 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:01.184135401 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element "bin"
0:00:01.186576620 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"xvimagesink" named "autovideosink0-actual-sink-xvimage"
0:00:01.192173499 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"ximagesink" named "autovideosink0-actual-sink-ximage"
0:00:01.226096112 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"autoaudiosink"
0:00:01.226285483 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:01.226518936 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element "bin"
0:00:01.230481522 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"pulsesink" named "autoaudiosink0-actual-sink-pulse"
0:00:01.233372086 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:01.233578058 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "testsink"
0:00:01.233786710 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"capsfilter" named "audiofilter"
0:00:01.234035004 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "audiosinkbin"
0:00:01.355478285 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "goom"
named "vis_element"
0:00:01.359424949 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"capsfilter" named "vis_capsfilter"
0:00:01.359684844 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "vis_bin"
0:00:01.697677345 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "goom"
named "vis_element"
0:00:01.701773778 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"capsfilter" named "vis_capsfilter"
0:00:01.702084396 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "vis_bin"
0:00:01.702485019 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "test"
0:00:01.702718232 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"filesrc" named "source"
0:00:01.703851737 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"decodebin"
0:00:01.704570377 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"typefind" named "typefind"
0:00:01.704929958 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "fakesink"
0:00:01.713674776 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"mp3parse"
0:00:01.719891011 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element *
"omx_mp3dec"*

0:00:01.916061790 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
named "preroll_audio_src0"
0:00:01.916597860 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "abin"
0:00:01.918211312 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioconvert" named "aconv"
0:00:01.961370212 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioresample" named "aresample"
0:00:01.963192276 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"volume" named "volume"
0:00:01.967219105 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"autoaudiosink"
0:00:01.967338312 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:01.967535603 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element "bin"
0:00:01.967854821 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"pulsesink" named "autoaudiosink1-actual-sink-pulse"
0:00:01.979841984 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "vbin"
0:00:01.982544898 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"ffmpegcolorspace" named "vconv"
0:00:01.984982437 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"videoscale" named "vscale"
0:00:01.985123005 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"identity" named "id"
0:00:02.121969004 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "visbin"
0:00:02.122113653 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "tee"
named "tee"
0:00:02.122237140 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
named "vqueue"
0:00:02.122361107 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
named "aqueue"
0:00:02.122509955 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioconvert" named "aconv"
0:00:02.122621042 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioresample" named "aresamp"
0:00:02.122746569 10992 0x8480e60 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioconvert" named "aconv2"

pad_event():eos ---from ---- gstomx_base_filter.c

0:00:09.145623219 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"fakesrc"
0:00:09.152330081 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:09.160628394 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "testsink"
0:00:09.250665005 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:09.257134373 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create:
reating element "fakesink" named "testsink"
0:00:09.275441777 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "test"
0:00:09.276058372 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"filesrc" named "source"
0:00:09.276184139 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"decodebin"
0:00:09.276748491 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"typefind" named "typefind"
0:00:09.276911981 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "fakesink"
0:00:09.277971241 10992 0x809c4b0 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"mp3parse"
0:00:09.278914855 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element *
"omx_mp3dec*"

0:00:09.462252143 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
named "preroll_audio_src0"
0:00:09.462826215 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
named "visbin"
0:00:09.462912700 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "tee"
named "tee"
0:00:09.462990625 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
named "vqueue"
0:00:09.463077390 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
named "aqueue"
0:00:09.463193836 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioconvert" named "aconv"
0:00:09.463272401 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioresample" named "aresamp"
0:00:09.463348125 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"audioconvert" named "aconv2"
0:00:09.505146227 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"autovideosink"
0:00:09.505265834 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:09.505449965 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element "bin"
0:00:09.512109104 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"xvimagesink" named "autovideosink1-actual-sink-xvimage"
0:00:09.583806110 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"ximagesink" named "autovideosink1-actual-sink-ximage"
0:00:09.594288267 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element
"autoaudiosink"
0:00:09.594417235 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"fakesink" named "tempsink"
0:00:09.594600565 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:399:gst_element_factory_create: creating element "bin"
0:00:09.594900342 10992 0x8674570 INFO   GST_ELEMENT_FACTORY
gstelementfactory.c:397:gst_element_factory_create: creating element
"pulsesink" named "autoaudiosink2-actual-sink-pulse"

pad_event():eos ---from ---- gstomx_base_filter.c

*Observation: No Sound coming from my audio card. and also no seek moment in
totem player window.**

**These are my observations with different tools. Check these outputs and
reply me if have any idea.*


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


More information about the Gstreamer-openmax mailing list