<br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 3:23 PM, William Metcalf <span dir="ltr"><<a href="mailto:wmetcalf@niftytv.com">wmetcalf@niftytv.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am trying to capture live audio from a capture card in a gstreamer application, encode it into AAC format, and then send the audio over a network using UDPSink and RTP. My method of accomplishing this task works almost perfectly, except that occasionally the audio will become very jumpy for a few seconds and then return to normal, and then after a few seconds it will get jumpy, etc. I am not getting any errors when I play the audio, so I am assuming that it must be some property I am not setting correctly, or maybe there is an element I am missing which can help solve the problem. My pipelines are as follows:<br>
<br>
Server Pipeline: appsrc max-bytes=8000 is-live=true typefind=true ! audioparse ! faac bitrate=320000 ! rtpmp4apay host=192.168.42.68 port=52222<br>
<br>
Client Pipeline: udpsrc port=52222 ! "application/x-rtp,media=(<u></u>string)audio,clock-rate=(int)<u></u>44100,encoding-name=(string)<u></u>MP4A-LATM,payload=(int)96" ! rtpmp4adepay ! "audio/mpeg,mpegversion=(int)<u></u>4,channels=(int)2,rate=(int)<u></u>44100" ! faad ! autoaudiosink<br>
<br>
I am very close to having this work, so any help that anyone can provide will be greatly appreciated!<br></blockquote><div><br>Try:<br><br>udpsrc port=52222 ! "application/x-rtp,media=(stri<div id=":150">ng)audio,clock-rate=(int)44100,encoding-name=(string)MP4A-LATM,payload=(int)96" ! gstrtpjitterbuffer ! rtpmp4adepay ! "audio/mpeg,mpegversion=(int)4,channels=(int)2,rate=(int)44100" ! faad ! autoaudiosink<br>
<br>and consider using the whole gstrtpbin when dealing with RTP streams.<br></div><br>Hope this helps.<br><br>Best regards,<br>Katcipis<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
William<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote></div><br>