summaryrefslogtreecommitdiff
path: root/doc/muxers.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-04-18 22:15:39 +0200
committerMarton Balint <cus@passwd.hu>2020-05-01 17:22:58 +0200
commitd69576294939247d3a0c0904425c219047053421 (patch)
tree1953eec2865a69f095b919b79406d6324b7b2c49 /doc/muxers.texi
parent6847affcb775e89d9256b33c7dc8a7502d2bb428 (diff)
downloadffmpeg-d69576294939247d3a0c0904425c219047053421.tar.gz
avformat/hlsenc: add support for microseconds since epoch based sequence number
Sequence numbers of segments should be unique, if an encoder is using shorter than 1 second segments and it is restarted, then future segments will be using already used sequence numbers if initial sequence number is based on the number of seconds since epoch and not microseconds. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index cb2bb42c32..536433b1d3 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -648,6 +648,9 @@ Set the starting sequence numbers according to @var{start_number} option value.
@item epoch
The start number will be the seconds since epoch (1970-01-01 00:00:00)
+@item epoch_us
+The start number will be the microseconds since epoch (1970-01-01 00:00:00)
+
@item datetime
The start number will be based on the current date/time as YYYYmmddHHMMSS. e.g. 20161231235759.