From fd2b6c1e4b99339f2d64da3c1feb09b98b37ab9f Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 23 Jul 2012 23:30:08 +0200 Subject: [PATCH] doc/filters: itemize movie examples --- doc/filters.texi | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 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] - -# read from a video4linux2 device, and overlay it on top of the input -# labelled as "in" -movie=/dev/video0:f=video4linux2, scale=180:-1, setpts=PTS-STARTPTS [movie]; -[in] setpts=PTS-STARTPTS, [movie] overlay=16:16 [out] - -# 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": -movie=dvd.vob:s=v:0+#0x81 [video] [audio] @end example +@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 + +@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