How to record a 10 bit video?
AnsweredI'm using the camera BFS-U3-16S2M-CS, and I select the pixel format as mono16, ADC bit depth as 10 bits in the feature panel of spinview.
I assume that I could record a 10 bits depth video or images with these settings, but I always only got 8 bits videos.
How could I troubleshoot this problem or which part did I get it wrong about the settings?
-
Official comment
Hello Jay,
One possibility I could think of is recording the video as "Uncompressed" . This should use Planar YUV Format I420, which is 12 bits per pixel.
Another option would be writing your own piece of code utilizing a third party software like FFmpeg to merge the 16BPP single images to a video file.Best Regards,
Markus -
Hello Jay,
It sounds like you don't mind saving to video or single images?
If yes, I would suggest keeping PixelFormat Mono16 and saving single images to .pgm or .tiff file format. That should give you 16 BPP images.One remark concerning color cameras, the Spinnaker pipeline supports color processing (Raw Bayer -> color image) in 8-bit only.
Best Regards,
Markus0 -
I follow your suggestion and use singleframe acquisition mode to save the picture, and I did can get a 16BPP image.
But how could I save them as videos with also high bit depth?0
Please sign in to leave a comment.
Comments
3 comments