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
3 answers

How to remove video black bands in videoView with LibVlcSharp?

when I play a video with video, it presents black bands in the top and bottom part of the video, like in image in the URL https://i.stack.imgur.com/7CTbl.jpg. I'd like to remove the bands and display just the video in an absolute layout. how can I…
Giuseppe Pennisi
  • 396
  • 3
  • 22
0
votes
1 answer

Xamarin Forms - libvlcsharp fullscreen mode

Is there way to play video in fullscreen mode in Xamarin Forms with library - libvlcsharp ? I'm connecting to ip camera, the view is fine but not in fullscreen. I made code for double tap detection and now I'm looking for method to do it in…
DeviC3
  • 67
  • 1
  • 8
0
votes
1 answer

How to reproduce a second video with LibVLCSharp?

i'm trying to create a Popup page (using Rg.Plugin.Popup) that has to display a stream video got from an API. Everytime i navigate into this page, i want to display a different video, obtained from the API, based on parameters provided by the page I…
Giuseppe Pennisi
  • 396
  • 3
  • 22
0
votes
0 answers

Decoder is draining and auto shutdown

I am working on Xamarin.Android project with simple layout and streaming RTSP video from IP Camera. However, I checkout and build the official sample: RTSP…
Cheung
  • 15,293
  • 19
  • 63
  • 93
0
votes
0 answers

How can I stream video from UDP source and display on Android/iOS device with C# Xamarin

I need to stream video coming from my drone through UDP port and use some kind of video player to display on my Android/IOS device. I've already tried to use LIBVLC player to do it but got some issues. The problem with the LibVLC is that the…
Arman Avetisyan
  • 349
  • 2
  • 10
0
votes
2 answers

Android Save Live Video Stream to Storage using libvlc

I'm trying to save a live video stream to storage in Android App using libvlc. I can do it on PC with command line and it work fine, I record the file and can view it afterwards. But in the app the file records, it's only 151B big which is probably…
0
votes
1 answer

libvlc RTSP ip camera "libvlc demux: SETUP of'video/H264' failed 403 Forbidden" Qihan IP Camera Model:QH-NW357

IP camera streams to PC via VLC RTP over RTSP, but cannot stream to android app via libvlc using Xamarin.Forms I can stream the IP camera to my pc with VLC if I check the RTP over RTSP My app can stream RTSP the BigBuckBunny example via libvlc I…
0
votes
0 answers

Show video in mono application

I created simple desktop application in mono and I added control from LibVLCSharp project to show video and it works but the video is tugging itself on Raspberry Pi. Are in mono other possibilities to show fluently video? The code which I have and…
Art Base
  • 1,739
  • 3
  • 15
  • 23
0
votes
0 answers

Using vlc player in xamarin.android project

use LibVLCSharp in my project cause the video pixeled and grey screen I tried to add file-caching=1500 to media player with no success and you can see my code below this.VideoPath = extras.GetString(INTENT_KEY_PARAM_VIDEO_PATH); …
AAHN
  • 381
  • 1
  • 4
  • 18
0
votes
2 answers

How can I keep my RTSP stream alive longer than 60s using LibVLCSharp in Xamarin.Forms?

I'm implementing an RTSP player in a Xamarin.Forms app. The video plays in the VideoView for 60 seconds before the stream is stopped. According to the Videolan Command Line Help the default rtsp timeout is 60 seconds. I have been unable to override…
Michael Jedd
  • 44
  • 2
  • 7
-1
votes
1 answer

Taking snapshot Vlc.DotNet.Form to variable Bitmap in C#

We need to processing image in C# from UDP video stream. in project we can get image and save it to Path With vlcControl. We need to have this image in a variable and not inside a file on the hard drive. Please see my code…
-1
votes
1 answer

LibVLCSharp How To Determine Which DLLs Are Required By An Application?

I am using LibVLCSharp to play an RTSP stream in my Winforms application. The library is great and everything is working fine. However, my ram usage of the application jumped from around 20-30MB to around 140MB! In addition, I have to include about…
-1
votes
1 answer

VLC trancode avi to mp4 (h.264) not playable on iOS

I'm using VLC (vlckit) transcode media option but the mp4 is not playable within iOS natively (it does play on all other platforms): VLC Transcode logs: $":sout=#transcode{venc={module=avcodec{codec=h264_videotoolbox},…
voidsstr
  • 133
  • 1
  • 10
-1
votes
1 answer

Can VLC read a memorystream

I want to create an audio streaming server and changing the playlist dynamicly. My idea to solve this problem is using libvlcsharp and just put a memorystream as media into the mediaplayer and then stream from libvlcsharp to my nginx RTMP…
Innoszorn
  • 139
  • 1
  • 15
-1
votes
1 answer

Triying to run VLC for unity plugin demo

This is the repo: https://code.videolan.org/videolan/vlc-unity I was finally able to build the plugin, but when I try to run the example in unity, a couple of exceptions appear: Assets\VLC-Unity-Windows\Scripts\UseRenderingPlugin.cs(32,25): error…
1 2 3
14
15