[Libav-user] Writing 16bit greyscale videos

Masneri, Stefano stefano.masneri at brain.mpg.de
Mon Aug 29 11:59:25 EEST 2016


I have a small class that creates an h264 video from a set of input images. I have some problems trying to write 16 bit input images: Conversion to yuv420p format loses 8 bit of precision, and apparently x264 does not support encoding 16 bit greyscale data.
Do you know of a codec that supports encoding a video using AV_PIX_FMT_GRAY16BE pixel format (or anything similar)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160829/98df80dd/attachment.html>

More information about the Libav-user mailing list