VSFilter / DirectVobSub plugin

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
misake
Posts: 4
Joined: Sun Jan 04, 2009 5:50 pm

VSFilter / DirectVobSub plugin

Post by misake » Sun Jan 11, 2009 9:24 pm

Hi,
I am attempting to write a plugin to control VSFilter, to allow neat changing of subtitles with an on screen response.

I have found the COM interfaces available here:
http://guliverkli2.svn.sourceforge.net/ ... h?view=log

However I don't really know what I'm doing (not that it's going to stop me :s).

I had a quick look over the other plugins and it doesn't seem that any of them obviously use COM to communicate with the target software,
so was wondering if anyone knew of some examples?

Thanks

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: VSFilter / DirectVobSub plugin

Post by Bartman » Sun Jan 11, 2009 9:31 pm

The DVBViewer plugin uses COM.

misake
Posts: 4
Joined: Sun Jan 04, 2009 5:50 pm

Re: VSFilter / DirectVobSub plugin

Post by misake » Sun Jan 11, 2009 10:09 pm

that looks simple enough,
Thank you.

ZORAX
Posts: 1
Joined: Sat May 30, 2009 4:04 pm

Re: VSFilter / DirectVobSub plugin

Post by ZORAX » Sat May 30, 2009 4:06 pm

So, have you found a way to control DirectVobSub using EventGhost?

I would specially like the ability to resize subtitles during the movie, since Zoom Player already is capable of moving them up and down.

pcjco
Posts: 1
Joined: Fri Jul 10, 2009 8:12 pm

Re: VSFilter / DirectVobSub plugin

Post by pcjco » Fri Jul 10, 2009 8:41 pm

I am also interested in controlling vsfilter with EG (vsfilter loaded by mediaplayerclassic). But I know very few about python and COM.
I had a look at DVBViewer and here is what I understand : it seems that this plugin first launch dvbviewer.exe then it retrieves something with EnsureDispatch("DVBViewerServer.DVBViewer") and the COM stuff seems to start from there.

So it seems that a plugin for vsfilter should first retrieve the application that launched vsfilter (such as MPC) and then try to retrieve all the DirectShow filters on the video to get vsfilter.
Somebody has ideas or code snippets to help ?

Post Reply