Question: OGG Video + Subtitles?

Hello Unity community,

actually I’m sitting in front of my linux and cannot test Unity at the moment, so I ask instead. Maybe anybody know.

AFAIK Unity natively supports playback of OGG videos. Does this include displaying subtiles from a .srt to a video playback?

Or would we have to render the subtitles hardcoded into the video?

Kind regards,
BlackHornet

You’d either have to write an .srt parser yourself in C# (actually shouldn’t be that difficult, as srt is a very simple format), and then render the text using a GUIText or GUI.Label, or hardcode the subtitles into the video.