libsubtitles-perl

apt install libsubtitles-perl

Comes with a ‘subs’ cli utility, conversion from 23.97 to 25 fps might look like

subs -a 23.97/25 sub.srt -o sub25.srt