Log in

View Full Version : 10bit in 16bit pixel format


kolak
7th August 2019, 20:38
How to convert 10bit file (eg. uncompressed YUV) into 16bit one, but keeping original bits and just padding with 0s?

Myrsloik
7th August 2019, 20:50
Expr(clip, 'x * 64', vs.YUV420P16)

You meant shift the bits 6 steps to the left, right?

kolak
7th August 2019, 20:55
I assume. So no extra bits are introduced but original ones are inserted into 16bit format.
Is it possible with ffmpeg directly?

kolak
8th August 2019, 17:27
Expr(clip, 'x * 64', vs.RGGB48)

I assume this will work for RGB 10bit source.