[FFmpeg-devel] [PATCH] doc/filters: fix main/over mismatch in overlay example

littlebat dashing.meng at gmail.com
Fri Apr 5 16:24:42 CEST 2013


On Fri,  5 Apr 2013 13:07:28 +0200
Stefano Sabatini <stefasab at gmail.com> wrote:

> Found-By: littlebat <dashing.meng at gmail.com>
> ---
>  doc/filters.texi |   10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 630db43..b2e7ff6 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -7134,16 +7134,18 @@ movie --> scale--> deltapts1 -------+
>  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
> -movie=in.avi:seek_point=3.2, scale=180:-1, setpts=PTS-STARTPTS
> [movie]; -[in] setpts=PTS-STARTPTS, [movie] overlay=16:16 [out]
> +movie=in.avi:seek_point=3.2, scale=180:-1, setpts=PTS-STARTPTS
> [over]; +[in] setpts=PTS-STARTPTS [main];
> +[main][over] overlay=16:16 [out]
>  @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]
> +movie=/dev/video0:f=video4linux2, scale=180:-1, setpts=PTS-STARTPTS
> [over]; +[in] setpts=PTS-STARTPTS [main];
> +[movie][over] overlay=16:16 [out]

"[movie][over] overlay=16:16 [out]" should be: 
"[main][over] overlay=16:16 [out]" here.

>  @end example
>  
>  @item
> -- 
> 1.7.9.5
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list