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.
Solved! Go to Solution.
As I understand, you need to playback your file using a simple gstreamer command line and then instead of display it on mfw-v4lsink, you use fakesink.
As I understand, you need to playback your file using a simple gstreamer command line and then instead of display it on mfw-v4lsink, you use fakesink.