Splits a video file in a set of image files. Default image format is
jpeg which has good speed and compression. Use format = "png"
for
losless images.
Usage
av_video_images(video, destdir = tempfile(), format = "jpg", fps = NULL)
Arguments
- video
an input video
- destdir
directory where to save the png files
- format
image format such as
png
orjpeg
, must be available fromav_encoders()
- fps
sample rate of images. Use
NULL
to get all images.