Questions tagged [libvlcsharp]

LibVLCSharp is a cross-platform audio and video API for .NET platforms based on VideoLAN's LibVLC Library. It provides a comprehensive multimedia API that can be used across mobile, server and desktop to render video and output audio as well as encode and stream.

The official repository URL for this repo is https://code.videolan.org/videolan/LibVLCSharp.

Check out libvlc-nuget to get a basic understanding of how libvlc works, what it can offer and how to install it with NuGet. Some of the features include:

  • Play every media file formats, every codec and every streaming protocols
  • Run on every platform, from desktop (Windows, Linux, Mac) to mobile (Android, iOS) and TVs
  • Hardware and efficient decoding on every platform, up to 8K
  • Network browsing for distant filesystems (SMB, FTP, SFTP, NFS...) and servers (UPnP, DLNA)
  • Playback of Audio CD, DVD and Bluray with menu navigation
  • Support for HDR, including tonemapping for SDR streams
  • Audio passthrough with SPDIF and HDMI, including for Audio HD codecs, like DD+, TrueHD or DTS-HD
  • Support for video and audio filters
  • Support for 360 video and 3D audio playback, including Ambisonics
  • Able to cast and stream to distant renderers, like Chromecast and UPnP renderers.

Most things you can achieve with the regular VLC desktop app, you can also achieve using libvlc.

Supported platforms Mono, .NET Framework and .NET Core runtimes are supported.

Xamarin.Android
Xamarin.iOS
Xamarin.tvOS
Xamarin.Mac (Cocoa)
Windows Classic (WPF, WinForms, GTK)
Windows Universal (UWP for Desktop, mobile and Xbox)
Linux including desktop, server and Raspberry Pi (GTK)
Xamarin.Forms
Uno Platform (UWP, Android, iOS)
.NET Standard 1.1 and 2.0
.NET Framework 4.0 and later
.NET Core (including ASP.NET Core)
Unity3D
    Windows Classic
212 questions
0
votes
1 answer

Get program information from Libvlcsharp (dvb-t)

I have a requirement to take a dvb-t feed into a system then be able to push out channels over a local network as an rtsp stream in a dot net core environment. LibVLCSharp seems to fit the bill nicely but I'm getting caught up trying to determine…
0
votes
0 answers

Can't see video player controls using `libvlcsharp`

I'm using libvlcsharp to play video, in iOS controls are showing but in android there are white boxes instead of controls. Kindly help Here is XAML
0
votes
0 answers

How does one play higher resolution videos (4k and higher) in VLC (desktop app and Unity)?

I'm trying to get a 360 streamed video to play at its full (4k) resolution. I did do previous searching and found the below thread but it didn't answer my question. How do I adjust the video resolution? My end goal is to integrate this into vlc…
0
votes
0 answers

Can't get the LibVlcSharp UWP Sample to work with local media

I downloaded Libvlcsharp-3.x and ran the Uwp sample(Vs2017) and it worked. However when I changed the media source to a local file and the 'FromType' to FromType.FromPath it runs but no video and no sound. My Solution Configuration=Debug and…
0
votes
2 answers

c# Play a second video file using Vlc.DotNet.Forms

I am hoping someone can help me, i want to play another video file, however when i double click another video file it doesnt play it and just shows the last frame from the first video file. i am not sure what i am doing wrong. below is my code…
Vijay Yadav
  • 91
  • 13
0
votes
1 answer

LibVLCSharp record while streaming

I am trying to implement a record button into my LibVLC rtsp stream. The recording works but when i try to record it it only records the RTSP stream for 3 seconds and when it does the recording the stream stops completely. How do I make it stream…
xsdysx
  • 1
  • 1
0
votes
0 answers

Issues while Streaming rtsp video on Raspberry Pi4 using VLC Library

I am developing an app in C# and running it through mono on raspberry pi4. This app will play the RTSP stream on the form and also I need to capture the image out the video. I am using the libVLCSharp library to stream the video. I am able to…
0
votes
2 answers

using LibVLCSharp on asp.net core razor page

Ho we use LibVLCSharp on an Asp.net core razor page ? I have looked at the LibVLCSharp.NetCore.Sample sample, which is an asp.net core console app i tried to crate an asp.net core webapplication and try to modify the example to display the video on…
0
votes
1 answer

xamarin.forms, integration with libvlcsharp

did someone know how to solve this? I created Xamarin.forms project with UWP, Android and IOS Everytime when I try to run project get this error "LibVLCSharp.Shared.VLCException: 'Failed to load libvlc.dll, error 126. Please make sure that this…
0
votes
0 answers

libvlcsharp controls Fonts not found ie Icons like play pause fast forward(IOS)

I created a project i am using libvlcsharp with xamarin forms project in android controls are seen but in IOS i see Question marks instead of control icons please help me out i have included all font files as well any lead will be helpful my ui…
0
votes
1 answer

Can I use libVLCSharp to render video frames into memory?

Is it possible to render video into memory in real time and take frames when I need them? Can Hardware acceleration be used in this case?
Michal Dobrodenka
  • 1,104
  • 8
  • 27
0
votes
2 answers

How to create LibVLCSharp custom playback controls in Xamarin Forms?

I've been searching for days now for a guide on how to create the custom playback controls for LibVLCSharp that everyone seems to talk about, which I never found a guid for. I simply want to create other buttons with event handlers for the bottom…
0
votes
1 answer

Winforms VLC Player Streaming Image Distortion

I m using Vlc player in my winforms application and it generally works fine. But time to time video image is distorted (right image) Anyone has solution for this ? I also checked MediaPlayerEncounteredError event but it also doesnt throw. Im using…
albatross
  • 455
  • 2
  • 8
  • 27
0
votes
3 answers

How to Intercept errors and change the style of libvlcsharp xamarin forms

I have correctly implemented LibVlcSharp in my Xamarin.Forms project. using (var _libVLC = new LibVLC()) { var media = new Media(_libVLC, _link, FromType.FromLocation); myvideo.MediaPlayer = new…
0
votes
1 answer

Play Youtube video width LibVLCSharp + xamarin forms

I using libCLCSharp and xamarin forms to playvideo. With this url below is OK. but when i replace by an youtuble video it can not to play. how can i do it. Thanks my code: _libvlc = new LibVLC(); var media = new Media(_libvlc,…