I have a folder of .tifs that are really noisy images (digital images from a microscope). They are also quite small in dimmension, like 260x260 pixels.
I want to turn them into a playable movie that works across windows and macs.
I tried libx264, but I get this horrible patchwork of squares pattern across the image.
I tried a lot of options with libx264, like -crf 24, -crf 0 (supposedly lossless, its not). I've tried different -pix_fmts.
In general my commands looked like
ffmpeg -framerate 33 -i Out01x\Singles_%04d.tif -c:v libx264 -crf 0 -pix_fmt yuv420p test2.avi
So then I tried a lossless format, huffyuv
ffmpeg.exe -framerate 33 -i Out01x\Singles_%04d.tif -c:v huffyuv Out01x.avi
This initially looked ok. But then I found it doesn't support .mov or quicktime. Which isn't going to work, because my colleagues will need .mov support.
I then tried just a straight .png lossless format.
ffmpeg -framerate 33 -i Out01x\Singles_%04d.tif -c:v png test.mov
This looks okay also, and appears to play in quicktime (although I'm still waiting for someone with a mac to confirm).
Is .png really my best option here? It seems not very 'standard'. But I'm not a video professional, so maybe it is considered a good option.
It doesn't work in windows media player. But none of these do, so I blame WMP more than the codec issues. They all work in vlc, quicktime (on windows) and other windows players.
Is there a better way to do this?
Here is a screenshot of the patchwork I'm seeing. With lines I drew to highlight a portion of it.