aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2023-12-29 12:48:08 +0100
committerStefano Sabatini <stefasab@gmail.com>2024-01-01 20:12:53 +0100
commit4d301be9e581d212d35df38acf190ca1d2d4b4c8 (patch)
tree5dba3770bf743e65868737cd27a51bc7d5b88fbf /doc/filters.texi
parent7769afcab4c2160d39058b21bcfb7923f4b036eb (diff)
downloadffmpeg-4d301be9e581d212d35df38acf190ca1d2d4b4c8.tar.gz
doc/filters/setpts: add random jitter generation example
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index f54359d533..23b1a2baa5 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -31062,6 +31062,12 @@ setpts=N/(25*TB)
@end example
@item
+Apply a random jitter effect of +/-100 TB units:
+@example
+setpts=PTS+randomi(0, -100\,100)
+@end example
+
+@item
Set fixed rate 25 fps with some jitter:
@example
setpts='1/(25*TB) * (N + 0.05 * sin(N*2*PI/25))'