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

Wim Taymans wim.taymans at gmail.com
Thu Aug 21 10:37:06 CEST 2008


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





More information about the gstreamer-devel mailing list