<div> Hi,<br><br>Now I'am considering use that mad plugin, but i do not think it's the problem of the decoder. <br><br>As I mentioned before, I can convert mp3 files to wav files use this decoder (using the board)and can hear the converted wav in my pc(for my board does not play any media files).At the same time i can not hear the wav file in my arm board either using the wavparse decoder. <br><br>Anyway, i'll try the mad later, any more suggestion ?<br><br>Many thanks <br>Joyious</div><div> </div><div ></div><br>在2007-09-20,pritesh <digitaldsp@excite.com> 写道:<br> <blockquote id="isReplyContent" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><table bgcolor="white" border="0" cellpadding="3" cellspacing="0" width="100%"><tbody><tr valign="top"><td width="100%"><font color="black" size="2"><br>hi,<br>can u try playing your mp3 file with mad plugin , i think there is some problem with flump3dec plugin on arm11 . it never worked on my arm board also<br><br>mad works fine on arm11.(freescale)<br><br>u can also try ffdec_mp3 plugin from gst-ffmpeg on arm11<br><br><br>--- On Wed 09/19, Joyious He < <a href="mailto:joyious@163.com">joyious@163.com</a> > wrote:<br><br><blockquote style="border-left: 2px solid orange; padding-left: 7px; margin-left: 7px;"><b>From: </b>Joyious He [mailto: <a href="mailto:joyious@163.com">joyious@163.com</a>]<br><b>To: </b><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><b>Date: </b>Thu, 20 Sep 2007 09:50:08 +0800 (CST)<br><b>Subject: </b>Re: [gst-devel] Problems when using osssink in ARM<br><br>
Hi Jianjun,<br><br>Here is the correct output,the previous one is copied from terminal, and there is someything shows wrong:<br><br>/pipeline0/flump3dec0.src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>/pipeline0/audioconvert0.src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>/pipeline0/audioconvert0.sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>/pipeline0/audioresample0.src: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)48000<br>/pipeline0/audioresample0.sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>/pipeline0/osssink0.sink: caps =
audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)48000<br>New clock: GstAudioSinkClock<br><br> <br> so here the audio resample src seems to be accord to my osssink, but still the same, no sound came out.what should i do next ?<br><br> <br><br><br>??2007-09-19??"jianjun.yang.cn" <jianjun.yang.cn ?="" br="">
</jianjun.yang.cn><blockquote id="isReplyContent" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<font color="#000080" face="Verdana" size="2">
<font color="#000080" face="Verdana" size="2"><font color="#000000">Hi Joyious,</font></font><br> <br>I think the problem lies in that audioresample fails to convert from 44100 hz to 48000 hz. Your oss driver does not support 44100, but the rate of 1.mp3 is 44100. So the audioresample should resample.<br>But according to your output, rate of audioresample's source pad is different with the one of osssink's sink pad. The former is 0, while the latter is 48000. <br>I test the pipleline on my PC using osssink. It can work well.<br> <br>my command line:<br>gst-launch-0.10 -v filesrc location= /home/jianjun/206851.mp3 ! mad ! audioconvert ! audioresample ! osssink<br> <br>And its output:<br><br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>/pipeline0/mad0.src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2<br>/pipeline0/audioconvert0.src: caps = audio/x-raw-int, width=(int)16,
depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)44100<br>/pipeline0/audioconvert0.sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2<br>/pipeline0/audioresample0.src: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)44100<br>/pipeline0/audioresample0.sink: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)44100<br>/pipeline0/osssink0.sink: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)44100<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstAudioSinkClock<br> <br><font color="#000080" face="Verdana" size="2"></font> <br><font color="#000080">Regards,</font><br><font color="#000080" face="Verdana" size="2">Jianjun</font><br></font><br><font color="#000080" face="Verdana" size="2"></font> <br><font color="#000080" face="Verdana" size="2"></font> <br><font color="#c0c0c0" face="Verdana" size="2">2007-09-19 </font><br><font color="#000080" face="Verdana" size="2">
<hr style="width: 122px; height: 2px;" align="left" size="2">
</font>
<font color="#c0c0c0" face="Verdana" size="2"><span>jianjun.yang.cn</span> </font><br><font color="#000080" face="Verdana" size="2">
<hr>
</font>
<font face="Verdana" size="2"><strong>·???????</strong> ?????? </font><br><font face="Verdana" size="2"><strong>·????±????</strong> 2007-09-19 15:52:35 </font><br><font face="Verdana" size="2"><strong>????????</strong> gstreamer-devel </font><br><font face="Verdana" size="2"><strong>??????</strong> </font><br><font face="Verdana" size="2"><strong>?÷????</strong> [gst-devel] Problems when using osssink in ARM </font><br><font face="Verdana" size="2"></font><br><font face="Verdana" size="2">
Hi all,<br><br>Now I have ported the gstreamer to ARM 11, and there is a OSS driver for this ARM board. So I am trying to make this sound workI have installed the plugin for ossaudio.But when i trying to play some media file, no sound came out, and the screen just show the PLAYING message ..<br><br>some addtional messages:<br>the osssink does play the audiotestsrc,and sounds a single tone;<br>the audioconvert works fine when "gst-launch -v filesrc location="/usr/local/bin/1.mp3" ! flump3dec ! audioconvert ! wavenc ! filesink location="/usr/local/bin/1.wav" ",I can hear the wav file on my PC,so the decodec is fine;<br>even no sound comes out when playing, but there are some noises when pipeline is just prerolling just before PLAYING.<br><br><br>Here are the command and output:<br>***********************************************************************************************************<br>mx31# gst-launch -v filesrc location="/usr/local/bin/1.mp3" ! flump3dec ! audioconvert !
audioresample ! osssink<br>Setting pipeline to PAUSED ...<br><br>MXC Enable Codec(write)<br>Feb 6 12:04:07 freescale user.warn kernel: <br>Feb 6 12:04:07 freescale user.warn kernel: MXC Enable Codec(write)<br>Pipeline is PREROLLING ...<br>/pipeline0/flump3dec0.src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>/pipeline0/audioconvert0.src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(i2<br>/pipeline0/audioconvert0.sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(2<br>/pipeline0/audioresample0.src: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)0<br>/pipeline0/audioresample0.sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true,
width=(int)16, depth=(int)16, rate=(int)44100, channels=2<br>/pipeline0/osssink0.sink: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)48000<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstAudioSinkClock<br>mxc_audio_output_block: count = 1024 <br>Feb 6 12:04:37 freescale user.warn kernel: mxc_audio_output_block: count = 1024 <br><br>*************************************************************************************************************<br><br>So I'm studying the code of osssink although I am a totally newcomer to this gstreamer and Linux things.<br><br>Many Thanks,<br><br>Joyious<br><br> <br> <br> <br><br><!-- footer --><br>
<hr>
<font style="font-size: 12px; line-height: 15px;">?±70?ò?????í??????</font><a style="font-size: 12px; color: blue; line-height: 15px; text-decoration: underline;" href="http://pro.163.com/event.ng/Type=click&FlightID=96648&AdID=98138&TargetID=635&Values=31,43,51,60,72,82,91,100,110,312,330,332,499,587,702,733,734&Redirect=http://adcn.doubleclick.net/clk;134682177;20226578;k%3Fhttp://www.rising.com.cn/2008/trial/index.htm">????2008°???·?</a> </font><br></blockquote><br><!-- footer --><br>
<hr>
<font style="font-size: 12px; line-height: 15px;">?±70?ò?????í??????</font><a style="font-size: 12px; color: blue; line-height: 15px; text-decoration: underline;" href="http://pro.163.com/event.ng/Type=click&FlightID=96648&AdID=98138&TargetID=635&Values=31,43,51,60,72,82,91,100,110,312,330,332,499,587,702,733,734&Redirect=http://ad.cn.doubleclick.net/clk;134682177;20226578;k%3Fhttp://www.rising.com.cn/2008/trial/index.htm">????2008°???·?</a>
<p>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2005.<br>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br></p></blockquote></font></td></tr></tbody></table><p></p><hr><font face="geneva" size="2"><b>Join Excite! - <a href="http://www.excite.com" target="_blank">http://www.excite.com</a></b><br>The most personalized portal on the Web!</font>
</blockquote><br><!-- footer --><br>
<hr>
<font style="font-size:12px;line-height:15px;">杀70万种木马病毒,</font><a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://pro.163.com/event.ng/Type=click&FlightID=96648&AdID=98138&TargetID=635&Values=31,43,51,60,72,82,91,100,110,312,330,332,499,587,702,733,734&Redirect=http://ad.cn.doubleclick.net/clk;134682177;20226578;k%3Fhttp://www.rising.com.cn/2008/trial/index.htm">瑞星2008版免费</a>