[gst-devel] streaming a wav file into g711 alaw rtp stream

Terry Leung terry83 at gmail.com
Thu Aug 21 19:12:45 CEST 2008


Hi Wim,

This fix my problem
thank you very much

Terry

On Thu, Aug 21, 2008 at 4:37 PM, Wim Taymans <wim.taymans at gmail.com> wrote:
> On Thu, 2008-08-21 at 15:38 +0800, Terry Leung wrote:
>> Hi all,
>>
>> I try to stream a wav file which is encoded in  uncompressed 16bit pcm data
>>
>> I try the following pipeline and it doesnt work
>>
>> gst-launch -m filesrc location=test3.wav ! wavparse ! audioconvert !
>> alawenc !  rtppcmapay ! udpsink  host=172.20.122.23 port=19790
>>
>
> rtppcmapay only accepts 8KHz samplerates. Add audioresample after
> audioconvert to make it work.
>
> Wim
>
>> I can get the following working
>> gst-launch -m audiotestsrc !  alawenc ! rtppcmapay ! udpsink
>> host=172.20.122.23 port=19790
>>
>>
>> I am not very sure if it need decoder or not after wavparse
>> anyone know?
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list