Set PTS and DTS in packets.
It accepts the following parameters:
- ts, pts, dts
-
Set expressions for PTS, DTS or both.
The expressions are evaluated through the eval API and can contain the following constants:
- N
-
The count of the input packet. Starting from 0.
- TS
-
The demux timestamp in input in case of
tsordtsoption or presentation timestamp in case ofptsoption. - POS
-
The original position in the file of the packet, or undefined if undefined for the current packet
- DTS
-
The demux timestamp in input.
- PTS
-
The presentation timestamp in input.
- STARTDTS
-
The DTS of the first packet.
- STARTPTS
-
The PTS of the first packet.
- PREV_INDTS
-
The previous input DTS.
- PREV_INPTS
-
The previous input PTS.
- PREV_OUTDTS
-
The previous output DTS.
- PREV_OUTPTS
-
The previous output PTS.
- TB
-
The timebase of stream packet belongs.
- SR
-
The sample rate of stream packet belongs.