Description Usage Arguments Value Examples
mp4_duration
- Reports the length of a video in
seconds.
n_img
- Reports the approximate number of images
based on guration and frames per second.
mp4_to_times
- Generate a sequence of times
corresponding to fps
and video duration.
1 2 3 4 5 | mp4_duration(path)
n_img(path, fps)
mp4_to_times(path, fps = 4)
|
path |
Path to the in .mp4 file. |
fps |
The number of image frames per second to output. Generally the fps used to desconstruct a video into images will be used to reconstruct the images back to video. |
mp4_duration
- A numeric value giving length of
video in seconds.
n_img
- A numeric value giving the number of images
created from the video.
mp4_to_times
- A sequence of times corresponding to
fps
and video duration
1 2 3 4 5 6 | ## Not run:
mp4_duration("foo.mp4")
n_img("foo.mp4", 4)
mp4_to_times("foo.mp4", 4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.