write_subtitles: Write subtitles

View source: R/write_subtitles.R

write_subtitlesR Documentation

Write subtitles

Description

This function writes a subtitles object in a file.

Usage

write_subtitles(x, file, format = "srt", encoding = "UTF-8")

Arguments

x

an object of class subtitles.

file

a character string naming a file for writing.

format

a character string giving the file format. Not used (only SubRip format is currently implemented).

encoding

the name of the encoding to be used.

Value

Called for its side effects (writing to file). Returns NULL invisibly.


subtools documentation built on March 24, 2026, 5:07 p.m.