Answers.Body: <p>You need to increase value of shadow, like <code>&quot;Shadow=10&quot;</code> and you will add padding to your BG.</p>
  <p><a href="https://i.sstatic.net/1ah9t.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1ah9t.png" alt="enter image description here" /></a></p>
  <p><a href="https://stackoverflow.com/questions/25870169/how-to-set-background-to-subtitle-in-ffmpeg">Here</a> you can read more about this.</p>
  <p>As I know, no way to change x,y axis separately for BG size.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-13T10:04:15.643Z
Answers.LastActivityDate: 2022-05-13T10:04:15.643Z
Answers.UserDisplayName: Viktor Liashenko
Body: <p>Using command :</p>
  <pre><code>ffmpeg -i source_video_path.mp4 -vf &quot;subtitles=srt_source.srt:force_style='OutlineColour=&amp;H80000000,BorderStyle=4,BackColour=&amp;H80000000,Outline=0,Shadow=0,MarginV=25,Fontname=Arial,Fontsize=10,Alignment=2'&quot; video_destination.mp4
  </code></pre>
  <p>I get</p>
  <p><a href="https://i.sstatic.net/uqgcb.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uqgcb.png" alt="enter image description here" /></a></p>
  <p>Ideally I would like to increase the subtitles background padding - especially horizontally.</p>
  
Tags: <ffmpeg><subtitles>
Title: Is it possible to increase horizontal and vertical padding on ffmpeg burned subtitles - using .srt format?
UserDisplayName: Dr. House
ThreadText: # Is it possible to increase horizontal and vertical padding on ffmpeg burned subtitles - using .srt format?
  
  (Asked by: username_0 on 2022-05-06)
  
  Using command :
  
  ```
  ffmpeg -i source_video_path.mp4 -vf "subtitles=srt_source.srt:force_style='OutlineColour=&H80000000,BorderStyle=4,BackColour=&H80000000,Outline=0,Shadow=0,MarginV=25,Fontname=Arial,Fontsize=10,Alignment=2'" video_destination.mp4
  
  ```
  
  I get
  
  [![enter image description here](https://i.sstatic.net/uqgcb.png)](https://i.sstatic.net/uqgcb.png)
  
  Ideally I would like to increase the subtitles background padding - especially horizontally.
  
  **Tags:** ffmpeg, subtitles
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-05-13. Score: 3 | Accepted answer
  
  You need to increase value of shadow, like `"Shadow=10"` and you will add padding to your BG.
  
  [![enter image description here](https://i.sstatic.net/1ah9t.png)](https://i.sstatic.net/1ah9t.png)
  
  [Here](https://stackoverflow.com/questions/25870169/how-to-set-background-to-subtitle-in-ffmpeg) you can read more about this.
  
  As I know, no way to change x,y axis separately for BG size.
  
  
  ---
  
  