1

I can convert a rgb image to a YCbCr image, but i have no clue how to put it in 4:2:2

The objective is to create a lossy compreession program

any help?

Hélio
  • 11
  • 2

1 Answers1

0

you could try this way , but this is how you can solve it using ffmpeg

ffmpeg -i in.avi -vcodec rawvideo -pix_fmt yuv420p -o out.yuv

Amitg2k12
  • 3,765
  • 10
  • 48
  • 97