createImageSeq | R Documentation |
createImageSeq
creates an image sequences (.png) using
video files as input. All movies within a directory will
be converted into an image sequence.
For each movie, a new directory is created containing the recorded date and
name of the movie.
createImageSeq(
moviepath = "Movies",
imagepath = "ImageSequences",
x = 1920,
y = 1080,
fps = 15,
nsec = 2,
start = NULL,
stop = NULL,
ext = "MTS",
libavpath = "avconv",
exiftoolpath = "exiftool",
pythonpath = "python",
verbose = FALSE,
logfile = FALSE
)
moviepath |
Path to existing directory containing the video files. By default, 'Movies' is used. |
imagepath |
Path to location of a directory in which image sequences should be saved. By default, 'ImageSequences' is used (and created if not existing). |
x |
Number of pixels in horizontal direction; default is 1920 (HD). |
y |
Number of pixels in vertical direction; default is 1080 (HD). |
fps |
Frames per second, default is 15. |
nsec |
Duration of movie that is exported, default is 2 seconds.
When movie length is greater than |
start |
Start time (in seconds) from where the video is converted (optional). By
default, the |
stop |
End time (in seconds) from where the video is converted (optional). By
default, the |
ext |
The extension of the video. Default is |
libavpath |
Path to location where the executable file for libav
can be found (named 'avconv.exe'), in case it is not found automatically,
e.g. |
exiftoolpath |
Path to location where the executable file for
ExifTool can be found, in case it is not found automatically.
For instance, use |
pythonpath |
Path to location where the executable file for
Python 2.7 can be found, in case it is not found automatically. For
instance, use |
verbose |
Logical. By default FALSE. Set to TRUE will print additional information. |
logfile |
Logical. By default FALSE. Set to TRUE will create a log file in the working directory. |
Marjolein Bruijning, Caspar A. Hallmann & Marco D. Visser
## Not run:
createImageSeq(moviepath="Movies",imagepath="ImageSequences",
nsec=3,ext="AVI")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.