[FFmpeg-devel] [PATCH v5] lavf: palettized QuickTime video in Matroska

Mats Peterson matsp888 at yahoo.com
Wed Dec 23 13:09:39 CET 2015


On 12/23/2015 01:07 PM, Carl Eugen Hoyos wrote:
> Mats Peterson <matsp888-at-yahoo.com <at> ffmpeg.org> writes:
>
>> In matroskadec.c, I'm also putting the palette in 'extradata',
>> like it's done for V_MS/VFW/FOURCC; this is a requirement in
>> order for MPlayer to recognize the palette.
>
> This is wrong, please remove this hunk.
>
> The reason it is needed for AVI is not MPlayer but remuxing.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

The reason for this is because MPlayer won't notice the palette 
otherwise, as I said before. Try it yourself. MPlayer uses whatever is 
in extradata as the palette, just like it does for V_MS/VFW/FOURCC. So 
it is not wrong at all.

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the ffmpeg-devel mailing list