[FFmpeg-devel] [PATCH] doc/filters: itemize examples for *setpts filters

Stefano Sabatini stefasab at gmail.com
Thu Aug 23 12:34:22 CEST 2012


---
 doc/filters.texi |   32 +++++++++++++++++++++++++-------
 1 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 534526c..c2b65a9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4147,27 +4147,45 @@ previous output PTS
 
 @end table
 
-Some examples follow:
+ at subsection Examples
 
+ at itemize
+ at item
+Start counting PTS from zero
 @example
-# start counting PTS from zero
 setpts=PTS-STARTPTS
+ at end example
 
-# fast motion
+ at item
+Apply fast motion effect:
+ at example
 setpts=0.5*PTS
+ at end example
 
-# slow motion
+ at item
+Apply slow motion effect:
+ at example
 setpts=2.0*PTS
+ at end example
 
-# fixed rate 25 fps
+ at item
+Set fixed rate of 25 frames per second:
+ at example
 setpts=N/(25*TB)
+ at end example
 
-# fixed rate 25 fps with some jitter
+ at item
+Set fixed rate 25 fps with some jitter:
+ at example
 setpts='1/(25*TB) * (N + 0.05 * sin(N*2*PI/25))'
+ at end example
 
-# apply an offset of 10 seconds to the input PTS
+ at item
+Apply an offset of 10 seconds to the input PTS:
+ at example
 setpts=PTS+10/TB
 @end example
+ at end itemize
 
 @section settb, asettb
 
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list