Convert png files to avi movie using VirtualDub

pngPictureFilesToAviMovieFile(
  lastPngFile = dir(tdir, "^wtaqResult", full.names = TRUE)[1],
  tdir = kwb.utils::tempSubdirectory("wtaqResult"),
  aviFile = file.path(tdir, "out.avi"),
  virtualDub = system.file("extdata", "VirtualDub", "vdub.exe", package =
    "kwb.virtualdub"),
  show.avi = FALSE
)

Arguments

lastPngFile

default: dir(tdir, "^wtaqResult", full.names=TRUE)[1]

tdir

default: tempSubdirectory("wtaqResult")

aviFile

default: file.path(tdir, "out.avi")

virtualDub

path to virtualDub executable (default: system.file("extdata", "VirtualDub", "vdub.exe", package = "kwb.virtualdub"))

show.avi

default: FALSE

Value

convert png files to avi movie