Description Usage Arguments Details Examples
View source: R/Complete_IM_function.R
A function that expands an output from Fill_IF to include all time captured by an input video. This function calls ffmpeg and is currently limited to Windows architecture.
1 | Complete_IM(df, vid, ffmpeg_path = "DEFAULT", ips = 8)
|
df |
A path to a .csv file containing output from ImageJ macros. |
vid |
A path to the video file that images with motion were initially extracted from. |
ffmpeg_path |
A path to ffmpeg.exe. Default path is assigned by the ffmpeg_dir function. |
ips |
The frame-rate at which images were extracted from the input video, as applied in motion_sense. Default is 8. |
This function assumes that data were collected from a combination of the motion_sense function in the ReVuePro package, and custom ImageJ macros used to indicate individuals present at time of motion. 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 4 | video = "C:/BirdsFeeding.mp4"
ffmpeg.locale = "C:/Users/Rudolf/ffmpeg.exe"
motion.data = "C:/BirdsFeeding_data.csv"
Complete_IM(df = motion.data, vid = video, ffmpeg_path = ffmpeg.locale, ips = 8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.