How to convert a YCbCr(YUV) 4:4:4 image to 4:2:2 in java?

流过昼夜 提交于 2020-01-05 04:23:12

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!