Page 1 of 1

Parameter “options” does not work in function playlist.add()

Posted: 11 Mar 2012 08:28
by luchao
I am using vlc activex plugin v2 in a C# project and I have a video file which is yuv format. I have to set some parameters manually to play it normally.If I open vlc.exe directly and add a video file and set the parameters to ":rawvid-width=352 :rawvid-height=288 :rawvid-chroma=I420", it works fine. But when I want to play it in my winform project.The P\parameter “options” does not work in function playlist.add(string uri, object name = Type.Missing, object options = Type.Missing).
Here is my code: string[] options = new string[] { ":rawvid-width=352", ":rawvid-height=288", ":rawvid-chroma=I420" };
this.axVLCPlugin21.playlist.add("file:///D:/1.yuv" , Type.Missing, options);
this.axVLCPlugin21.playlist.play();
I know that for some security issues, the parameter "options" does not support some specific types, but what I do is just to adjust the width, height and chroma of the video. Can someone help me?

Re: Parameter “options” does not work in function playlist.a

Posted: 20 Mar 2012 17:01
by groupThink
I concur. I've tried every possible way of providing the options but none work.

In particular I went the video to ":autoscale=1"

Please help community.

Re: Parameter “options” does not work in function playlist.a

Posted: 22 Mar 2012 07:40
by drdim
+1
"crop=1500:1000"

Re: Parameter “options” does not work in function playlist.a

Posted: 26 Mar 2012 16:26
by zonch
+1 I use version of VLC 2.0.1 and 2.0.0 with Activex
I set option vout wingdi (cause vlc can play only with this option on my computer) and vlc doesn't aplly this option!
Help!How can i set option "use winGDI output" to activex???
Give me the link or some code!
Thank you!

Re: Parameter “options” does not work in function playlist.a

Posted: 26 Mar 2012 18:11
by RSATom

Re: Parameter “options” does not work in function playlist.add()

Posted: 27 Dec 2020 14:15
by omarTantawe
+1 i want to rotate the video but it never takes effect
":video-filter=rotate{angle=180}"