Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Bug in MJPG endcoder/decoder ?

$
0
0
Hi, I have got a problem to retrieve video size using MJPG encoder Here is my program VideoWriter vid1; Mat im(480,640,CV_8UC3); vid1.open("test.avi", CV_FOURCC('M', 'J', 'P', 'G'), 20, Size(640,480), true); if (!vid1.isOpened()) { cout << "Could not open the output video for write: " << endl; return -1; } for (int i=0;i<50;i++) vid1<

Viewing all articles
Browse latest Browse all 41027

Trending Articles