<DIV>HI,</DIV>
<DIV >&nbsp; As I know, G.711 is supported by gstreamer, it is mulaw and alaw. But I didn't success so far,when I try to play an g711 file by using gst-launch command, such as</DIV>
<DIV>&nbsp;&nbsp; &nbsp;gst-launch filesrc location=pig.g711 ! alawdec ! audioconvert ! audioresample ! osssink<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Setting pipeline to PAUSED ...<BR>&nbsp;&nbsp;&nbsp; Pipeline is PREROLLING ...<BR>&nbsp;&nbsp;&nbsp; ERROR: from element /pipeline0/audioconvert0: not negotiated<BR>&nbsp;&nbsp;&nbsp; Additional debug info:<BR>&nbsp;&nbsp;&nbsp; gstbasetransform.c(1479): gst_base_transform_handle_buffer (): /pipeline0/audioconvert0:<BR>&nbsp;&nbsp;&nbsp; not negotiated<BR>&nbsp;&nbsp;&nbsp; ERROR: pipeline doesn't want to preroll.<BR>&nbsp;&nbsp;&nbsp; Setting pipeline to NULL ...<BR>&nbsp;&nbsp;&nbsp;&nbsp;FREEING pipeline ...<BR>&nbsp;<BR>&nbsp; THe audio file is ok,I playback on GoalWav finely.</DIV>
<DIV>&nbsp; Thanks a lot for pointing me in the right direction. </DIV><br><!-- footer --><br><hr>
<a style="font-size:12px;line-height:15px; color:#000; text-decoration:none" href="http://www.126.com/">想免费获得高速稳定的3G邮箱吗? <span style="font-family:Tahoma; text-decoration:underline; color:blue">www.126.com</span> </a>