I have an SRT file and want to change the background color and level of transparency for individual tracks. Is this possible, or would I have to adopt a more advanced format? Would this task even work in FFMPEG?
1
0:0:1,440 --> 0:0:1,970 Y1:20
<font color="#FF1F497D">{\an2}the settlement?</font>
2
0:0:2,640 --> 0:0:3,150 Y1:20
<font color="#FFC0504D">{\an2}Yes.</font>
3
0:0:3,740 --> 0:0:4,690 Y1:20
<font color="#FFFFFFFF">{\an2}Have you been waiting long?</font>
Use ASS format. It's more advanced and more complicated but it can do what you want.
You can use Aegisub to make or convert the subtitles.
Or
ffmpeg
can convert SRT to ASS and you can manually add tags.Example ASS file: