[FFmpeg-devel] [PATCH v5 1/4 v7] lavf/avienc: Add support for palette side data

Mats Peterson matsp888 at yahoo.com
Sat Mar 5 12:28:19 CET 2016


On 03/05/2016 12:21 PM, Mats Peterson wrote:
> I've noticed that avienc.c is close to useless for use with stdout. It
> only checks pb->seekable in a few places, and for example the
> ff_end_tag() function uses avio_seek(), but that one is used in several
> places where there is no check for a seekable stream.
>
> Anyway, this version adds the AVISF_VIDEO_PALCHANGES flag properly to
> the 'strh' chunk, per the Microsoft documentation.
>
> Mats
>


Once again, here's a good file with xxpc chunks that you can try. It is 
encoded with Microsoft Video 1 (CRAM).

https://samples.ffmpeg.org/avi/palette_change/toon.avi

Mats



More information about the ffmpeg-devel mailing list