PARP Research Group Universidad de Murcia


examples/videoPlayer/videoPlayer.cpp File Reference

Simple example of a QVision processing block for video input from many kind of sources, displaying the output to a canvas window. More...

#include <QVApplication>
#include <QVDefaultGUI>
#include <QVImageCanvas>
#include <QVVideoReaderBlock>
#include <qvip.h>

Go to the source code of this file.


Detailed Description

Simple example of a QVision processing block for video input from many kind of sources, displaying the output to a canvas window.

This program will display in one or three image canvas the contents of a video file or the input from a video resource. Using the --ColorRGBYUV comand line parameter, you can choose whether to show color, RGB separated or YUV separated channels as output (execute './videoPlayer --help' for details).

Usage

Once installed the QVision, compile using the qmake and make tools:

 # qmake; make 

Execute the application with the following line:

 ./videoPlayer --URL=<source video identifier string> 

For example:

 ./videoPlayer --URL=http://perception.inf.um.es/public_data/videos/misc/minuto.avi 

Execute with parameter --code to get help on additional available command line options:

 ./videoPlayer --help 

See section Video source identifiers for further info about the format and types of source video identifier strings.

Author:
PARP Research Group. University of Murcia, Spain.

Definition in file videoPlayer.cpp.




QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.