Open carlosast opened 5 years ago
Have you included the System.Drawing and Accord.Video.FFMPEG libraries in your project through Nuget? That may be what your issue is for both.
Accord.Video.FFMPG package has no target for .NET Core/Standard and I think there is good reason for that. This library is tightly coupled with third party video codecs, so probably this is the reason. You can use Accord.Video.VFW, maybe that could help you.
okay. So Accord.Net seems to be dead. Sad.
okay. So Accord.Net seems to be dead. Sad.
Hm i wouldn't be so hasty with conclusions, Lets give him little bit of time for that license "port" to MIT.
What would you like to submit? (put an 'x' inside the bracket that applies)
Accord.Video.FFMPG makes a reference to 'CoreCompat.System.Drawing'. Error: Severity Code Description Project File Line Suppression State Error CS0012 The type 'Bitmap' is defined in an assembly that is not referenced. You must add a reference to assembly 'CoreCompat.System.Drawing, Version = 0.0.0.0, Culture = neutral, PublicKeyToken = null'
How to play: var stream = new ScreenCaptureStream (screenArea); stream.NewFrame + = Stream_NewFrame;
private void Stream_NewFrame (object sender, NewFrameEventArgs and) { videoWriter.WriteVideoFrame (e.Frame); // ERROR e.Frame }
Also does not recognize the VideoFileWriter class
I believe it is necessary to create a new version of the Accor.Video.FFMPG Package
Thank you