User`s guide

NumberOfBands
18-31
vid.NumberOfBands
ans =
3
If you retrieve the value of the VideoFormat property, you can see that the video data is
in RGB format.
vid.VideoFormat
ans =
RGB24_320x240
See Also
Functions
getdata, getsnapshot, peekdata