OpenCv2.4.2 fails in cvQueryFrame() for a 1080p video frame (Bug #2478)


Added by S K over 12 years ago. Updated over 9 years ago.


Status:Open Start date:2012-10-26
Priority:Normal Due date:
Assignee:S K % Done:

0%

Category:highgui-video
Target version:3.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I am using OpenCV2.4.2 to query frames from a 1080p uncompressed avi file.

Error: Unhandled exception at 0x66e52ebd in ExecutableName.exe: 0xC0000005: Access violation reading location 0x0000000002020040.

Environment:
Visual Studio 2010
OpenCV 2.4.2
X64
Windows 7
Build is in Release mode

The same issue is with Open CV 2.4.0

Code snippet: (video_file contains a 1080p HD uncompressed avi file)
CvCapture *capture = cvCaptureFromAVI(video_file);
if(!capture) {
cout << "Capture from AVI didn't work" << endl;
return FALSE;
}
int Nframes=cvGetCaptureProperty(capture,CV_CAP_PROP_FRAME_COUNT);
for(int i=0;i<Nframes;i=i+1) {
cvSetCaptureProperty(capture,CV_CAP_PROP_POS_FRAMES,i);
IplImage* frame=cvQueryFrame(capture); <<<<<<<--------------this call fails
}

Please let me know if I can provide more information.

Thanks
Shikha


Associated revisions

Revision 491b84d4
Added by Roman Donchenko almost 11 years ago

Merge pull request #2478 from clemenscorny:master

History

Updated by Vadim Pisarevsky over 12 years ago

since the problem can probably be worked around (e.g. the video can be recompressed using motion jpeg with sufficiently high bitrate, or can be represented as a collection of still images etc.), the priority of the ticket is lowered. We will try to reproduce the problem.

  • Priority changed from Blocker to Normal
  • Target version set to 2.4.3-rc

Updated by S K over 12 years ago

Unfortunately that doesnot work for my software since the requirement is to take an uncompressed avi video and can't convert it to any other format.
Please suugest if there is any other workaround.
So, its still blocking me to release the software.

Updated by Evgeny Talanin over 12 years ago

  • Category changed from highgui-gui to highgui-video

Updated by Evgeny Talanin over 12 years ago

Could you please upload your video somewhere? This will help us to reproduce the problem.

  • Assignee changed from Vadim Pisarevsky to S K

Updated by Andrey Kamaev over 12 years ago

  • Target version changed from 2.4.3-rc to 3.0

Updated by S K over 12 years ago

The video is around 2Gb since its a 1080p video.
Please download it from http://www.bigbuckbunny.org/index.php/download/ in 1080p quality.
That will help in reproducing the error.

Also, may be you can try with any 1080p video.

Please let me now when can I expect a fix. It is very critical and I am waiting to get solution for this.

Thanks

Updated by S K about 12 years ago

Hi
Is there any update on this?

Thanks

Updated by S K about 12 years ago

Hi

Is there any update on this bug. When will it be fixed ?

Thanks

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4442

Also available in: Atom PDF