Color shift FFmpeg raw RGBA images to YUV format
In the end I add to use the following options and tell ffmpeg wich colorSpace i am using and how to decode it to display on screen.

ffmpeg -f rawvideo -r 30 -pix_fmt rgba -s 1920x1017 -i - -threads 0 -y -c:v libopenh264 -pix_fmt yuv444p -b:v 8000K -vf vflip,scale=out_color_matrix=bt709 -color_primaries bt709 -color_trc bt709 -colorspace bt709 output.mp4