[FFmpeg-devel] [PATCH] doc/filters: fix localtime drawtext example.

Simon Thelen ffmpeg-dev at c-14.de
Fri Oct 3 02:57:50 CEST 2014


On 10/09/14 at 00:01, Simon Thelen wrote:
> The colon after the localtime function call needs an additional layer of
> escaping or else everything until the next colon is treated as a
> fontfile.
> 
> Signed-off-by: Simon Thelen <ffmpeg-dev at c-14.de>
> ---
>  doc/filters.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index bb486ea..5d49c5b 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -4185,7 +4185,7 @@ drawtext='fontfile=Linux Libertine O-40\:style=Semibold:text=FFmpeg'
>  @item
>  Print the date of a real-time encoding (see strftime(3)):
>  @example
> -drawtext='fontfile=FreeSans.ttf:text=%@{localtime:%a %b %d %Y@}'
> +drawtext='fontfile=FreeSans.ttf:text=%@{localtime\:%a %b %d %Y@}'
>  @end example
>  
>  @item
> -- 
> 2.1.0
> 
Ping?

-- 
Simon Thelen


More information about the ffmpeg-devel mailing list