<div dir="ltr">I'd suggest getting a debug graph of this. It should help you see what caps are being used where.<div><br></div><div>See here for instructions:</div><div><a href="http://gstreamer.freedesktop.org/wiki/DumpingPipelineGraphs">http://gstreamer.freedesktop.org/wiki/DumpingPipelineGraphs</a><br>
</div><div><br></div><div style>Also, see these instructions on debugging to get more verbose messages that may help pinpoint your problem:</div><div style><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-checklist-debug.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-checklist-debug.html</a></div>
<div style><br></div><div style>I've just been doing some work with ALSA and GStreamer, and I ended up writing a custom ALSA config file to split up my sound cards 8 ins and outs into different devices, so I could access them with separate alsasrc/sink elements. I found it alot easier than dealing with interleaving and channel positions. I don't know what you're trying to do exactly, but that's always an option if you need it.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 February 2013 00:22, Gary Thomas <span dir="ltr"><<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm experimenting with audio streaming, based on this example:<br>
<a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-alsasrc-PCMA.sh" target="_blank">http://cgit.freedesktop.org/<u></u>gstreamer/gst-plugins-good/<u></u>tree/tests/examples/rtp/<u></u>server-alsasrc-PCMA.sh</a><br>
<br>
When paired with the appropriate client, I can run it fine when the<br>
audio source is 'audiotestsrc'. If I change it to be 'alsasrc', I<br>
get incompatible caps and it fails. This seems to be because the<br>
rtppcmapay element only wants one channel.<br>
<br>
I've not been able to figure out how to select only one channel<br>
of my ALSA source, either by mixing or just choosing one or the<br>
other. Here's what I tried that now doesn't complain about the<br>
caps being wrong (but I'm sure the issue remains), rather it gives<br>
me an "internal data flow error"<br>
<br>
gst-launch -vvv gstrtpbin name=rtpbin alsasrc device=hw:0,1 \<br>
! deinterleave name=d d.src0 ! queue ! audioconvert \<br>
! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_0 \<br>
rtpbin.send_rtp_src_0 ! udpsink port=5002 host=192.168.1.114 \<br>
rtpbin.send_rtcp_src_0 ! udpsink port=5003 host=192.168.1.114 sync=false async=false \<br>
udpsrc port=5007 ! rtpbin.recv_rtcp_sink_0<br>
<br>
Any suggestions on how I make this happy?<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
------------------------------<u></u>------------------------------<br>
Gary Thomas | Consulting for the<br>
MLB Associates | Embedded world<br>
------------------------------<u></u>------------------------------<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>
</font></span></blockquote></div><br></div>