AnsweredAssumed Answered

【i.mx6 SABRE Platform for Smart Devices】 AVIfile cannot be read by opencv.

Question asked by 向井 隆智 on Jun 3, 2013
Latest reply on Jun 10, 2013 by Daiane Angolini
Branched to a new discussion

I am trying to read an AVI file using "cvCaptureFromAVI()" of "Opencv".
However, it will be an error.
==========================================================
pCapData = cvCaptureFromAVI( filePath ) ;
if( pCapData == NULL ) {
    printf( "init: AVIfile open NG %s", filePath ) ; ←
}
==========================================================
"ffmpeg" is introduced from "LTIB".
"codec" is "mjpeg".

"FFMPEG" is performed from a command line and it is checking that it is also convertible for "mjpeg".

On "PC(ubuntu-10.04)", it is reproduced by the same "OpenCV", "ffmpeg", and "avifile".

Is there any solution of this error?

 

[Environment]

HostPC:ubuntu-10.04

OpenCV:2.1.0

ffmpeg:0.5.9

AVIfile codec: Motion JPEG

 

Please give me your answer ASAP. Thank you in advance.

 

Outcomes