#include <visp/vpDisplayX.h>
#include <visp/vpVideoReader.h>
int main()
{
#ifdef VISP_HAVE_FFMPEG
try {
std::cout <<
"video framerate: " << g.
getFramerate() <<
"Hz" << std::endl;
std::cout <<
"video dimension: " << I.
getWidth() <<
" " << I.
getHeight() << std::endl;
#ifdef VISP_HAVE_X11
#else
std::cout << "No image viewer is available..." << std::endl;
#endif
}
}
std::cout << "Catch an exception: " << e << std::endl;
}
#endif
}