Lossless end-to-end 16-bit grayscale compression?

Ryan Talbot rtalbot at vtti.vt.edu
Fri Feb 3 16:12:10 UTC 2017


Hi list,

I'm trying to losslessy compress the output of the disparity plugin.  Its source caps say it outputs RGB, but the algorithm itself is supposed to generate 16-bit grayscale.  After a lot of headache, I finally found a combo of avenc_ljpeg and avdec_mjpeg that would work to encode and then decode the RGB stream and get the exact same data on both ends.  Now, I would like to do the same for a 16-bit grayscale stream of images, but am having little luck.  avenc_mjpeg does support GRAY16_BE/LE, but I don't know how to make it lossless.

Does such a solution exist, or do we need to roll our own/modify a codec?

Thanks,
Ryan Talbot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170203/f706ae9b/attachment.html>


More information about the gstreamer-devel mailing list