[FFmpeg-cvslog] doc/filters: itemize examples for *setpts filters
Stefano Sabatini
git at videolan.org
Fri Aug 24 13:40:46 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Aug 23 11:52:45 2012 +0200| [c45178cf5bf94189c7d275be7a99d9e4f8f16009] | committer: Stefano Sabatini
doc/filters: itemize examples for *setpts filters
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c45178cf5bf94189c7d275be7a99d9e4f8f16009
---
doc/filters.texi | 32 +++++++++++++++++++++++++-------
1 file 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
More information about the ffmpeg-cvslog
mailing list