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

Ideally I would like to increase the subtitles background padding - especially horizontally.

1 Answer 1


You need to increase value of shadow, like "Shadow=10" and you will add padding to your BG.

enter image description here

Here you can read more about this.

As I know, no way to change x,y axis separately for BG size.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.