<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div>Hello there,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">I have an application that takes as input a bunch of streams, mostly coming from video files, but it also have to process some image files.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">I found out that png format is well supported, but it doesn't seem the case for tiff format.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">With tiff format, it uses "image2pipe" as AVInputFormat before decoding streams, but then it can encounter the following
 errors:</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">- pixel format is wrong, e.g. http://www.filmform.com/logo/Filmform_gray-on-blank.tif > stream->codec->pix_fmt == AV_PIX_FMT_RGB24 instead of being AV_PIX_FMT_RGBA.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">- invalid data found when processing input, e.g. http://www.finehomesandliving.com/Media/%C2%A9%20FINE%20media%20group%20LLC%20Black%20Logo.tif > get the error while calling avcodec_decode_video2
() and stream->codec->pix_fmt / stream->codec->width / stream->codec->height all have wrong values by the way (respectively -1, 0, 0).<br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">I know that image format support isn't the primary focus of FFmpeg but maybe this issue should be reported nevertheless?</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">Regards,</div><div style="color: rgb(0, 0, 0); font-size:
 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">Cyril APAN.<br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"></div></div></body></html>