Opus via RTP

MikeSI mike at mike.si
Sun Sep 11 12:16:11 UTC 2016


I know that :)

but even if i ad rtpopusdepay i always get the same result.

gst-launch-1.0 -vvvvv udpsrc port=1236
caps="application/x-rtp,media=(string)audio,clock-rate=48000,encoding-params=2,encoding-name=(string)OPUS,payload=111"
 ! rtpopusdepay
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps =
"application/x-rtp\,\ media\=\(string\)audio\,\ clock-rate\=\(int\)48000\,\
encoding-params\=\(int\)2\,\ encoding-name\=\(string\)OPUS\,\
payload\=\(int\)111"
/GstPipeline:pipeline0/GstRTPOpusDepay:rtpopusdepay0.GstPad:src: caps =
"audio/x-opus\,\ channel-mapping-family\=\(int\)0"
/GstPipeline:pipeline0/GstRTPOpusDepay:rtpopusdepay0.GstPad:sink: caps =
"application/x-rtp\,\ media\=\(string\)audio\,\ clock-rate\=\(int\)48000\,\
encoding-params\=\(int\)2\,\ encoding-name\=\(string\)OPUS\,\
payload\=\(int\)111"
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-linked (-1)
Execution ended after 0:00:00.016976512
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
[root at videodev : ~> gst-launch-1.0 -vvvvv udpsrc port=1236
caps="application/x-rtp,media=(string)audio,clock-rate=48000,encoding-params=2,encoding-name=(string)OPUS,payload=111"
 ! rtpopusdepay

On Sun, Sep 11, 2016 at 2:12 PM, Sebastian Dröge-3 [via GStreamer-devel] <
ml-node+s966125n4679524h74 at n4.nabble.com> wrote:

> On So, 2016-09-11 at 04:17 -0700, MikeSI wrote:
> > I cannot reeive opus via RTP. Even If i set payload it's always the
> > same.
> >
> > gst-launch-1.0 -vvvvv udpsrc port=1236
> > caps="application/x-rtp,media=(string)audio,clock-
> > rate=48000,encoding-params=2,encoding-name=(string)OPUS"
>
> This is not a complete pipeline, you're missing at least the RTP
> depayloader, possibly a decoder and converters, and a sink. E.g.
>
> gst-launch-1.0 -vvvvv udpsrc port=1236 caps="application/x-
> rtp,media=(string)audio,clock-rate=48000,encoding-params=2,encoding-
> name=(string)OPUS" ! rtpopusdepay ! opusdec ! fakesink
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4679524&i=0>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> *signature.asc* (968 bytes) Download Attachment
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4679524/0/signature.asc>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://gstreamer-devel.966125.n4.nabble.com/Opus-via-RTP-
> tp4679523p4679524.html
> To unsubscribe from Opus via RTP, click here
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4679523&code=bWlrZUBtaWtlLnNpfDQ2Nzk1MjN8MTEyNjc2NTQ5Ng==>
> .
> NAML
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Opus-via-RTP-tp4679523p4679526.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160911/417251c5/attachment.html>


More information about the gstreamer-devel mailing list