On 02/05/2016 05:18 PM, Mats Peterson wrote:

A better way would of course be to peek at the BITMAPINFOHEADER or video
sample description of the input file to determine how many bits per
pixel it uses, and match that in the output file, rather than trying to
guess from the number of colors in the palette. Anyway, this is a lot of
work, and to me it's rather superfluous, since one can always force the
pixel format on the command line once again.

Mats


One can't force 2 or 4 bpp, of cousre, so it's not possible to match 2 and 4 bpp input files exactly in the output. Then it's better to use -vcodec copy (which currently works badly with nut, as I mentioned before).

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

Reply via email to