On 02/18/2016 10:40 PM, Mats Peterson wrote:
On 02/18/2016 10:27 PM, Mats Peterson wrote:
On 02/18/2016 09:14 PM, Michael Niedermayer wrote:
This can be made more efficient, but first and the main goal of this
change is to
store it at all
Great, Michael. I'll try it out.

Mats


I notice that the palette inclusion is only made by using 'xxpc' chunks
in the video data so far. I'm not so sure if these in-data palette
changing chunks are widely supported. Therefore, first and foremost, and
the most widely supported way in my book, is to add an "initial" palette
after the BITMAPINFOHEADER in the strf chunk. That's where I found it to
be a bit tricky, but I'm sure you can solve it in some way.

Mats


FFplay plays these files fine, but Windows XP Media Player needs that palette after the BITMAPINFOHEADER. It doesn't seem to care about those 'xxpc' chunks. Interesting, since the Media Player ought to support everything in the AVI specs.

Mats

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to