text_watermark - seriously_ultra_final_tweak

This commit is contained in:
Kieran O'Leary 2015-12-24 18:39:32 +00:00
parent 90b7a6e7f8
commit 0d59a592fb

View File

@ -598,7 +598,7 @@ path_name_and_extension_to_the_last_file</i></pre></dd>
<dl>
<dt>ffmpeg</dt><dd>starts the command</dd>
<dt>-i <i>input_file</i></dt><dd>path, name and extension of the input file</dd>
<dt>-vf "drawtext=fontfile=<i>font_path</i>:fontsize=<i>font_size</i>:text=<i>watermark_text</i>:fontcolor=<i>font_colour</i>:alpha=0.4:x=w/2-tw/2:y=h/2-th/2"</dt><dd>This calls the drawtext filters with the following options:
<dt>-vf drawtext=</dt><dd>This calls the drawtext filters with the following options:
<dl>
<dt>fontfile=<i>font_path</i></dt><dd> Set path to font. For example in OSX: <code>"fontfile=/Library/Fonts/AppleGothic.ttf"</code></dd>
<dt>fontsize=<i>font_size</i></dt><dd> Set font size. <code>24</code> is a good value for SD. Ideally this value is proportional to video size, for example use ffprobe to acquire video height and divide by 14.</dd>