Removing black borders from VlcControl in C# application
Posted: 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:
This is the result:
https://drive.google.com/file/d/0B-1u3y ... sp=sharing
Anyone could help me?
Thank's
Riccardo
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();
}
https://drive.google.com/file/d/0B-1u3y ... sp=sharing
Anyone could help me?
Thank's
Riccardo