On 03/08/2016 02:59 AM, Mats Peterson wrote:
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.

File:
https://drive.google.com/open?id=0B3_pEBoLs0faaFY0ME92SDA1VEU

Mats


It seems it has something to do with the index, since if I copy it to a new file with the last part cut off (incorrect but it will play at least), those "stream_ptr out of bounds" messages will disappear, and the palette changes will occur as expected.

Mats

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

Reply via email to