[Icecast] dir.xiph.org : OPUS stream wrongly identified as Vorbis

Philipp Schafft phschafft at de.loewenfelsen.net
Tue Dec 27 11:14:26 UTC 2016


Good morning,

On Tue, 2016-12-27 at 11:46 +0100, Hoggins! wrote:
> Hello,
> 
> We started to publish an OPUS stream amongst others on our Icecast
> streaming server. That's cool, we're muxing it in an Ogg container, it
> works well !
> So this is just a remark : as the Icecast shows its type as
> "application/ogg", it may be the reason why the Icecast directory shows
> this as an Ogg Vorbis stream although it's an Ogg OPUS one.

Ogg/Opus streams are audio/ogg or application/ogg[0]. The codec is given
in the codec parameter[0]. It should be listed as 'sub type' on the
Icecast status page.


> Any idea how to correct this ?

Which (exact!) version of Icecast2 you run?
What is the URL to your stream? (you can also answer directly to me (but
keep general questions to the list) or ask me on IRC[1]) I would have a
look at it and see if the stream is valid.


> Also, it's worth noting that Icecast refuses to dynamically update the
> metadata update on such a mountpoint, responding "Mountpoint will not
> accept this URL update" / Return Code: 1.
> I know it's been quite difficult to allow dynamic updates for Ogg
> Vorbis, but hey, it's working. Whereas it's not with Ogg Opus.

This interface is only for ICY streams (MP3 and AAC). For all other
streams the metadata is to be send along the data stream as per codec
and mapping standard. The API only 'works'[2] for Ogg/Vorbis for
historical reasons.


Have a nice day. Looking forward to your reply,

with best regards,


[0] https://wiki.xiph.org/MIMETypesCodecs
[1] #icecast on irc.freenode.net
[2] It breaks many things like exact timing or bitrate efficiency. Just
don't use it.


-- 
Philipp Schafft (CEO/Geschäftsführer) 
Telephon: +49.3535 490 17 92

Löwenfelsen UG (haftungsbeschränkt)     Registration number:
Bickinger Straße 21                     HRB 12308 CB
04916 Herzberg (Elster)                 VATIN/USt-ID:
Germany                                 DE305133015
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20161227/1d7f8240/attachment.sig>


More information about the Icecast mailing list