Patience with the cat



Code:
ffmpeg.exe -an -hide_banner -v 32 -loglevel fatal -stats -y -i caricaImmagine2.avs -vf zscale=w=%ZSCALEValue1%:h=%ZSCALEValue2%:f=spline36:r=1:d=0,pad="width=ceil(iw/2)*2:height=ceil(ih/2)*2" -frames:v 1 -f image2 -update 1 -c:v mjpeg -q:v 1 -huffman 1 -intra_matrix 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 out.JPG
I wonder:

1) can I tell to ffmpeg that he have to output only in YUV and not in RGB?

2) how I have to modify the line so that instead of a .JPG I need and uncompressed format like BMP (?) ?

^^