Reputation: 3526
How can I get the number of channels used by my video before initiating a capture?
I thought I could use cvGetCaptureProperty
but there is no property_id I could set to get the number of channels.
Upvotes: 1
Views: 1547
Reputation: 8725
Yes, you're right - there are no property_id
for number of channels. You can get number of channels only from single frame of capture.
Upvotes: 4