diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-02-09 13:26:16 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-02-12 19:50:07 +0100 |
commit | 48a0eb21aac062c3a65d22c48484a2420f452ec6 (patch) | |
tree | c534ffa1d770a5511de785e3b30f5211159406a5 /doc | |
parent | 000b25096b9727b423e3575a630d98f8c3a8ce84 (diff) | |
download | ffmpeg-48a0eb21aac062c3a65d22c48484a2420f452ec6.tar.gz |
avcodec: add setts bitstream filter
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bitstream_filters.texi | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 8a2f55cc41..c4766e1c67 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -675,6 +675,60 @@ Remove extradata from all frames. @end table @end table +@section setts +Set PTS and DTS in packets. + +It accepts the following parameters: +@table @option +@item ts +@item pts +@item dts +Set expressions for PTS, DTS or both. +@end table + +The expressions are evaluated through the eval API and can contain the following +constants: + +@table @option +@item N +The count of the input packet. Starting from 0. + +@item TS +The demux timestamp in input in case of @code{ts} or @code{dts} option or presentation +timestamp in case of @code{pts} option. + +@item POS +The original position in the file of the packet, or undefined if undefined +for the current packet + +@item DTS +The demux timestamp in input. + +@item PTS +The presentation timestamp in input. + +@item STARTDTS +The DTS of the first packet. + +@item STARTPTS +The PTS of the first packet. + +@item PREV_INDTS +The previous input DTS. + +@item PREV_INPTS +The previous input PTS. + +@item PREV_OUTDTS +The previous output DTS. + +@item PREV_OUTPTS +The previous output PTS. + +@item TB +The timebase of stream packet belongs. +@end table + @anchor{text2movsub} @section text2movsub |