How to extract subtitles from a Blu-ray and convert to srt or sub/idx ...

How to extract subtitles from a Blu-ray and convert to srt or sub/idx ...