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

Felipe Contreras felipe.contreras at gmail.com
Thu Dec 11 10:24:43 PST 2008


On Thu, Dec 11, 2008 at 11:42 AM, sriram murthy <sriram482 at gmail.com> wrote:
>
>> > But still i am facing earlier same problem with totem player. But now i
>> > am
>> > able to load my render component also.
>> > So i will start debug this problem.
>> >
>> > If you have any idea reply me.
>>
>> Maybe disabling goom (audio visualizations) would help?
>
> Dear Felipe,
>
>       I disabled the goom from totem configuration and tried. Still same
> problem. But Here I found some interesting debug messages.
> Please have a look on highlighted statements and reply me .
>
> 1. Command:$ gst-launch playbin uri=file:///Sample.mp3
>
> Output:
>
> 0:00:00.521249784 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:399:gst_element_factory_create: creating element
> "playbin"
> Setting pipeline to PAUSED ...
> 0:00:00.523438589 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "fakesink" named "test"
> 0:00:00.523665482 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "filesrc" named "source"
> 0:00:00.524161390 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:399:gst_element_factory_create: creating element
> "decodebin"
> 0:00:00.524937914 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "typefind" named "typefind"
> 0:00:00.525154086 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create:
> creating element "fakesink" named "fakesink"
>
> 0:00:00.531191831 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:399:gst_element_factory_create: creating element
> "omx_mp3dec"
>
> change_state():Base_filter: From NULL to READY
> change_state():Base_filter:
> Component:OMX.st.audio_decoder.mp3.mad;Init_Status = 0
>
> 0:00:00.543703944 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element "queue"
> named "preroll_audio_src0"
> 0:00:00.544554432 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "autoaudiosink" named "audiosink"
> 0:00:00.544656518 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "fakesink" named "tempsink"
> 0:00:00.544826848 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element "bin"
> named "abin"
> 0:00:00.546004275 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "audioconvert" named "aconv"
> 0:00:00.584282656 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "audioresample" named "aresample"
> 0:00:00.585272833 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "volume" named "volume"
>
> 0:00:00.589155854 11239 0x804e050 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "omx_audiosink" named "audiosink-actual-sink-omx_audio"
>
> start():from--base_sink.c: Component = OMX.st.alsa.alsasink; Init_Status = 0
>
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Got EOS from element "playbin0".
> Execution ended after 299287998891 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> Result: Audio Playback success
>
> 2. Command: $ ./totem Sample.mp3
>
> Output:
> 0:00:01.483490339 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "playbin" named "play"
> 0:00:01.484687048 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "gconfaudiosink" named "audio-sink"
> 0:00:01.487350799 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "fakesink" named "testsink"
> 0:00:01.488452382 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "gconfvideosink" named "video-sink"
> 0:00:01.488556308 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "fakesink" named "testsink"
> 0:00:01.494112705 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:399:gst_element_factory_create: creating element
> "autovideosink"
> 0:00:01.494227031 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "fakesink" named "tempsink"
> 0:00:01.494412042 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:399:gst_element_factory_create: creating element "bin"
> 0:00:01.496644889 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "xvimagesink" named "autovideosink0-actual-sink-xvimage"
> 0:00:01.498889617 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "ximagesink" named "autovideosink0-actual-sink-ximage"
> 0:00:01.500223893 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:399:gst_element_factory_create: creating element
> "autoaudiosink"
> 0:00:01.500418424 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "fakesink" named "tempsink"
> 0:00:01.500653277 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:399:gst_element_factory_create: creating element "bin"
>
> 0:00:01.502631270 11235 0x809c4b0 INFO   GST_ELEMENT_FACTORY
> gstelementfactory.c:397:gst_element_factory_create: creating element
> "omx_audiosink" named "autoaudiosink0-actual-sink-omx_audio"
>
> start():from--base_sink.c: Component = OMX.st.alsa.alsasink; Init_Status = 0
>
> Result: Totem Player hangs here. No audio output from sound card.
>
> My observations:
>
>      In totem case before loading the decoder, pipeline trying to load the
> alsa sink component of ST. I am suspecting due to this only totem is
> hanging. am i correct ?
> You have any idea about how to load the decoder before sink.
>
> PS: If i give less priority for ST Sink component then i am able to play the
> audio from totem player with plusesink.

That's really strange. First, totem is still loading the video sinks,
and second, it's not creating the mp3dec.

Possibly omx_audiosink is hanging at some point. Can you turn on
gst-omx debugging?
export GST_DEBUG=omx:5

-- 
Felipe Contreras




More information about the Gstreamer-openmax mailing list