cudacodec::VideoReader returns 4 channels

asked 2016-08-06 03:29:50 -0600

alvarouc gravatar image

updated 2016-08-09 20:56:30 -0600

Hi,

the regular video reader returns 3 channels (BGR) but the gpu version returns 4 channels for the same video. Is there any documentation that could help me understand what format is it returning them?

edit, I am on ubuntu 16.04, cuda 7.5, geforce 740M

edit2: Further testing revealed that for a 1440x1080 video, it reads a frame of 1440x1088. It adds 8 rows to the bottom.

edit retag flag offensive close merge delete

Comments

interesting find !

could you add os/opencv version, cuda, etc ?

berak gravatar imageberak ( 2016-08-06 03:56:27 -0600 )edit