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

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
mophat
Blank Cone
Blank Cone
Posts: 10
Joined: 08 Mar 2009 10:08

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

Postby mophat » 10 Apr 2009 23:29

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

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

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

Postby thannoy » 20 Apr 2009 15:08

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).

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

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

Postby thannoy » 24 Apr 2009 09:44

Maybe your problem is related to this one: viewtopic.php?f=16&t=57716


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests