我得到空引用的異常,當我在C#中使用Emgu嘗試捕獲視頻從avi文件創建捕獲。無法在Emgu
捕捉捕捉=新的捕捉( 「somepath.avi」)
我有我的操作系統上安裝K-精簡版編解碼器。 這裏的堆棧跟蹤:
> at Emgu.CV.Capture..ctor(String fileName)
>
> at HelloWorld.Program.Main() in D:\5th year stuff\1st Semester\Computer
> Vision\libemgucv-2.1.0.793-win64\Emgu.CV.Example\HelloWorld\Program.cs:line
> 30
>
> at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
>
> at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
>
> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
>
> at System.Threading.ThreadHelper.ThreadStart()
請發佈完整的堆棧跟蹤。構造函數必須拋出異常,但我們不知道爲什麼... – 2010-12-13 14:22:05