2016-08-29 10:59 GMT+02:00 Masneri, Stefano <[email protected]>:
> 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.

H.264 does not support more than 14bit, x264 does not support more than
10bit input.

> Do you know of a codec that supports encoding a video using
> AV_PIX_FMT_GRAY16BE pixel format (or anything similar)?

jpegls, png, tiff, dpx, sgi, ffvhuff, ffv1 (all lossless)
Jpeg2000, but FFmpeg needs the external library libopenjpeg for encoding
gray16 (lossy or lossless)

Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to