How to convert YUY2 (YUYV 422) to png format
Posted: 2016-11-28T05:36:03-07:00
Hi everyone,
I was trying to convert YUY2 (UYUV 422) Format to png, but I can't. I've tried this command:
convert -size 1280x720 -depth 8 -format YUV -sampling-factor 4:2:2 yuv:frame.yuv -colorspace rgb png:frame.png
But it doesn't work. I can see the image in the correct size but It appears with green and pick colours. I think I need somehow tell the convert application to configure in YUY2 mode.
Can anyone help me?
Best regards.
I was trying to convert YUY2 (UYUV 422) Format to png, but I can't. I've tried this command:
convert -size 1280x720 -depth 8 -format YUV -sampling-factor 4:2:2 yuv:frame.yuv -colorspace rgb png:frame.png
But it doesn't work. I can see the image in the correct size but It appears with green and pick colours. I think I need somehow tell the convert application to configure in YUY2 mode.
Can anyone help me?
Best regards.