On 8/28/18, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2018-08-28 12:00 GMT+02:00, Paul B Mahol <one...@gmail.com>: >> On 8/28/18, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: >>> 2018-08-26 18:05 GMT+02:00, Paul B Mahol <g...@videolan.org>: >>> >>>> switch (avctx->bits_per_coded_sample) { >>>> - case 8: avctx->pix_fmt = AV_PIX_FMT_GRAY8; break; >>>> + case 8: avctx->pix_fmt = AV_PIX_FMT_PAL8; break; >>> >>> Do you have a sample that looks correct with this particular change? >>> Can you share it? >> >> No, but PAL8 samples looks same as in VirtualDub2. > > But GRAY8 looks really nice and there is no palette in extradata > for the two files I can test.
There is palette, as side data. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel