From 8e0d3c03698b5917cb9163f035935ecc7a864ada Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 19 Mar 2012 19:28:56 +0100 Subject: lavfi/ass: add dar option Allow to specify the display aspect ratio adopted for rendering subtitles. --- doc/filters.texi | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 9aedb01bb2..2863f8cf2a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -753,7 +753,18 @@ using the libass library. To enable compilation of this filter you need to configure FFmpeg with @code{--enable-libass}. -This filter accepts in input the name of the ass file to render. +This filter accepts the syntax: @var{ass_filename}[:@var{options}], +where @var{ass_filename} is the filename of the ASS file to read, and +@var{options} is an optional sequence of @var{key}=@var{value} pairs, +separated by ":". + +A description of the accepted options follows. + +@table @option +@item dar +Specifies the display aspect ratio adopted for rendering the +subtitles. Default value is "1.0". +@end table For example, to render the file @file{sub.ass} on top of the input video, use the command: -- cgit v1.2.3