Description Usage Arguments Details Value Examples
Uniformly shift subtitle times
1 | srt_shift(x, seconds)
|
x |
A subtitle data frame from |
seconds |
The number of seconds to shift the start and end time. |
Here is a workflow of how a linear srt file is shifted in R.
1 2 3 |
The numeric start times uniformly shifted by some amount.
1 2 3 | # shift all start and stop by a some time
x <- read_srt(srt_example(), collapse = " ")
srt_shift(x, 1.234)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.