On 02/08/2016 06:19 AM, Mats Peterson wrote:
In order to produce a working nut file from a 1, 2, 4 or 8 bpp AVI or
QuickTime file, force the pixel format with "-pix_fmt rgb24" or similar.
For black & white files in order to save space, use "-pix_fmt monow" or
"-pix_fmt monob" (give or take the slightly erratic conversion from pal8
to monow/monob in FFmpeg).


A better way to produce a monow or monob nut file from a black & white AVI or QuickTime file is to use "ffmpeg -i 1bpp.avi -vcodec copy -vtag B1W0 1bpp.nut". The "-vtag" option is currently needed, otherwise FFmpeg will incorrectly use a RGB[15] codec tag for some reason.

Mats

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

Reply via email to