<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="Wj3C7c">> 2. Command: $ ./totem Sample.mp3<br>
><br>
> Output:<br>
> 0:00:01.483490339 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "playbin" named "play"<br>
> 0:00:01.484687048 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "gconfaudiosink" named "audio-sink"<br>
> 0:00:01.487350799 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "fakesink" named "testsink"<br>
> 0:00:01.488452382 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "gconfvideosink" named "video-sink"<br>
> 0:00:01.488556308 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "fakesink" named "testsink"<br>
> 0:00:01.494112705 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:399:gst_element_factory_create: creating element<br>
> "autovideosink"<br>
> 0:00:01.494227031 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "fakesink" named "tempsink"<br>
> 0:00:01.494412042 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:399:gst_element_factory_create: creating element "bin"<br>
> 0:00:01.496644889 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "xvimagesink" named "autovideosink0-actual-sink-xvimage"<br>
> 0:00:01.498889617 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "ximagesink" named "autovideosink0-actual-sink-ximage"<br>
> 0:00:01.500223893 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:399:gst_element_factory_create: creating element<br>
> "autoaudiosink"<br>
> 0:00:01.500418424 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "fakesink" named "tempsink"<br>
> 0:00:01.500653277 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:399:gst_element_factory_create: creating element "bin"<br>
><br>
> 0:00:01.502631270 11235 0x809c4b0 INFO GST_ELEMENT_FACTORY<br>
> gstelementfactory.c:397:gst_element_factory_create: creating element<br>
> "omx_audiosink" named "autoaudiosink0-actual-sink-omx_audio"<br>
><br>
> start():from--base_sink.c: Component = OMX.st.alsa.alsasink; Init_Status = 0<br>
><br>
> Result: Totem Player hangs here. No audio output from sound card.<br>
><br>
> My observations:<br>
><br>
> In totem case before loading the decoder, pipeline trying to load the<br>
> alsa sink component of ST. I am suspecting due to this only totem is<br>
> hanging. am i correct ?<br>
> You have any idea about how to load the decoder before sink.<br>
><br>
> PS: If i give less priority for ST Sink component then i am able to play the<br>
> audio from totem player with plusesink.<br>
<br>
</div></div>That's really strange. First, totem is still loading the video sinks,<br>
and second, it's not creating the mp3dec.<br>
<br>
Possibly omx_audiosink is hanging at some point. Can you turn on<br>
gst-omx debugging?<br>
export GST_DEBUG=omx:5</blockquote><div><br>Hi Felipe<br><br>Here i pasting the log<br><br> Command:1. $ ./totem Sample.mp3 <br><br><b>** Here i am giving Highest priority(300) for both omx audio and Video Sink elements.</b><br>
<br>Output:<br></div></div><br>0:00:01.655426938 9348 0x809c4b0 LOG omx gstomx_base_sink.c:435:type_instance_init:<GstOmxBaseSink@0x847c758> begin<br>0:00:01.655553585 9348 0x809c4b0 LOG omx gstomx_base_sink.c:446:type_instance_init:<GstOmxBaseSink@0x847c758> end<br>
0:00:01.655595627 9348 0x809c4b0 DEBUG omx gstomx_videosink.c:379:type_instance_init:<GstOmxVideoSink@0x847c758> start<br>type_instance_init():from---videosink.c; omx_component = OMX.st.videosink<br>0:00:01.655734155 9348 0x809c4b0 LOG omx gstomx_base_sink.c:73:start:<autovideosink0-actual-sink-omx_video> begin<br>
OMX-Component not found with current ST static component loader.<br>start():from--base_sink.c: Component = OMX.st.videosink Initialize<br>0:00:01.724915738 9348 0x809c4b0 LOG omx gstomx_base_sink.c:435:type_instance_init:<GstOmxBaseSink@0x84a0108> begin<br>
0:00:01.725058426 9348 0x809c4b0 LOG omx gstomx_base_sink.c:446:type_instance_init:<GstOmxBaseSink@0x84a0108> end<br>0:00:01.725101668 9348 0x809c4b0 DEBUG omx gstomx_audiosink.c:178:type_instance_init:<GstOmxAudioSink@0x84a0108> start<br>
0:00:01.725194714 9348 0x809c4b0 LOG omx gstomx_base_sink.c:73:start:<autoaudiosink0-actual-sink-omx_audio> begin<br>start():from--base_sink.c: Component = OMX.st.alsa.alsasink Initialize<br>0:00:01.740250852 9348 0x809c4b0 LOG omx gstomx_base_sink.c:81:start:<autoaudiosink0-actual-sink-omx_audio> end<br>
0:00:01.740602952 9348 0x809c4b0 LOG omx gstomx_base_sink.c:127:stop:<autoaudiosink0-actual-sink-omx_audio> begin<br><br>Application Hangs here.......!<br><br>
Command:2. $ ./totem Sample.mp3 <br>
<br>
<i><b>** Here i am giving Highest priority(300) for omx audio sink and Less(GST_RANK_NONE) priority for omx Video Sink element.</b></i><br><br>Output:<br><br>0:00:01.639422986 11803 0x809c4b0 LOG omx gstomx_base_sink.c:435:type_instance_init:<GstOmxBaseSink@0x84980f8> begin<br>
0:00:01.639474949 11803 0x809c4b0 LOG omx gstomx_base_sink.c:446:type_instance_init:<GstOmxBaseSink@0x84980f8> end<br>0:00:01.639488430 11803 0x809c4b0 DEBUG omx gstomx_audiosink.c:178:type_instance_init:<GstOmxAudioSink@0x84980f8> start<br>
0:00:01.639548113 11803 0x809c4b0 LOG omx gstomx_base_sink.c:73:start:<autoaudiosink0-actual-sink-omx_audio> begin<br>start():from--base_sink.c: Component = OMX.st.alsa.alsasink Initialize<br>0:00:01.681291932 11803 0x809c4b0 LOG omx gstomx_base_sink.c:81:start:<autoaudiosink0-actual-sink-omx_audio> end<br>
0:00:01.681611630 11803 0x809c4b0 LOG omx gstomx_base_sink.c:127:stop:<autoaudiosink0-actual-sink-omx_audio> begin<br><br>Application Hangs here.......!<br><br clear="all"><br>-- <br>Thanks & Regards<br>Sriramamurti Kommanapalli<br>
<br>