Page 1 of 1

Exporting 10 bit RGB without scaling

PostPosted: Wed Aug 07, 2019 2:59 pm
by paulcarson
Hi,
I need to capture greyscale images from my 1280x720p50 HD-SDI (10 bit) mono camera using the DeckLink Mini Recorder and convert them to 16 bit RGB (probably TIFF) without stretching them as I need the raw values for image anaylsis. I tried using Resolve but it appears to stretch the pixel values to full scale.
Another application I've used allowed me to stuff the extra bits with pre/post 0's, but it can't import MOV/DPX files.
I cannot seem to find another APP that can convert the DPX or MOV files in this way.
Any suggestions?

Best Regards,
Paul

Re: Exporting 10 bit RGB without scaling

PostPosted: Wed Aug 07, 2019 7:01 pm
by Andrew Kolakowski
This is rather specific requirement- not one for NLE.
Try using ffmpeg. You can capture directly from BM to desired format. ffmpeg may do what you want with extra bits. Try setting pixel format as 16bit, but with bits_per_raw_sample set to 10.

Re: Exporting 10 bit RGB without scaling

PostPosted: Thu Aug 08, 2019 1:11 pm
by paulcarson
Thanks Andrew,

tried using ffmpeg, it also stretches the output across the 16 bits. Been throught the whole user manual but nothing there useful.

Paul

Re: Exporting 10 bit RGB without scaling

PostPosted: Thu Aug 08, 2019 3:35 pm
by Peter Chamberlain
Using Resolve on Mac or DNx on Windows you should be able to capture at video data levels.
Resolve will always process in full range but can render back to video levels.

Re: Exporting 10 bit RGB without scaling

PostPosted: Thu Aug 08, 2019 4:28 pm
by Andrew Kolakowski
paulcarson wrote:Thanks Andrew,

tried using ffmpeg, it also stretches the output across the 16 bits. Been throught the whole user manual but nothing there useful.

Paul


Use vapoursynth:

Expr(clip, 'x * 64', vs.RGB48)

This will just shift the bits 6 steps to the left.