Pavel <[email protected]> added the comment: To reproduce that error with ffmpeg cli, you need the following params ffmpeg attachedimage.jpg -f image2 -vcodec bmp -pix_fmt rgb565 img565.bmp -sws_flags bilinear+full_chroma_int
(swscale full_chroma_int is the one required parameter for hq pics, otherwise high quality pics will look bad). The other catch is that if you have avfilter compiled in then you don't get that error. I don't know what avfilter does and how it works, but the problem only happens with regular libswscale when converting from yuv444 to rgb565 with SWS_FULL_CHR_H_INT. And the only way to reproduce it with ffmpeg cli it to compile without avfilt support, or simply do it in c code directly. ---------- status: closed -> open ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2113> ________________________________________________
