Which codecs and video formats are supported in OpenCV (Bug #2847)


Added by S K about 12 years ago. Updated about 12 years ago.


Status:Cancelled Start date:2013-03-01
Priority:Normal Due date:
Assignee:S K % Done:

0%

Category:highgui-video
Target version:2.4.5
Affected version:branch '2.4' Operating System:
Difficulty: HW Platform:
Pull request:

Description

Hi
I have been trying to use couple of Apis with OpenCV to access frame data from a video.
I use cvCaptureFromFile() followed by QueryFrame() and for uncompressed avi it works totally fine.
But it has some problem with mov and mp4 files.
It doesn't through any error message and crashes with System.AccessViolationException.

CvCapture *capture = cvCaptureFromFile(video_file.c_str()); //fails right here. video_file does exists 
if(!capture) {
cout << "Capture from AVI didn't work" << endl;
return FALSE;
}

I also tried VideoCapture Api, but have the same issue.

So, I want to know which formats are supported for vides.
Do you need to do some steps for getting mov and mp4 working?

Its very important and is blocking me from releasing.
Please help me with this one asap


Associated revisions

Revision 07446ec9
Added by Alexander Alekhin over 10 years ago

Merge pull request #2847 from ilya-lavrenov:tapi_pow

History

Updated by S K about 12 years ago

Windows 7 - 64 bit
OpenCV 2.4.4-beta and also 2.4.3rc
Visual studio 2012

Updated by Kirill Kornyakov about 12 years ago

This is "not a bug", please ask your question at the public forum: http://www.answers.opencv.org/questions/.

  • Priority changed from Blocker to Normal
  • Target version set to 2.4.5
  • Status changed from Open to Cancelled
  • Category set to highgui-video

Also available in: Atom PDF