timestampValidBits
TimestampValidBits is a metadata field used in some multimedia encoding and streaming specifications to describe the precision of a sample’s timestamp. A timestamp identifies when a frame or audio sample should be presented during playback, synchronization, or processing. In certain containers or codecs, the full timestamp value may be stored with limited precision or may be partially known. TimestampValidBits communicates how many bits of the timestamp are known to be valid, with the remaining bits either unused or assumed to follow a defined rule (such as being zero).
The exact interpretation of timestampValidBits depends on the specific standard or format. In general, it allows
Usage and presence vary across specifications. Some formats may use timestampValidBits to optimize header size, support
See also: timing, timestamps, presentation timestamp, clock reference, codecs.