Description Usage Arguments Details Examples
View source: R/vid2im_function.R
A function that calls ffmpeg to convert a digital video file (.mp4 or .mov) into a series of jpg images, and sorts jpg images. This function was created to support thermal image analyses with digital video reference points.
1 2 3 4 5 6 7 8 |
input_vid |
A path to the video file that one wishes to be converted. |
ffmpeg_path |
A path to ffmpeg.exe. Default path is assigned by the ffmpeg_dir function. |
scale |
A percent scalar between 1 and 100, used to modify resolution of input video frames. Default is 100. |
grey |
A binary "TRUE" or "FALSE" call. Determines whether input video will be converted to greyscale. Default is "FALSE". |
ips |
Images per second. How many jpg images one wishes to produce from one second of video footage. Default is 8 images per second. |
bin |
An integer that designates how many images will be alloted to each folder, following completion of conversion. Default is 1000. |
This function splits a .mp4 or .mov filr into a series of jpg images of equal resolution, according to user designates images per second. Ffmpeg must be installed for this function to operate correctly. Furthermore, this function calls upon ffmpeg using Windows language, and is therefore currently limited to Windows users.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.