Closed fnoop closed 7 years ago
If COLORMAP is -1 and hence a colormap is not set, seek_viewer outputs an CV_8UC1 frame. VideoWriter needs an CV_8UC3 frame, so we should ensure process_frame() consistently outputs a 3-channel frame.
Thanks for fixing
If COLORMAP is -1 and hence a colormap is not set, seek_viewer outputs an CV_8UC1 frame. VideoWriter needs an CV_8UC3 frame, so we should ensure process_frame() consistently outputs a 3-channel frame.