Page 1 of 1

Deinterlace doesnt work with the ActiveX and on a C# Winform

Posted: 10 Apr 2009 23:29
by mophat
Hi i have this test code for playing a stram in the LAN.

All works fine, just the deinterlacer is off... !?!?

private void playStream()
{
string[] options = new string[1];
options[0] = ":deinterlace-mode=x";
axVLCPlugin1.addTarget("http://mediacenter:8080/TvServer/TimeSh ... nelId=2456;", options, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0);
axVLCPlugin1.play();
}

How can i pass the option that the deinterlacer should use the "X" or "BOB"?

Thanks for the feedback :geek:
MoPhat

Re: Deinterlace doesnt work with the ActiveX and on a C# Winform

Posted: 20 Apr 2009 15:08
by thannoy
You should use VLCPlugin2 (1 is deprecated).

You will find the API documentation here: http://wiki.videolan.org/Documentation: ... lla_plugin
The VLCPlugin2 have the same API as mozplug, in which you can call:

Code: Select all

vlc.playlist.add(url, foo_name, options);
You can see options as a string like command line, so something like (roughly):

Code: Select all

vlc.playlist.add(url, "my stream", ":vout-filter=deinterlace --deinterlace-mode=blend");
Call "vlc -H" on command line to get the command-line help. Use either "--" or ":" prefix for options I think. First legacy stands for "global" (but not sure it will be there) and second is for "this item only" (maybe better choice).

Re: Deinterlace doesnt work with the ActiveX and on a C# Winform

Posted: 24 Apr 2009 09:44
by thannoy
Maybe your problem is related to this one: viewtopic.php?f=16&t=57716