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
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "InputVideoFile". | string | |
name | The name of this instance of the module. | string | |
filename | File to read the data from | string | |
size_x | Size to scale the movie to | int | original movie size |
size_y | Size to scale the movie to | int | original movie size |
loop | Loop playback | bool | no |
info | Printing information about the video stream | bool | no |
Module Connections
Outputs
Name | Description |
---|---|
RED | The red channel. |
GREEN | The green channel. |
BLUE | The blue channel. |
INTENSITY | The intensity channel. |
RESTART | This 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