<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1607" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=954304702-08042008>Vijay,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=954304702-08042008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=954304702-08042008>I think maybe you miss a mp3demuxe between filesrc and 
adecoder.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=954304702-08042008>and the command shall be </SPAN></FONT></DIV>
<DIV>gst-launch-0.10 filesrc location=$1 !<SPAN class=954304702-08042008> <FONT 
color=#ff0000>mp3demux</FONT> !</SPAN>&nbsp;adecoder Codec=3 ! osssink<BR><SPAN 
class=954304702-08042008><FONT face="Courier New" color=#0000ff>TI adecoder 
element may not accept the filesrc RAW caps.</FONT></SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal align=left><B><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">Best 
Regards<BR>Zhao <SPAN class=SpellE>Liang</SPAN> </SPAN></B><BR></P></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
gstreamer-embedded-bounces@lists.sourceforge.net 
[mailto:gstreamer-embedded-bounces@lists.sourceforge.net] <B>On Behalf Of 
</B>Vijay<BR><B>Sent:</B> Monday, April 07, 2008 8:32 PM<BR><B>To:</B> 
gstreamer-embedded@lists.sourceforge.net<BR><B>Subject:</B> [gst-embedded] 
GStreamer on TI's embedded platform<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi,<BR>I received TI's port of gstreamer to it's DaVinci processors from <A 
href="http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100">http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100</A><BR>&nbsp;<BR>I've 
tried to run the example (scripts) provided by TI and I've faced what seem to be 
two separate issues.<BR>I've copied the stdout log below:<BR>&nbsp;<BR>&lt;linux 
prompt&gt;:/opt/system_files_gstreamer# ./test_MP3.sh MP3_file.mp3<BR>Setting 
pipeline to PAUSED ...<BR>Pipeline is PREROLLING ...<BR>(gst-launch-0.10:1204): 
GStreamer-WARNING **: pad adecoder0:src returned caps which are not a real 
subset of its template caps<BR>(gst-launch-0.10:1204): GStreamer-CRITICAL **: 
gst_caps_get_structure: assertion `index &lt; caps-&gt;structs-&gt;len' 
failed<BR>(gst-launch-0.10:1204): GStreamer-CRITICAL **: gst_structure_get_int: 
assertion `structure != NULL' failed<BR><BR>[program hangs here]</DIV>
<DIV>&nbsp;</DIV>
<DIV>For most of you, who&nbsp;don't know about this script: All it does is 
after setting the gstreamer, plugin and library paths, it runs gst-launch with a 
pipeline, thus: gst-launch-0.10 filesrc location=$1 ! adecoder Codec=3 ! 
osssink<BR><BR>The two issues I'm facing:</DIV>
<DIV>(a) The *last* element in the gstreamer pipeline does not reply with a 
message to the app saying it has paused (This is ascertained with debug prints 
that I inserted in gst-launch.c. It's possible that for some reason, the element 
does not pause. I've faced this same issue with pipelines which have no 
decode/render elements as well.) Actually, I'm not sure if (a) it doesn't pause 
because it doesn't finish preroll or (b) it says it hasn't finished preroll 
because it doesn't send a pause signal! (I'm not sure which is the cause and 
which is the effect).</DIV>
<DIV><BR>(b) The critical errors printed (seen above. I guess these are caused 
because of TI's mp3 decoder element plugin.) Could the adecoder capabilities be 
incompatible? Seems unlikely, since TI would have tested this 
first.<BR><BR><BR>Would anyone know what the issue might be? Has anyone seen a 
similar issue with gstreamer?<BR>I'd greatly appreciate any help.</DIV>
<DIV>Thanks.<BR><BR><BR>Vijay</DIV></BODY></HTML>