Function: avTs2Str()
avTs2Str(
ts
):string
Defined in: src/lib/utilities.ts:497
Convert timestamp to string.
Converts a timestamp to a string representation.
Direct mapping to av_ts2str().
Parameters
ts
Timestamp value
null
| number
| bigint
Returns
string
String representation
Example
typescript
const str1 = avTs2Str(1234567n); // Returns "1234567"
const str2 = avTs2Str(null); // Returns "NOPTS"
See
av_ts2str - FFmpeg Doxygen