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

Yupeng Chang changyp6 at gmail.com
Mon Dec 2 11:01:59 CET 2013

Hi Denis,
I read VLC code and finally understood the relationship between packetizer
and decoder.

I think that to implement Opus Raw decoding, if we need a packetizer, we
should ADD OggOpus header in the packetizer instead of stripping the header

b_need_packetized in structure decoder_t means decoder needs packetized
data, not truncated

If I implement header strip inside packetizer, the behaviour of this
packetizer will just be the opposite of a packetizer should do.
And If I just add OggOpus header to OpusRaw data, the current Opus decoder
will remain the same or only need minimum change.

One other thing is, there's no need to implement a Opus packetizer module,
the OpusDecoder only need one simple function to do this, and I can just
implement the packetizer function in opus.c.

So what do you think about this? And could you give me some suggestions
about how to do this?

Yupeng Chang


On 2 December 2013 17:49, Denis Charmet <typx at dinauz.org> wrote:

> Hi,
> Le lundi 02 décembre 2013 à 04:21:47, Yupeng Chang a écrit :
> > Could you tell me where I can get some documents about VLC architecture?
> > I am not quite clear how dmuxer is connected to packetizer and then
> > connected to decoder.
> >
> Sadly there is a lack of documentation regarding, the packetization in
> the hacker's guide: https://wiki.videolan.org/Hacker_Guide/
> In any case, feel free to come on the irc channel to talk about it.
> Regards,
> --
> Denis Charmet - TypX
> Le mauvais esprit est un art de vivre
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20131202/70cf41e1/attachment.html>

More information about the vlc-devel mailing list