MPEG.TS (MPEG.TS v3.2.3)

View Source

Summary

Functions

Converts MPEG's timestamp to nanoseconds

Converts nanoseconds to MPEG's clock

Types

timestamp_90khz()

@type timestamp_90khz() :: non_neg_integer()

timestamp_ns()

@type timestamp_ns() :: non_neg_integer()

Functions

convert_ns_to_ts(ns)

@spec convert_ns_to_ts(timestamp_ns()) :: timestamp_90khz()

Converts MPEG's timestamp to nanoseconds

convert_ts_to_ns(ts)

@spec convert_ts_to_ns(timestamp_90khz()) :: timestamp_ns()

Converts nanoseconds to MPEG's clock