View source: R/segment_elan_video.R
segment_elan_video | R Documentation |
This function inputs an ELAN file and a video and outputs new videos from the ELAN annotations as segments
segment_elan_video(
eaf,
segmentation_tier = NULL,
target_glosses = NULL,
tag = T,
video = NULL,
video_format = ".mp4",
path = NULL,
method = "av",
preset = "medium",
crf = "12",
padding = 0
)
eaf |
The ELAN files that supplies annotations as segments |
segmentation_tier |
Specify tier(s) (TIER_ID) to be read |
target_glosses |
Specify which glosses to be kept |
tag |
Whether to use annotations as tags in filenames (default = 'TRUE') |
video |
The filename of the video to be modified |
video_format |
The format of the output videos (default = '.mp4') |
path |
The path to the output videos |
method |
Whether to use 'av' (in R) or 'ffmpeg' (system call) (default = "av") |
preset |
Video quality preset (default = "medium") |
crf |
Video processing preset (default = "12") |
padding |
Add (+) or subtract (-) padding at start/end (default = 0 msec) |
The names of the output video files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.