PARP Research Group | Universidad de Murcia |
examples/videoPlayer/videoPlayer.cpp File ReferenceSimple 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 DescriptionSimple 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). UsageOnce 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 ./videoPlayer --help See section Video source identifiers for further info about the format and types of source video identifier strings. Definition in file videoPlayer.cpp. |