{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/695","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/695/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/695/events","html_url":"https://github.com/mshabunin/test2/issues/695","id":91323413,"number":695,"title":"Problem reading .AVI file when migrating from openCV 2.1 to openCV2.4.1","user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-26T18:04:32Z","updated_at":"2015-06-26T18:04:32Z","closed_at":null,"body":"Converted from http://code.opencv.org/issues/2115\r\n```\n|| by Juergen Sienel on 2012-06-29 17:14:00\n|| Status: Open\n|| Priority: Normal\n|| Affected: branch '2.4'\n|| Target: Next Hackathon\n|| Category: highgui-video\n\nProblem reading .AVI file when migrating from openCV 2.1 to openCV2.4.1\n===========\nI am migrating an video application from OpenCv2.1 to 2.4.1. While\nopening and querying a capture opened with cvCaptureFromFile in 2.1\nworks well, the same program crashes when linked against 2.4.1 on\nwindows XP.   \nI've tracked the problem down to CvCapture_FFMPEG_proxy::retrieveFrame,\nwere see and assignment error icvRetrieveFrame_FFMPEG_p(ffmpegCapture,\n&data,...) when called on the first frame.\n\n\nHistory\n=======\n|| by Juergen Sienel on 2012-06-29 18:45:00\nAVI file codec information: Codec: Planar 4:2.0 YUV (I420), resolution\n(352 * 288) Frame rate: 30\n\n\n|| by Andrey Kamaev on 2012-08-16 19:35:00\n-   Category changed from highgui-images to highgui-video\n\n\n|| by ZhiHeng NIU on 2012-10-23 16:30:00\nI encountered the same problem for OpenCV2.4.2. Crashed at\nicvRetrieveFrame_FFMPEG_p when read an AVI file.\n\n\n|| by Greg Phil on 2012-11-27 15:11:00\nI'm having the same problem. It seems to be a problem of the video size\nor even more an issue of the frame size.   \nI tried an uncompressed 8bit grayscale avi with 640x680, 39fps, 19frames\n->works well.  \nBut the cvRetrieveFrame_FFMPEG_p() is throwing an unhanded exception by\nusing an uncompressed 8bit grayscale avi with 1920x1080, 25fps,\n500frames.\n\nBy the way I'm using VC10 and x64.  \ncheers\n\n\n|| by Kirill Kornyakov on 2012-11-28 11:32:00\nAdded to the 2.4.4, because multiple people report the problem.\n\nCould somebody confirm, that the problem reproduces with OpenCV 2.4.3?\n-   Target version set to 2.4.4\n\n\n|| by Francesco Leotta on 2012-12-19 22:54:00\nThe problem still persists in OpenCV 2.4.9 64 bit. Windows 8. 320x240\ncolor 20fps.\n\n\n|| by S K on 2013-01-17 04:33:00\nI am also getting the same issue in reading uncompressed avi file with\nOpenCV2.4.3rc with UYVY encoding.  \nI tried different video codec for encoding and V210 seems to work fine\non 64 bit.\n\nThanks  \nShikha\n\n\n|| by Vadim Pisarevsky on 2013-01-23 02:21:00\n-   Target version deleted (2.4.4)\n\n\n|| by Vadim Pisarevsky on 2013-01-24 21:54:00\n-   Assignee deleted (Vadim Pisarevsky)\n\n\n|| by Vadim Pisarevsky on 2013-02-01 14:23:00\n-   Assignee set to Vadim Pisarevsky\n\n\n|| by Kirill Kornyakov on 2013-02-14 12:05:00\n-   Target version set to 2.4.4\n-   Affected version set to branch '2.4'\n\n\n|| by Andrey Kamaev on 2013-02-20 15:53:00\n-   Target version changed from 2.4.4 to Next Hackathon\n\n\n|| by Amaury Mortier on 2013-03-26 20:52:00\nHi all!\n\nI'm encoutering the same problem with OpenCV 2.4.4 (actually with OpenCV\n2.4.2 too).  \nI could read a raw avi without problem with OpenCV 2.1 (features example\nof file: codecs: rawvideo, bgr24, 1920x1080, bitrate: 1000865 kb/s,\nduration 21 seconds). But now with the new version, as soon as I put the\nfirst frame of my VideoCapture in a Mat, it throws me an access\nviolation exception, coming from mlock.c file.  \nI have no problem with xvid avi file for example.\n\nThanks.  \nM.\n\n\n|| by Vishnu Makkapati on 2015-06-11 12:06:00\nI run into this issue while using 32 bit version of OpenCV 2.4.9 with\nVisual Studio 2010. The program crashes on the call to\nicvRetrieveFrame_FFMPEG_p. Is there a solution?\n```"}}