aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-23 23:30:08 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-07-28 10:50:19 +0200
commitfd2b6c1e4b99339f2d64da3c1feb09b98b37ab9f (patch)
tree13c6952653d8af6d21504a6c2fb8f8382423df24 /doc/filters.texi
parent32390d6767e1f874a23277c36aaa5cbb5c720820 (diff)
downloadffmpeg-fd2b6c1e4b99339f2d64da3c1feb09b98b37ab9f.tar.gz
doc/filters: itemize movie examples
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi26
1 files changed, 18 insertions, 8 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 1d40db7cdb..c93314bac6 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4102,22 +4102,32 @@ input -----------> deltapts0 --> overlay --> output
movie --> scale--> deltapts1 -------+
@end example
-Some examples follow:
+Some examples follow.
+
+@itemize
+@item
+Skip 3.2 seconds from the start of the avi file in.avi, and overlay it
+on top of the input labelled as "in":
@example
-# skip 3.2 seconds from the start of the avi file in.avi, and overlay it
-# on top of the input labelled as "in".
movie=in.avi:seek_point=3.2, scale=180:-1, setpts=PTS-STARTPTS [movie];
[in] setpts=PTS-STARTPTS, [movie] overlay=16:16 [out]
+@end example
-# read from a video4linux2 device, and overlay it on top of the input
-# labelled as "in"
+@item
+Read from a video4linux2 device, and overlay it on top of the input
+labelled as "in":
+@example
movie=/dev/video0:f=video4linux2, scale=180:-1, setpts=PTS-STARTPTS [movie];
[in] setpts=PTS-STARTPTS, [movie] overlay=16:16 [out]
+@end example
-# read the first video stream and the audio stream with id 0x81 from
-# dvd.vob; the video is connected to the pad named "video" and the audio is
-# connected to the pad named "audio":
+@item
+Read the first video stream and the audio stream with id 0x81 from
+dvd.vob; the video is connected to the pad named "video" and the audio is
+connected to the pad named "audio":
+@example
movie=dvd.vob:s=v:0+#0x81 [video] [audio]
@end example
+@end itemize
@c man end MULTIMEDIA SOURCES