[gst-devel] Choppy Audio over UDP

Wes Miller wmiller at sdr.com
Tue Oct 19 21:46:13 CEST 2010


Hi All,

Two additional bit of information:

1. "TURN THAT $@!# THING DOWN"  I added volume elements in both sener and
receiver pipes.  Made a big difference.  Guess I was overdriving everything.

2.  For the aac pipes above, I had to slow down the clock-rate on the
receiver to about 20400 to get something that sounded even remotely like it
was matched to the clock-rate=44100 sender.

So, it's still awfully jittery.  On a whim, I tried going back to just using
udpsrc/udpsink without rtpbin.  Still poor quality.  Then I took out the
dmaienc_aac and replaced it with several different encoders (aka, whatever
TI and RidgeRun managed to stick in the GST packages).  Finally landed on
alawenc/dec.  Suitably altered the clock-rate and nixed gstrtpbin and
behold, pretty good sound.  A mite echoy but WAY better.

So, these are the best pipes I have right now:

SENDER:

gst-launch-0.10 -e -v  \
           alsasrc do-timestamp=true \
         ! queue2 \
         ! alawenc  \
         ! udpsink port=5002 host=$1


RECEIVER:

gst-launch-0.10  -v \
         udpsrc caps="audio/x-alaw, channels=2, rate=29000" \
                port=5002 \
            ! queue2      \
            ! alawdec   \
            ! volume volume=0.1 \
            ! queue2      \
            ! pulsesink


Thanks for all the help, M4arco.

Wes  

-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Choppy-Audio-over-UDP-tp2997741p3002698.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list