Pregunta

I am trying to open an AVI file using OpenCV, Here is the code line which i used to read the video file.

CvCapture* capture = cvCaptureFromAVI(video_file_name);

But it returns a cvCapture ponter which points to an address of 0x00000000 (hence an invalid pointer)

Can this be a codec related issue? missing ffmpeg?

¿Fue útil?

Solución

Problem must be with the ffmpeg codec. there must be a mismatch between the binaries that causes a variable called icvCreateFileCapture_FFMPEG_p to be null, and logical check on this variable terminates the function before trying to read the avi file

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top