Forum Replies Created

  • Ryan Smith

    May 16, 2011 at 4:41 pm in reply to: Lossless encoding 16bpp images to movie file

    Hi Laurent-

    Thanks for the reply! I tried your suggestion, and I am still having some trouble.

    Both your encoding and decoding call work without errors, however when I load the decoded tif into Matlab to analyze it, I get a matrix that is 2472x3296x3 of uint8 type. The original image loads in as a 2d matrix of 2472×3296 of uint8 type.

    The only thing I changed from your call was forcing the size to vga resolution. Any idea on why my data type is still an RGB image instead of grayscale on the output?

    Thanks in advance for all the help, I owe you a beer-

    -Ryan

  • Ryan Smith

    May 13, 2011 at 5:07 pm in reply to: Lossless encoding 16bpp images to movie file

    Hi Laurent-

    I am struggling with the same problem. Any way you can post your final solution?

    I have a series of 8 bit grayscale tif images. It tells me ‘incompatible pixel format “pal8” for codec ‘ffv1′, autoselecting YUV420p’ when I try to encode.

    I tried forcing my -pix_fmt with little luck as it says the options I tried (gray, gray8a, gray16be, gray16be) aren’t compatible with ffv1. Lossless encoding is necessary for my project. Any way you could post your call to ffmpeg? Thanks!

    -Ryan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy