Page 1 of 1

Removing black borders from VlcControl in C# application

Posted: 15 Sep 2015 11:39
by RiccardoPar
Hi everyone, I'm trying to remove lack borders from a stream captured from a directhow device.
Here is the code used:

Code: Select all

using Vlc.DotNet.Core; using Vlc.DotNet.Core.Medias; using Vlc.DotNet.Wpf; public partial class CameraView { void CameraView_Opened(System.Object sender, System.EventArgs e) { string address = "dshow://"; VlcControl1.Media = new LocationMedia(address); VlcControl1.Media.AddOption(":sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100} :sout-all :sout-keep"); VlcControl1.Play(); }
This is the result:
https://drive.google.com/file/d/0B-1u3y ... sp=sharing

Anyone could help me?

Thank's
Riccardo

Re: Removing black borders from VlcControl in C# application

Posted: 16 Sep 2015 14:11
by RiccardoPar
Anyone knows how to solve this problem?

Bye
Riccardo