2 #include <visp/vpDisplayX.h>
3 #include <visp/vpVideoReader.h>
7 #ifdef VISP_HAVE_FFMPEG
14 std::cout <<
"video framerate: " << g.
getFramerate() <<
"Hz" << std::endl;
15 std::cout <<
"video dimension: " << I.
getWidth() <<
" " << I.
getHeight() << std::endl;
20 std::cout <<
"No image viewer is available..." << std::endl;
unsigned int getWidth() const
Define the X11 console to display images.
Class that enables to manipulate easily a video file or a sequence of images. As it inherits from the...
static double measureTimeMs()
static int wait(double t0, double t)
static void flush(const vpImage< unsigned char > &I)
void open(vpImage< vpRGBa > &I)
static void display(const vpImage< unsigned char > &I)
virtual void setTitle(const char *title)=0
void acquire(vpImage< vpRGBa > &I)
void setFileName(const char *filename)
unsigned int getHeight() const
double getFramerate() const
virtual bool getClick(bool blocking=true)=0