AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

VideoFileReader - Exception when using sample code

Forum to discuss AForge.NET Framework, its features, API, how-tos, etc.

VideoFileReader - Exception when using sample code

Postby JoeyJoe » Tue Jun 28, 2016 10:28 pm

I am testing out the VideoFileReader sample code found here: http://www.aforgenet.com/framework/docs ... 4c1c2a.htm

When I run this, I get the following exception on the "videoFrame.Dispose();" line

An unhandled exception of type 'System.NullReferenceException' occurred in WindowsFormsApplication1.exe

Additional information: Object reference not set to an instance of an object.


Does anyone know why this might be?

EDIT: I had loaded a video less than 100 frames!
JoeyJoe
 
Posts: 4
Joined: Tue Jun 28, 2016 10:25 pm



Return to AForge.NET Framework