Search found 9 matches

Go to advanced search

by karnati8
13 Nov 2020 09:45
Forum: Development around libVLC
Topic: LibVLCSharp - ignores preferred-quality setting (Youtube)
Replies: 1
Views: 560

LibVLCSharp - ignores preferred-quality setting (Youtube)

I cannot get LibVLCSharp to display youtube streams with a lower preferred quality. I init LibVLC like so: LibVLC _libVLC = new LibVLC("--preferred-resolution=240"); and then use the VideoView control to display the stream. The URL that I've test with: https://www.youtube.com/watch?v=FbVen...
by karnati8
10 Nov 2020 13:05
Forum: Development around libVLC
Topic: LibVLCSharp not playing youtube videos
Replies: 11
Views: 1911

Re: LibVLCSharp not playing youtube videos

Thank you mfkl! It works now. I've blindly used the documented example without thinking that the using would dispose the mediaplayer before it started to play the video.
Much appreciated.
by karnati8
10 Nov 2020 08:51
Forum: Development around libVLC
Topic: LibVLCSharp not playing youtube videos
Replies: 11
Views: 1911

Re: LibVLCSharp not playing youtube videos

Ah, I forgot the Properties folder. Added it. Please try again.
by karnati8
09 Nov 2020 08:35
Forum: Development around libVLC
Topic: LibVLCSharp not playing youtube videos
Replies: 11
Views: 1911

Re: LibVLCSharp not playing youtube videos

Thanks mfkl, I have replaced the lua with this version before but it does not make a difference in my test app. Just to be clear, although all youtube videos play very well inside VLC on my machine, NO youtube videos plays in my test app that I've shared above. It is not specific to this url. I can ...
by karnati8
04 Nov 2020 18:32
Forum: Development around libVLC
Topic: LibVLCSharp not playing youtube videos
Replies: 11
Views: 1911

Re: LibVLCSharp not playing youtube videos

The url is in the code that I've shared.
Here it is anyway:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
by karnati8
04 Nov 2020 07:38
Forum: Development around libVLC
Topic: axvlcplugin2 option not working. Help me pls !
Replies: 3
Views: 582

Re: axvlcplugin2 option not working. Help me pls !

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.p...
by karnati8
03 Nov 2020 14:15
Forum: Development around libVLC
Topic: LibVLCSharp not playing youtube videos
Replies: 11
Views: 1911

LibVLCSharp not playing youtube videos

I cannot get a youtube video to play with LibVLCSharp. I followed the documented example but it still doesn't work. I have a checkbox on my form (chkYouTube) with which I indicate that the url is a youtube url. Any other links work fine (which uses the else part of the if statement below). At one st...
by karnati8
03 Nov 2020 13:19
Forum: Development around libVLC
Topic: axvlcplugin2 option not working. Help me pls !
Replies: 3
Views: 582

Re: axvlcplugin2 option not working. Help me pls !

@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=FbVennP7Sqw&...

Go to advanced search