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

Mats Peterson matsp888 at yahoo.com
Sat Mar 5 13:18:14 CET 2016

On 03/05/2016 01:10 PM, Mats Peterson wrote:
> 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
> I understand what you mean with "non-keyframes", Michael. I currently do
> not have any nice solution to offer, but perhaps you could add what I've
> done so far anyway? It's at least better thant what was before, with no
> support whatsoever for palette side data.
> Mats

Is there a way to check if a packet is a "key frame packet" or whatever?


More information about the ffmpeg-devel mailing list