Reputation: 21
I have to display the some Images on the video clip like a watermark. It is needed to convert from jpg to YUV422 Planar format. Could you someone explain to convert this problem?
Upvotes: 2
Views: 838
Reputation: 2343
Try it
ffmpeg -i a.jpg -s 640x480 -pix_fmt yuv422p a.yuv
To back from yuv422p to jpg
ffmpeg -pix_fmt yuv422p -s 640x480 -i a.yuv b.jpg
Upvotes: 1