It stores a sequence of YUV images as a single video file and may be saved in YUV 4:2:0, 4:2:2, 4:4:4 formats. YUV video files may be decoded by MPEG-4 and H.264 decoders. Color bitmap image format created by Silicon Graphics (SGI); generic format used for saving RGB color images on SGI workstations; recognized by various image viewing programs. Nov 05, 2015 · PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA color is put together as: (A << 24) | (R << 16) | (G << 8) | B This is stored as BGRA on little-endian CPU architectures and ARGB on big-endian CPUs. The descriptions of the various related formats enumerated on that page provide more details. Share.. png and the artifacts seem to arise on conversion back to rgb. Testing on 420 produced from the png with no sws options. Converting back to rgb with ffmpeg - ffmpeg -s 890x768 -pix_fmt yuv420p -i 420.yuv -sws_flags +accurate_rnd+full_chroma_int -pix_fmt rgb24 420-ar-fc.rgb is the best looking.. The old way for RGB => YUV using 709 was -pix_fmt yuv420p and -vf colormatrix=bt601:bt709 , this was also used in ffmbc but the quality was always lower than doing in avisynth . Another way was -vf scale using -in_color_matrix and -out_color_matrix -in_range and -out_range, but again , lower quality The other ways were "broken" or had problems.