It wasn't clear if you were talking theoretically or practically, i.e. if you already had the file or just asking in general.
If it in fact has embedded subtitles then you could for example even use the trial version of Final Cut Pro to extract them as well.