Recently I was assigned a task of controlling subtitles in video player written in C# (using DirectShowLib). After searching for a while I've found a solution - to use an already implemented subtitle rendering filter, which supports a lot of different formats. But I needed to control it somehow in player - and here COM Interop comes in rescue. So first of all I downloaded DirectVobSub source code to write correct COM interface definition. And that's what I've got:
After having interface definition, controlling subtitles becomes very simple.
Please note, that DirectVobSub filter should be installed on your machine.
Підписатися на:
Дописати коментарі (Atom)
Немає коментарів:
Дописати коментар