lavfi/ass: add dar option

Allow to specify the display aspect ratio adopted for rendering
subtitles.
This commit is contained in:
Stefano Sabatini
2012-03-19 19:28:56 +01:00
parent c9399538b7
commit 8e0d3c0369
3 changed files with 55 additions and 3 deletions

View File

@ -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: