ASF - Video Stream with 8 bpp

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello guys,

I'm creating ASF files with a Video Stream of 8bpp, and a third party
codec that was created by my team.

When I create the Video Stream, there is no error but then the ASF Viewer
shows me that the WMSDK is adding an "Extra Data Size" of 1024 bytes which
are garbage bytes (the information of the audio streams).

If I change from 8bpp to 16bpp, this behaviour disappears (I meant, there
is no an "Extra Data Size" field). I think that this 1024 extra bytes are
related to the palette, but why do I have to add information of a palette? I
don't know what palette it will be used :/, this information changes for each
image that I create and that I introduce into the ASF files.

So, where do I need to reserve these bytes? and what is the reason to do
that?

Regards
Damiox


.