Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-14T16:34:29.623Z
Answers.LastActivityDate: 2016-12-14T16:34:29.623Z
Answers.UserDisplayName: Gyan
Body: <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.sstatic.net/D8RpT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/D8RpT.png" alt="enter image description here"></a></p>
  
Tags: <ffmpeg><filter><linux>
Title: Add semi-transparent box around subtitle
UserDisplayName: Slobodan Vidovic
ThreadText: # Add semi-transparent box around subtitle
  
  (Asked by: username_0 on 2016-12-14)
  
  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
  
  ```
  
  [![enter image description here](https://i.sstatic.net/D8RpT.png)](https://i.sstatic.net/D8RpT.png)
  
  **Tags:** ffmpeg, filter, linux
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-14. Score: 3 | Accepted answer
  
  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](http://fileformats.wikia.com/wiki/SubStation_Alpha#Fields) and [Data Types](http://fileformats.wikia.com/wiki/SubStation_Alpha#Data_types) for tag info and color syntax.
  
  
  ---
  
  