Screencap
Easily create screenshots + clips from movies with subtitles burnt in
What
Given a folder with a video file and accompanying srt file:
uvx screencap . --clip
and you get this, where you can get the exact lines you want:

If you pass --clip it will create a movie clip, otherwise it will create a screenshot with that subtitle burnt in.