axvlcplugin2 option not working. Help me pls !

This forum is about all development around libVLC.
wingchunna
New Cone
New Cone
Posts: 7
Joined: 25 Apr 2019 08:08

axvlcplugin2 option not working. Help me pls !

Postby wingchunna » 23 May 2019 08:19

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 !

karnati8
New Cone
New Cone
Posts: 9
Joined: 03 Nov 2020 13:14

Re: axvlcplugin2 option not working. Help me pls !

Postby karnati8 » 03 Nov 2020 13:19

@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);

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: axvlcplugin2 option not working. Help me pls !

Postby mfkl » 04 Nov 2020 03:59

Why are you using the axvlc plugin? It is unsupported, use an alternative if you can.
https://mfkl.github.io

karnati8
New Cone
New Cone
Posts: 9
Joined: 03 Nov 2020 13:14

Re: axvlcplugin2 option not working. Help me pls !

Postby karnati8 » 04 Nov 2020 07:38

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests