<div dir="ltr"><div><div><div><div>Hi Denis,<br>I read VLC code and finally understood the relationship between packetizer and decoder.<br><br></div>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 out.<br>
<br></div>b_need_packetized in structure decoder_t means decoder needs packetized data, not truncated<br><br></div>If I implement header strip inside packetizer, the behaviour of this packetizer will just be the opposite of a packetizer should do.<br>
</div><div>And If I just add OggOpus header to OpusRaw data, the current Opus decoder will remain the same or only need minimum change.<br><br></div><div>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.<br>
<br></div><div>So what do you think about this? And could you give me some suggestions about how to do this?<br><br></div><div>Yupeng Chang<br><br></div><div>Dec-02-2013<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 2 December 2013 17:49, Denis Charmet <span dir="ltr"><<a href="mailto:typx@dinauz.org" target="_blank">typx@dinauz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
Le lundi 02 décembre 2013 à 04:21:47, Yupeng Chang a écrit :<br>
<div class="im">> Could you tell me where I can get some documents about VLC architecture?<br>
> I am not quite clear how dmuxer is connected to packetizer and then<br>
> connected to decoder.<br>
><br>
<br>
</div>Sadly there is a lack of documentation regarding, the packetization in<br>
the hacker's guide: <a href="https://wiki.videolan.org/Hacker_Guide/" target="_blank">https://wiki.videolan.org/Hacker_Guide/</a><br>
<br>
In any case, feel free to come on the irc channel to talk about it.<br>
<div class="im HOEnZb"><br>
Regards,<br>
<br>
--<br>
Denis Charmet - TypX<br>
Le mauvais esprit est un art de vivre<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>