Reputation: 4443
I need to add control to my WPF application which will show video in real time from camera device in 720x580 resolution.
The main requirements:
I saw some controls in the internet. But i need to have some feedbacks about them. Please give advice if you used some. What control or library you prefer and which can meet my requirements. Thanks for replies
Upvotes: 1
Views: 3227
Reputation: 62
I can recommend ffmediaelement. I use to view video from capture device.
In the sample application, controls are located above the video, but I do not have a personal experience.
Example of setting up a capture device - it's very simple:
Media.OnMediaOpening(s, e) =>
{
e.Options.Input["framerate"] = "25";
e.Options.Input["video_size"] = "720x580";
e.Options.Input["pixel_format"] = "yuyv422";
};
Media.Source = new Uri("device://dshow/?video=Osprey-460e Video Device 1C");
Upvotes: 2