[vlc-devel] Opus RTP raw audio decoder plugin patch

Rémi Denis-Courmont remi at remlab.net
Thu Nov 28 15:45:39 CET 2013


On Wed, 27 Nov 2013 20:42:04 +0800, Yupeng Chang <changyp6 at gmail.com>
wrote:
> The existing opus decoder is OggOpus decoder, not raw Opus decoder.
> Opus rtp payload is raw opus, the data depackitized from RTP packet is
> ready for decoding, doesn't need to process any OggOpus header.
> The existing opus decoder only accepts OggOpus packet.

Only raw should be used. Otherwise, VLC will not only need duplicated
decoders, but also duplicated code for each Opus-capable muxer and for the
RTP output.

VLC_CODEC_OPUS should designate raw. Ogg header processing should probably
be in a packetizer (as Denis wants) or in the Ogg demuxer (especially if
only Ogg uses it).

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list