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

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
luchao
New Cone
New Cone
Posts: 1
Joined: 11 Mar 2012 08:11

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

Postby luchao » 11 Mar 2012 08:28

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?

groupThink
New Cone
New Cone
Posts: 1
Joined: 20 Mar 2012 16:59

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

Postby groupThink » 20 Mar 2012 17:01

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.

drdim
New Cone
New Cone
Posts: 3
Joined: 27 Feb 2012 05:51

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

Postby drdim » 22 Mar 2012 07:40

+1
"crop=1500:1000"

zonch
New Cone
New Cone
Posts: 1
Joined: 26 Mar 2012 16:22

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

Postby zonch » 26 Mar 2012 16:26

+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!

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

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

Postby RSATom » 26 Mar 2012 18:11


omarTantawe
New Cone
New Cone
Posts: 1
Joined: 27 Dec 2020 13:50

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

Postby omarTantawe » 27 Dec 2020 14:15

+1 i want to rotate the video but it never takes effect
":video-filter=rotate{angle=180}"


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 13 guests