Names to be given to the extracted frames. If NULL the function will automatically name them with the corresponding frame number, preceded by enough zeros to maintain a constant filename width.
ext
The image type/extension to be added to each extract frame.
qscale
Integer indicating the image quality of the extracted frames. This is an input parameter passed direclty to ffmpeg.
frame.start
The time (in msec) corresponding to the frame immediately before the first frame change.
video.i
Video metadata passed to the function. This parameter is only intended for internal use.
warn.min
The minimum number of extracted frames for which the user is prompted and has to respond 'y' prior to frame extraction. This is intended to prevent the user from mistakenly extracting thousands of frames.
Value
NULL
Details
In order to use this function you must separately install the ffmpeg video codec library. For instructions please refer to the 'Extracting video frames' section of the most recent StereoMorph user guide here. This function can be used interactively with prompts by calling extractFrames(). The user will then be prompted for all necessary input parameters. This is useful because the function will report the number of frames in the video before prompting which frames the user would like to extract.
# NOT RUN {# Use extractFrames() with interactive promptsextractFrames()
# Extract the first 20 frames from a videoextractFrames(file='Example_video.mov', save.to='Frames', frames=0:20)
# }