问题
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?
回答1:
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
来源:https://stackoverflow.com/questions/6066171/how-to-convert-a-ycbcryuv-444-image-to-422-in-java