srt.remove {SRTtools} | R Documentation |
Remove unwanted dialog from subtitles by specific index
srt.remove(srt, index)
srt |
vector. The srt file read by |
index |
integer. The index of unwanted dialog . |
srt_path <- system.file("extdata", "movie.srt", package="SRTtools")
srt <- srt.read(srt_path, encoding = 'utf-8')
srt.remove(srt, index = 10)