Agisoft Metashape

Agisoft Metashape => Bug Reports => Topic started by: paulm on January 11, 2017, 12:01:38 PM

Title: TIF file doesn't open correctly
Post by: paulm on January 11, 2017, 12:01:38 PM
I converted a movie to individual .tif frames, using ffmpeg (ffmpeg -i <movie> -vf fps=1 frames%04d.tif). The resulting tif files are not correctly read by PhotoScan Pro, even though they open fine in GIMP and tools like tiffinfo. Once loaded in Photoscan the images show a corrupt image, in grey scale. On the console warnings of the form "PackBitsDecode: Not enough data for scanline 193." are displayed.

I can provide an showing the problem.
Title: Re: TIF file doesn't open correctly
Post by: Alexey Pasumansky on January 11, 2017, 12:02:41 PM
Hello paulm,

Can you please send a sample TIF to support@agisoft.com?
Title: Re: TIF file doesn't open correctly
Post by: Alexey Pasumansky on January 11, 2017, 04:09:13 PM
Hello paulm,

It looks like the TIFF is in YCrCb format, so it's not RGB image.

Can you use RGB representation when converting the video sequence to the still frames?