[FFmpeg-cvslog] doc/filters/setpts: add random jitter generation example

Stefano Sabatini git at videolan.org
Tue Jan 2 23:05:56 EET 2024


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Dec 29 12:48:08 2023 +0100| [4d301be9e581d212d35df38acf190ca1d2d4b4c8] | committer: Stefano Sabatini

doc/filters/setpts: add random jitter generation example

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d301be9e581d212d35df38acf190ca1d2d4b4c8
---

 doc/filters.texi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index f54359d533..23b1a2baa5 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -31061,6 +31061,12 @@ Set fixed rate of 25 frames per second:
 setpts=N/(25*TB)
 @end example
 
+ at item
+Apply a random jitter effect of +/-100 TB units:
+ at example
+setpts=PTS+randomi(0, -100\,100)
+ at end example
+
 @item
 Set fixed rate 25 fps with some jitter:
 @example



More information about the ffmpeg-cvslog mailing list