OPUS SDP File

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

OPUS SDP File

de_ninja
This post was updated on .
Hey,

I'm using opusenc and rtpopuspay in my pipeline and i want to play it with vlc.

This is my SDP File:

v=0
m=audio 5000 RTP/AVP 96
c=IN IP4 192.168.2.255
a=rtpmap:96 OPUS/48000

it worked with my PCMU pipeline (well i used a 0 instead of 96 and PCMU/8000 instead of OPUS/48000)
when i open the stream, vlc tells me:
VLC couldn't identify the Audio- or Videocodec.
Should something else be in the SDP file?
Because i know that VLC supports the Opus codec.

Kind regards
Reply | Threaded
Open this post in threaded view
|

Re: OPUS SDP File

Nicolas Dufresne-4
Le lundi 02 mai 2016 à 04:27 -0700, de_ninja a écrit :

> Hey,
>
> I'm using opusenc and rtpopuspay in my pipeline and i want to play it
> with
> vlc.
> This is my SDP File:
> v=0
> m=audio 5000 RTP/AVP 96
> c=IN IP4 192.168.2.255
> a=rtpmap:96 OPUS/48000
> it worked with my PCMU pipeline (well i used a 0 instead of 96 and
> PCMU/8000
> instead of OPUS/48000)
> when i open the stream, vlc tells me:
> VLC couldn't identify the Audio- or Videocodec.
> Should something else be in the SDP file?
> Because i know that VLC supports the Opus codec.
> Kind regards

At least with chrome, it only accept "a=rtpmap:96 OPUS/48000/2"
(stereo). Maybe this is what blocks it from working with vlc ?

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: OPUS SDP File

de_ninja
Still doesn't work..
what else could be the problem?
Reply | Threaded
Open this post in threaded view
|

Re: OPUS SDP File

Sebastian Dröge-3
On Mo, 2016-05-02 at 07:04 -0700, de_ninja wrote:
> Still doesn't work..
> what else could be the problem?

Check with GStreamer's sdpdemux if you can play back the stream. If
not, check the GStreamer debug logs why not (and fix the SDP
accordingly). If you can, you are probably running into a VLC bug and
should report that to them. Maybe they don't support Opus over RTP yet.

Also see gst-rtsp-server/gst/rtsp-server/rtsp-sdp.c for some code that
allows you to create valid SDP files from GStreamer caps.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OPUS SDP File

Nicolas Dufresne-4
Le lundi 02 mai 2016 à 17:54 +0300, Sebastian Dröge a écrit :

> On Mo, 2016-05-02 at 07:04 -0700, de_ninja wrote:
> >
> > Still doesn't work..
> > what else could be the problem?
> Check with GStreamer's sdpdemux if you can play back the stream. If
> not, check the GStreamer debug logs why not (and fix the SDP
> accordingly). If you can, you are probably running into a VLC bug and
> should report that to them. Maybe they don't support Opus over RTP
> yet.
>
> Also see gst-rtsp-server/gst/rtsp-server/rtsp-sdp.c for some code
> that
> allows you to create valid SDP files from GStreamer caps.


I did some test on my own. Work with gst-play-1.0, fails with vlc. For
some reason vlc tries to use PS demux. This is not our bug, the
videolan mailing list would be a better place to get further
assistance.

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel