[FFmpeg-devel] [PATCH] lavf/avienc: New AVOption write_keyframe_palette

Mats Peterson matsp888 at yahoo.com
Tue Mar 8 02:59:40 CET 2016

On 03/07/2016 07:48 PM, Mats Peterson wrote:
> On 03/07/2016 07:43 PM, Mats Peterson wrote:
>> Here's a somewhat experimental patch with a new AVOption
>> write_keyframe_palette that allows you to write the palette to every
>> keyframe. It is disabled by default, but it is needed for any file that
>> contains palette changes.
> It is needed in order to switch palette properly when seeking, that is.

It's interesting to note that Windows Media Player doesn't need xxpc 
chunks at keyframes in order to seek properly in the following original 
file from Sierra's King's Quest VI. I have of course no idea how they 
solve that.

This original file doesn't work properly in FFplay for some reason. It 
generates "stream_ptr out of bounds" messages at the locations of the 
xxpc chunks.



More information about the ffmpeg-devel mailing list