[FFmpeg-user] how to specify pixel format of input image pixels

Mayur Patel m.patel at toonboxent.com
Fri Sep 14 22:39:16 EEST 2018


Setting the photometric interpretation to 6 (YCrCb) AND uncompressing the pixels produces a result which is largely green.  I'm assuming at this point that my channels need to be shuffled.

Thanks for the help.
Mayur

________________________________________
From: ffmpeg-user [ffmpeg-user-bounces at ffmpeg.org] on behalf of Carl Eugen Hoyos [ceffmpeg at gmail.com]
Sent: Friday, September 14, 2018 3:07 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] how to specify pixel format of input image pixels

2018-09-14 21:03 GMT+02:00, Mayur Patel <m.patel at toonboxent.com>:

>   Photometric Interpretation: RGB color

This indicates that your tiff is not yuv, see:
https://www.awaresystems.be/imaging/tiff/tifftags/photometricinterpretation.html

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list