batchGrabVideoStills: Batch process video files, breaking them into stills

Description Usage Arguments Value Examples

View source: R/batchGrabVideoStills.R

Description

#' This helper calls grabVideoStills, which function currently relies on the av package and 'ffmpeg' to split a video file into images. This function will save the images to the director specified by the user.

Usage

1
2
3
4
5
6
batchGrabVideoStills(
  batchInfo,
  imageDir = NULL,
  overWriteDir = FALSE,
  sampleWindow
)

Arguments

batchInfo

the batchInfo data.frame that is output from batchProcessZoomOutput

imageDir

the directory where you want the function to write the extracted image files

overWriteDir

logical indicating whether you want to overwrite imageDir if it exists

sampleWindow

an integer indicating how frequently you want to sample images in number of seconds.

Value

a data.frame that gives information about the batch. Each record corresponds to one video, with:

Examples

1
2
3
4
5
6
7
vidBatchInfo = batchGrabVideoStills(batchInfo=sample_batch_info,
imageDir=tempdir(), overWriteDir=TRUE, sampleWindow=2)
## Not run: 
vidBatchInfo = batchGrabVideoStills(batchInfo=zoomOut$batchInfo,
imageDir="~/Documents/myMeetings/videoImages", overWriteDir=TRUE,  sampleWindow=600)

## End(Not run)

zoomGroupStats documentation built on May 13, 2021, 5:06 p.m.