Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

OpenCV use FFmpeg to deal with reading / writing images and to access to video stream. You can try to use: http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-set to force the size of the acquired image

video_capture.set(CV_CAP_PROP_FRAME_WIDTH, 640);
video_capture.set(CV_CAP_PROP_FRAME_HEIGHT, 480);