cv_bridge.core.CvBridgeError: [8UC1] is not a color format. but [bgr8] is.
Hi all!
I have a bag file recorded with the IR sensor of a realsense SR300 camera. I am trying to convert it in a video with bag2video.py file, but it turns out this result:
cv_bridge.core.CvBridgeError: [8UC1] is not a color format. but [bgr8] is. The conversion does not make sense
I've found the problem and I've understood it, but actually I don't know how to solve it!! Please can you help me??
Are you trying to encode a color video format? I suspect you'll need to specify the video as greyscale to get this to work.
I used all the three different parameters for "--encode" (rgb8, bgr8, mono8), but the program always gives me the same error. I don't know how to specify the video as greyscale!