I've got a problem, I have a .srt
subtitle file, as external and internal as a subtitle stream, it's easy to load/read the external file but how to read the internal file with .mkv/media
?
Extracting the .srt
file to a temporary folder is only a temporary solution. (Not implemented yet..)
I want to read the file directly from the subtitle stream, any Ideas how to do that?
I've written my own .srt
subtitle filter internally in my media player. Pure C# managed code
To add a little more clarification when you add SoftSubtitles
to a media file, then it adds the file to the media as a TextStream
and that's what I want to read.
I'm using MediaInfo.dll
to read the language of the subtitle streams TextStreams
but I can't read the actual subtitles..
To simplify the question even more, what I want is to read the subtitles just like I do with an external .srt
file, but reading it from a TextStream
is not as easy, because I can see it has a TextStream
but can't find it, so can't read the Subtitles
.
If Possible do you know any programs that can extract Subtitles
in to MemoryStream
then return the MemoryStream
to my program?? Without removing the TextStream
.
Does anyone know how the DirectSubVob
or FFDshow
load the TextStream
from the currently playing media??
Du you know of Library
that can extract Subtitles??