<div dir="ltr">It means you are streaming sterao audio as an opus encoded and RTP encapsulated stream.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 19, 2017 at 10:54 PM, TouchOfDestiny <span dir="ltr"><<a href="mailto:davide.caldelari@gmail.com" target="_blank">davide.caldelari@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
thank you very much for your replies.<br>
This is what I have with the "-v" option. i slightly modify the command line<br>
parameters, since I don't need any video, only OPUS audio:<br>
<br>
/gst-launch-1.0 -v alsasrc ! audio/x-raw,channels=2,rate=<wbr>48000 !<br>
audioconvert dithering=0 ! opusenc bitrate=256000 ! rtpopuspay ! udpsink<br>
host=127.0.0.1 port=8002 &/<br>
<br>
And this is the result (I'm sorry, but I don't understand very well what<br>
this all means):<br>
<br>
/Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstAudioSrcClock<br>
/GstPipeline:pipeline0/<wbr>GstAlsaSrc:alsasrc0: actual-buffer-time = 200000<br>
/GstPipeline:pipeline0/<wbr>GstAlsaSrc:alsasrc0: actual-latency-time = 10000<br>
/GstPipeline:pipeline0/<wbr>GstAlsaSrc:alsasrc0.GstPad:<wbr>src: caps =<br>
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\<wbr>,\<br>
rate\=\(int\)48000\,\ channels\=\(int\)2\,\<br>
channel-mask\=\(bitmask\)<wbr>0x0000000000000003"<br>
/GstPipeline:pipeline0/<wbr>GstCapsFilter:capsfilter0.<wbr>GstPad:src: caps =<br>
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\<wbr>,\<br>
rate\=\(int\)48000\,\ channels\=\(int\)2\,\<br>
channel-mask\=\(bitmask\)<wbr>0x0000000000000003"<br>
/GstPipeline:pipeline0/<wbr>GstAudioConvert:audioconvert0.<wbr>GstPad:src: caps =<br>
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\<wbr>,\<br>
rate\=\(int\)48000\,\ channels\=\(int\)2\,\<br>
channel-mask\=\(bitmask\)<wbr>0x0000000000000003"<br>
/GstPipeline:pipeline0/<wbr>GstOpusEnc:opusenc0.GstPad:<wbr>sink: caps =<br>
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\<wbr>,\<br>
rate\=\(int\)48000\,\ channels\=\(int\)2\,\<br>
channel-mask\=\(bitmask\)<wbr>0x0000000000000003"<br>
/GstPipeline:pipeline0/<wbr>GstAudioConvert:audioconvert0.<wbr>GstPad:sink: caps =<br>
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\<wbr>,\<br>
rate\=\(int\)48000\,\ channels\=\(int\)2\,\<br>
channel-mask\=\(bitmask\)<wbr>0x0000000000000003"<br>
/GstPipeline:pipeline0/<wbr>GstCapsFilter:capsfilter0.<wbr>GstPad:sink: caps =<br>
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\<wbr>,\<br>
rate\=\(int\)48000\,\ channels\=\(int\)2\,\<br>
channel-mask\=\(bitmask\)<wbr>0x0000000000000003"<br>
Redistribute latency...<br>
/GstPipeline:pipeline0/<wbr>GstOpusEnc:opusenc0.GstPad:<wbr>src: caps =<br>
"audio/x-opus\,\ multistream\=\(boolean\)false\<wbr>,\<br>
streamheader\=\(buffer\)\<\ 4f707573486561640102000080bb00<wbr>00000000\,\<br>
4f707573546167731e000000456e63<wbr>6f6465642077697468204753747265<wbr>616d6572204f707573656e63000000<wbr>0001\<br>
\>"<br>
/GstPipeline:pipeline0/<wbr>GstRtpOPUSPay:rtpopuspay0.<wbr>GstPad:src: caps =<br>
"application/x-rtp\,\ media\=\(string\)audio\,\ clock-rate\=\(int\)48000\,\<br>
encoding-name\=\(string\)X-<wbr>GST-OPUS-DRAFT-SPITTKA-00\,\<br>
payload\=\(int\)96\,\ ssrc\=\(uint\)2976569488\,\<br>
timestamp-offset\=\(uint\)<wbr>3934898579\,\ seqnum-offset\=\(uint\)2879"<br>
/GstPipeline:pipeline0/<wbr>GstUDPSink:udpsink0.GstPad:<wbr>sink: caps =<br>
"application/x-rtp\,\ media\=\(string\)audio\,\ clock-rate\=\(int\)48000\,\<br>
encoding-name\=\(string\)X-<wbr>GST-OPUS-DRAFT-SPITTKA-00\,\<br>
payload\=\(int\)96\,\ ssrc\=\(uint\)2976569488\,\<br>
timestamp-offset\=\(uint\)<wbr>3934898579\,\ seqnum-offset\=\(uint\)2879"<br>
/GstPipeline:pipeline0/<wbr>GstRtpOPUSPay:rtpopuspay0.<wbr>GstPad:sink: caps =<br>
"audio/x-opus\,\ multistream\=\(boolean\)false\<wbr>,\<br>
streamheader\=\(buffer\)\<\ 4f707573486561640102000080bb00<wbr>00000000\,\<br>
4f707573546167731e000000456e63<wbr>6f6465642077697468204753747265<wbr>616d6572204f707573656e63000000<wbr>0001\<br>
\>"<br>
/GstPipeline:pipeline0/<wbr>GstRtpOPUSPay:rtpopuspay0: timestamp = 3934898579<br>
/GstPipeline:pipeline0/<wbr>GstRtpOPUSPay:rtpopuspay0: seqnum = 2879<br>
/<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Streaming-in-stereo-in-OPUS-tp4683854p4683868.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/Streaming-in-<wbr>stereo-in-OPUS-<wbr>tp4683854p4683868.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div></blockquote></div><br></div>