G.711 decrease to 8kHz

Sérgio Agostinho sergio.r.agostinho at gmail.com
Thu Dec 18 05:52:20 PST 2014


It seems like you're still using 0.10 and some TI specific plugins.  So I
initially removed your dmaiperf element and got this

gst-launch alsasrc ! audioconvert ! audioresample !
audio/x-raw-int,channels=1,depth=8,width=8,rate=8000 ! alawenc ! rtppcmapay
! udpsink host=192.168.1.16 port=3001
WARNING: erroneous pipeline: could not link audioresample0 to alawenc0

Added another audioconvert after the capsfilter and the pipeline started
playing
gst-launch alsasrc ! audioconvert ! audioresample !
audio/x-raw-int,channels=1,depth=8,width=8,rate=8000 ! audioconvert !
alawenc ! rtppcmapay ! udpsink host=192.168.1.16 port=3001

Reason: alawenc does not support depth=8 and width=8
Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      audio/x-raw-int
                   rate: [ 8000, 192000 ]
               channels: [ 1, 2 ]
             endianness: 1234
                  *width: 16*
*                  depth: 16*
                 signed: true

cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141218/b198be19/attachment.html>


More information about the gstreamer-devel mailing list