user17462: Hey guys how can I add box around subtitle like on picture with ffmpeg
here is mi current command
ffmpeg -i movie.mkv -strict -2 -vf "subtitles=subtitle.srt:force_style='FontName=ubuntu,fontsize=30',scale=720:-1" -qscale:v 3  Movie.avi



user1871: Use
ffmpeg -i movie.mkv -strict -2 -vf "subtitles=subtitle.srt:force_style='FontName=ubuntu,fontsize=30,BorderStyle=3,OutlineColour=&H80000000',scale=720:-1" -qscale:v 3  Movie.avi

See Style Fields and Data Types for tag info and color syntax.

17462: <p>Hey guys how can I add box around subtitle like on picture with ffmpeg
here is mi current command</p>

<pre><code>ffmpeg -i movie.mkv -strict -2 -vf "subtitles=subtitle.srt:force_style='FontName=ubuntu,fontsize=30',scale=720:-1" -qscale:v 3  Movie.avi
</code></pre>

<p><a href="https://i.stack.imgur.com/D8RpT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D8RpT.png" alt="enter image description here"></a></p>
 1871: <p>Use</p>

<pre><code>ffmpeg -i movie.mkv -strict -2 -vf "subtitles=subtitle.srt:force_style='FontName=ubuntu,fontsize=30,BorderStyle=3,OutlineColour=&amp;H80000000',scale=720:-1" -qscale:v 3  Movie.avi
</code></pre>

<p>See Style <a href="http://fileformats.wikia.com/wiki/SubStation_Alpha#Fields" rel="nofollow noreferrer">Fields</a> and <a href="http://fileformats.wikia.com/wiki/SubStation_Alpha#Data_types" rel="nofollow noreferrer">Data Types</a> for tag info and color syntax.</p>
