Removing black borders from VlcControl in C# application

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
RiccardoPar
New Cone
New Cone
Posts: 2
Joined: 15 Sep 2015 11:20

Removing black borders from VlcControl in C# application

Postby RiccardoPar » 15 Sep 2015 11:39

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

RiccardoPar
New Cone
New Cone
Posts: 2
Joined: 15 Sep 2015 11:20

Re: Removing black borders from VlcControl in C# application

Postby RiccardoPar » 16 Sep 2015 14:11

Anyone knows how to solve this problem?

Bye
Riccardo


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 10 guests