InputVideoFile

Module that reads a movie using the FFMpeg library. The movie can be optionally scaled by setting the parameters size_x and size_y.

Example XML definition

A simple example

  <module
      class = "InputVideoFile"
      name = "InputVideoFile"
      filename = "../../../../../../Examples/Media/ikaros.mov"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "InputVideoFile".string
nameThe name of this instance of the module.string
filenameFile to read the data fromstring
size_xSize to scale the movie tointoriginal movie size
size_ySize to scale the movie tointoriginal movie size
loopLoop playbackboolno
infoPrinting information about the video streamboolno

Module Connections

Outputs

NameDescription
REDThe red channel.
GREENThe green channel.
BLUEThe blue channel.
INTENSITYThe intensity channel.
RESTARTThis output is 1 on the first frame of the movie.

Author

Birger Johansson
m@birgerjohansson.com
Lund University Cognitive Science

Files

InputVideoFile.h
InputVideoFile.cc
InputVideoFile.ikc

blog comments powered by Disqus