How to configure scene video filter in ActiveX

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
stefo
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Nov 2006 14:54

How to configure scene video filter in ActiveX

Postby stefo » 20 Jun 2013 15:02

Hello,

I am using ActiveX control in Visual Studio (C#). I compiled VLC to unable unsecure options.

I am using this code:

string[] options1;
options1 = new string[11];
options1[0] = ":dshow-vdev=Decklink Video Capture";
options1[1] = ":dshow-adev=none";
options1[2] = ":dshow-chroma=UYVY";
options1[3] = ":dshow-size=1920x1080";
options1[4] = ":dshow-fps=25.000000";
options1[5] = ":aspect-ratio=16:9";
options1[6] = ":video-filter=scene";
options1[7] = ":scene-format=jpg";
options1[8] = ":scene-prefix=vlcsnap";
options1[9] = ":scene-path=D:\\";
options1[10] = ":scene-ratio=3";

axVLCPlugin21.playlist.add("dshow://", null, options1);
axVLCPlugin21.playlist.playItem(0);

Everything worked well up to version 2.0.0, but from this VLC version this options for video filter scene is not working.

I observed that command line accepted this syntax (vlc version 2.0.x):

vlc dshow:// :dshow-vdev="Decklink Video Capture" :dshow-adev= :dshow-chroma="UYVY" :dshow-size=1920x1080 :dshow-fps=25.000000 :aspect-ratio=16:9 --video-filter scene --scene-format jpg --scene-prefix vlcsnap --scene-ratio 3 --scene-path D:\

I cannot use this syntax, which was valid up to version 2.0.0

vlc dshow:// :dshow-vdev="Decklink Video Capture" :dshow-adev= :dshow-chroma="UYVY" :dshow-size=1920x1080 :dshow-fps=25.000000 :aspect-ratio=16:9 :video-filter=scene :scene-format=jpg :scene-prefix=vlcsnap :scene-path=D:\ :scene-ratio=3

I could define options by charakter ":" (:video-filter=scene ) up to vlc version 2.0.0. From 2.0.0 i have to use global option by charakter "--". I tried to use this option (--) in activex, but no result.

Does enybody have any ideas why I can not use video filter scene in active x.

Thanks in advance

stefo

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests