mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-11-06 05:27:24 +01:00
text_watermark - moar options
This commit is contained in:
parent
9ca3f9421c
commit
633d04e046
11
index.html
11
index.html
@ -601,15 +601,12 @@ path_name_and_extension_to_the_last_file</i></pre></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:
|
||||
<dl>
|
||||
<dt>fontfile=<i>font_path </dt><dd> Set path to font. For example in OSX: <code>"fontfile=/Library/Fonts/AppleGothic.ttf"</code></dd>
|
||||
<dt>fontsize=<i>font_size </dt><dd> Set font size. <code>24</code> is a good value for SD. Ideally this is proportional to video size, for example <code>videoheight/12</code></dd>
|
||||
<dt>fontsize=<i>font_size </dt><dd> Set font size. <code>24</code> is a good value for SD. Ideally this is proportional to video size, for example use ffprobe to acquire video height and divide by 12</dd>
|
||||
<dt>text=<i>watermark_text</i> </dt><dd> Set the content of your watermark text. For example: <code>"text="FFMPROVISR HACK DAY NEVAR ENDS"</code></dd>
|
||||
<dt>fontcolor=<i>font_colour</i> </dt><dd> Set colour of font. Can be a text string such as <code>"fontcolor=white"</code> or a hexadecimal value such as <code>0xFFFFFF</code></dd>
|
||||
<dt>alpha=0.4</dt><dd> Set transparency.</dd>
|
||||
<dt>x=w/2-tw/2:y=h/2-th/2"</dt><dd> Sets <i>x</i> and <i>y</i> coordinates for the watermark. These relative values will centre your watermark regardless of video dimensions.</dd>
|
||||
|
||||
<dt>fontcolor=<i>font_colour</i> </dt><dd> Set colour of font. Can be a text string such as <code>"fontcolor=white"</code> or a hexadecimal value such as <code>"fontcolor=0xFFFFFF"</code></dd>
|
||||
<dt>alpha=0.4</dt><dd> Set transparency value.</dd>
|
||||
<dt>x=w/2-tw/2:y=h/2-th/2</dt><dd> Sets <i>x</i> and <i>y</i> coordinates for the watermark. These relative values will centre your watermark regardless of video dimensions.</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dt><i>output_file</i></dt><dd>path, name and extension of the output file</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user