Reputation: 521
I am new in camera programming. For learning purpose I have download Accord-Framework C# source code.
Thus if we have JPG or MPEG Stream then we can easily display in Accord.Controls.VideoSourcePlayer.
But if we have FFMPEG Stream then how can we display in Accord.Controls.VideoSourcePlayer.
Please anyone can guide me?
Thanks in advance
Upvotes: 0
Views: 1383
Reputation: 67
ok you need this Library AForge.Video
https://www.nuget.org/packages/AForge.Video/ http://www.aforgenet.com/framework/downloads.html
Import it to your project
using AForge.Video;// first of all
private MJPEGStream mjpegSource;
// create video source add your url
mjpegSource = new MJPEGStream("http://localhost:8080");
// open it
OpenVideoSource(mjpegSource);
Upvotes: 1