I'm working on a WPF application that displays video clips as part of the workflow. I'm doing this by using MediaElement to play locally hosted (not streamed) AVI files. Works great.
However, I was just handed a new requirement to allow the display of subtitles while the clip is playing. I have no idea of the best way to go about this. I'm vaguely aware that WMP has the ability to display separate subtitle files when a clip is playing, but I don't know if WPF supports this?
Can I do this natively in WPF? If not, what are my options?
My fallback approach would be to require the client to bake the subtitles directly into the video file, but I'd prefer to find a better way to handle this.