Page 1 of 1

axvlcplugin2 option not working. Help me pls !

Posted: 23 May 2019 08:19
by wingchunna
Dear All
Im using axvlcplugin2 to play video and i need using option to play sound as input-slave. My code are :
string uri = "http://...."; // its video link
var options = ": input-slave=http://...." ; // its audio link
axVLCPlugin21.playlist.add(uri,"",options);
axVLCPlugin21.playlist.play();
It's stream but not audio. I saw that VLC could not play with options. If i used vlcdotnet library (vlcControl), its was run.
Maybe it's VLC activeX bug. pls show me how to fix it ?

if i used vlcdotnet to play, its was run options but i could not creat playlist and have controls : next song, repeat.... pls tell me how ?
Thank you !

Re: axvlcplugin2 option not working. Help me pls !

Posted: 03 Nov 2020 13:19
by karnati8
@wingchunna - Did you get thus working? I am having the same problem. The options are ignored.

I am doing the following and it is ignoring my options:

String[] options = { "--preferred-resolution=240" };
int id = axVLCPlugin21.playlist.add("https://www.youtube.com/watch?v=FbVennP ... e=youtu.be", "Test", options);
axVLCPlugin21.playlist.playItem(id);

Re: axvlcplugin2 option not working. Help me pls !

Posted: 04 Nov 2020 03:59
by mfkl
Why are you using the axvlc plugin? It is unsupported, use an alternative if you can.

Re: axvlcplugin2 option not working. Help me pls !

Posted: 04 Nov 2020 07:38
by karnati8
I know it is unsupported and definitely not my first choice to use the activex control, but at the moment it is the only control that I can get to show youtube streams inside my winforms app.
See my code and problem to get libvlcsharp working with youtube here:
https://forum.videolan.org/viewtopic.php?f=32&t=155390

If I can get the libvlcsharp working with youtube I will not need to set options on the activex control anymore as setting the options on libvlcsharp seems to work.

Thanks for asking anyway.