wsherman <[email protected]> added the comment: This is not a duplicate. Issue 862 dealt with AVIs incorrectly playing back using ffplay. This issue is about Windows XP compatibility which can only handle bottom-up AVIs using a positive biHeight. Also issue 862 was left at:
"implement that: http://www.fourcc.org/rgb.php#BI_BITFIELDS" That is NOT what is required to create standard 24-bit and 32-bit uncompressed AVIs (and 16-bit for that matter). The "BI_RGB" pixel format is all that is needed: (http://www.fourcc.org/rgb.php#BI_BITFIELDS) BI_RGB 0x00000000 1,4,8,16,24,32 Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples. FFmpeg is CORRECTLY setting that field already. Again, the fix to create uncompressed AVIs which play correctly on Windows XP involves one or possibly two changes: 1) Use a positive biHeight value in the BITMAPINFO struct 2) The flip issue may take care of itself if the code checks biHeight and deals with FLIP accordingly (top-down for negative biHeight and bottom-up for positive ones). ---------- status: closed -> new substatus: duplicate -> new superseder: -RGB and BGR24 raw avi file output consistency problem ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2395> ________________________________________________
