as_milliseconds: Convert a SubRip (SRT) Timestamp to Milliseconds

Description Usage Arguments Value

Description

Convert a vector of SubRip-style timestamps into milliseconds. Checks that each element is of the form hours:minutes:seconds,milliseconds where units are fixed as two zero-padded digits and the fractional component is fixed as three zero-padded digits (i.e., 00:00:00,000).

Usage

1

Arguments

x

Character vector of SubRip timestamps.

Value

A numeric vector corresponding to x.


benjcunningham/subtitler documentation built on May 12, 2019, 11:56 a.m.