<div dir="ltr"><div><div><div><br></div><div>Some pipelines to support Tim ;-)<br></div><div><br>Generate file:<br>gst-launch-1.0 audiotestsrc ! opusenc ! matroskamux ! filesink location=test.mkv<br><br>Stream file:<br>gst-launch-1.0 filesrc location=test.mkv ! matroskademux ! rtpopuspay ! rtpsink uri=rtp://<a href="http://239.1.2.3:2222">239.1.2.3:2222</a><br><br>Streaming (live):<br>gst-launch-1.0 audiotestsrc ! opusenc ! rtpopuspay ! rtpsink uri=rtp://<a href="http://239.1.2.3:2222">239.1.2.3:2222</a><br><br></div>Decoding:<br>gst-launch-1.0 rtpsrc uri=rtp://<a href="http://239.1.2.3:2222?encoding-name=OPUS">239.1.2.3:2222?encoding-name=OPUS</a> ! rtpopusdepay ! opusdec ! autoaudiosink<br><br></div>The rtp bins are <br><a href="https://github.com/mleeman/gst-plugins-rtp">https://github.com/mleeman/gst-plugins-rtp</a><br><br></div><div>They hook up the RTP/RTCP pads so that (especially) audio can be decoded with fewer hickups.<br></div><div><br></div>They are also in bugzilla since years, but I created a stand alone project for easier maintenance and to keep them up-to-date. They should compile easily against 1.14 (probably against earlier version too, I did not test them).<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 23 Apr 2018 at 21:12 Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2018-04-23 at 19:56 +0100, Tim Müller wrote:<br>
<br>
> but opusparse doesn't seem to do the right thing for me here in my<br>
> quick testing.<br>
> <br>
> I would recommend putting the opus audio into a proper container such<br>
> as Matroska, Ogg or MPEG-TS and then you should be able to use<br>
<br>
Just to clarify: unlike MP3 Opus isn't self-framed and relies on<br>
external framing so you always need some kind of wrapper/container, you<br>
can't just dump the raw opus data into a file or stream and expect to<br>
play that back.<br>
<br>
Cheers<br>
-Tim<br>
<br>
-- <br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
</blockquote></div>