[Libav-user] Writing 16bit greyscale videos

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Aug 30 20:59:23 EEST 2016


2016-08-30 9:40 GMT+02:00 Peter Steinbach <steinbach at scionics.de>:
> Stefano, did you check if your dataset really spans all 16 bits? if not, you
> might be lucky. otherwise 16-to-8-bit quantisation might do the trick, but
> is outside the scope of ffmpeg AFAIK. one thing I also haven't tried is
> copying gray16 into yuv444 and let h264 swallow it. the idea is to split the
> 16-bit in 2 compartments. and fill Y and U only (the empty V channel gives
> 8bit overhead).

But since the eight lsb do not visually depend for neighbored pixels, output
would not make sense or do I misunderstand?

> x265 might one day support 16-bits maturely, but is not really competitive
> yet in terms of ingest bandwidth with x264 ... at least from my studies
> (compression ration is already well ahead of x264). HEVC yields native
> grey16 support as far as the standard goes.

Is there a hevc decoder that supports 16bit?

Carl Eugen

More information about the Libav-user mailing list