mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
lavfi/ass: add dar option
Allow to specify the display aspect ratio adopted for rendering subtitles.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user