<div dir="ltr">Ok, so this sends audio: (wireshark goes nuts on windows laptop, port 5002 and raspberry pi runs gstreamer with no errors)<div>gst-launch-1.0 -v pulsesrc device="alsa_input.usb-046d_webcam.........stereo" ! opusenc ! rtpopuspay pt=96 ! udp sink host=<a href="http://xxxxxx.net">xxxxxx.net</a> port 5002.</div><div><br></div><div>This gives me "WARNING Erroneous pipleline: could not link udpsink0 to pulsesrc0" :</div><div>gst-launch-1.0 -v vl2src device=/dev/video0 ! video/x-264, width=1280,height=720, framerate=15/1 ! h264parse ! rtph264pay pt=127 config-interval=4 ! udpsink host=xxxxxx,net port=5000! pulsesrc device="alsa_input.usb-046d_webcam.........stereo" ! opusenc ! rtpopuspay pt=96 ! udp sink host=<a href="http://xxxxxx.net">xxxxxx.net</a> port 5002.</div><div><br></div><div>But this works: (for video)</div><div>gst-launch-1.0 -v vl2src device=/dev/video0 ! video/x-264, width=1280,height=720, framerate=15/1 ! h264parse ! rtph264pay pt=127 config-interval=4 ! udpsink host=xxxxxx,net port=5000</div><div><br></div><div>This doesn't work for receiving audio (even though wireshark says im getting something on 5002:</div><div>gst-launch-1.0 udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)X-GST-OPUS-DRAFT-SPITTKA-00, payload=(int)96,ssrc=(uint)559994649" port=5002 ! rtpbin ! rtpopusdepay ! opusdec !audioconvert ! audioresample ! autoaudiosink<br></div><div><br></div><div>Tried autoaudiosink and directsoundsink, run with no errors, but just sits there. Thanks for any help!</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 2:29 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fr, 2016-07-08 at 10:53 -0400, Andrew Borntrager wrote:<br>
> Hello again. <br>
> I *think* I'm sending audio along with video. The pipeline is running<br>
> (I changed to ports 5000 and 5002) with no errors.  Now I'm trying<br>
> this on my windows laptop.(doesn't work):<br>
><br>
> gst-launch-1.0  udpsrc caps="application/x-rtp, media=(string)video,<br>
> clock-rate=(int) 90000, encoding-name=(string)H264,<br>
> sampling=(string)YCbCr-4:4:4, depth=(string)8, width=(string)320,<br>
> height=(string)240, payload=(int)96, clock-base=(uint)4068866987,<br>
> seqnum-base=(uint)24582" port=5000 ! rtph264depay ! decodebin !queue!<br>
> autovideosink ! udpsrc caps=$AUDIO_CAPS port=5002 !<br>
> gstrtpjitterbuffer! rtpopusdepay ! opusdec plc=true ! alsasink<br>
<br>
</span>There is no alsasink on Windows, try using directsoundsink or just<br>
autoaudiosink if you want to use the same code on all platforms. Also<br>
you should insert videoconvert ! videoscale before autovideosink, and<br>
audioconvert ! audioresample before the audio sink.<br>
<br>
If that doesn't help, how does it not work? You might also want to set<br>
a bigger value on the buffer-size property on the udpsrcs, especially<br>
for raw video.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a></font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>