ov_set_video_meta | R Documentation |
Requires that ffmpeg is available on your system path.
ov_set_video_meta(
video_file,
...,
movflags = FALSE,
overwrite = FALSE,
debug = FALSE
)
video_file |
string: path to the video file |
... |
: named values to set |
movflags |
logical: if |
overwrite |
logical: if |
debug |
logical: if |
This function creates a new video file with the specified metadata added. This is always a file in the temporary directory. If overwrite = TRUE
, the original file is deleted and replaced with the new file.
Note that if movflags = FALSE
, the supported video tag names (i.e. allowable names in the ...
parameters) depend on the video file type.
The path to the new video file, which if overwrite = TRUE
will be the input file, otherwise a file in the temporary directory
ov_get_video_meta()
## Not run:
newfile <- ov_set_video_meta(ov_example_video(), comment = "A comment")
ov_get_video_meta(newfile)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.