Jump to content

Imaging software grrrr.


Recommended Posts

Hi guys,

Ive just downloaded sharpcap to my XP O/S puter, but as soon as i run the program i get a massive list of errors come up 7 it fails to run...

Any input would be great to help solve this issue...

Cheers Ady

Link to comment
Share on other sites

Hi Robin,

As suggested here is the error txt i keep getting. Possibly something really simple & Me being A dumb bum...

SharpCap, Version=1.5.0.304, Culture=neutral, PublicKeyToken=null

System.Runtime.InteropServices.COMException (0x80070057): One or more arguments are invalid

at DirectShowLib.DsError.ThrowExceptionForHR(Int32 hr)

at SharpCap.Cameras.NewDirectShow.CaptureGraphBuilder.RenderStream(Guid pinCategory, IBaseFilter intermediate, IBaseFilter target)

at SharpCap.Cameras.NewDirectShow.CaptureProvider.StartPreview()

at SharpCap.MultiCaptureProvider.StartPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs:line 355

at SharpCap.SharpCapForm.StartPreviewOnSelectedDeviceLoadingDefaultProfile() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs:line 495

at SharpCap.SharpCapForm.InitializeFirstPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs:line 486

at SharpCap.SharpCapForm.timer1_Tick(Object sender, EventArgs e) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs:line 1256

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

===============================================================

Application Log (from start)

Warning: 16:08:36.8593750 SharpCap.FocuserFinder.TryLoadFocuserProxy(FileInfo fi) :: Failed to loaded FocuserProxy assembly Sharpcap.FocuserProxy.ASCOM.dll because : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Debug: 16:08:37.3437500 SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize(IWin32Window previewTargetWindow) :: Started

Warning: 16:08:38.1718750 SharpCap.MultiCaptureProvider.AddProvider(IWin32Window targetWindowHandle) :: Could not load capture provider - SharpCap.Cameras.Basler.BaslerCaptureProvider - System.IO.FileNotFoundException: Could not load file or assembly 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a' or one of its dependencies. The system cannot find the file specified.

File name: 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a'

at PylonC.NETSupportLibrary.ImageProvider..ctor()

at SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize(IWin32Window previewTargetWindow) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.Basler\BaslerCaptureProvider.cs:line 91

at SharpCap.MultiCaptureProvider.AddProvider[T](IWin32Window targetWindowHandle) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs:line 71

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Debug: 16:08:38.1718750 SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize(IWin32Window previewTargetWindow) :: Started

Warning: 16:08:38.1718750 SharpCap.MultiCaptureProvider.AddProvider(IWin32Window targetWindowHandle) :: Could not load capture provider - SharpCap.Cameras.Basler.BaslerLXProvider - System.IO.FileNotFoundException: Could not load file or assembly 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a' or one of its dependencies. The system cannot find the file specified.

File name: 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a'

at PylonC.NETSupportLibrary.ImageProvider..ctor()

at SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize(IWin32Window previewTargetWindow) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.Basler\BaslerCaptureProvider.cs:line 91

at SharpCap.MultiCaptureProvider.AddProvider[T](IWin32Window targetWindowHandle) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs:line 71

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Debug: 16:08:38.3281250 SharpCap.DirectShow.Capture.Initialize() :: Started

Debug: 16:08:38.3281250 SharpCap.DirectShow.Capture.Initialize() :: Device notification registered

Debug: 16:08:38.3437500 SharpCap.DirectShow.Capture.Initialize() :: Ended

Error: 16:08:38.7812500 SharpCap.Base.Tracer.Trace(LogLevel level, String format, Object[] args) :: Exception from Loading implementation assemby : C:\Program Files\rwg\SharpCap\LXControllers\inpout32.dll : Could not load file or assembly 'file:///C:\Program Files\rwg\SharpCap\LXControllers\inpout32.dll' or one of its dependencies. The module was expected to contain an assembly manifest.

Stack Trace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)

at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)

at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)

at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)

at System.Reflection.Assembly.LoadFrom(String assemblyFile)

at SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Base\InterfaceFactory.cs:line 57

Extra Info:

Warning: 16:08:39.0468750 SharpCap.MultiCaptureProvider.AddProvider(IWin32Window targetWindowHandle) :: Could not load capture provider - SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider - System.IO.FileNotFoundException: Could not load file or assembly 'ASCOM.Utilities, Version=5.5.1.0, Culture=neutral, PublicKeyToken=565de7938946fba7' or one of its dependencies. The system cannot find the file specified.

File name: 'ASCOM.Utilities, Version=5.5.1.0, Culture=neutral, PublicKeyToken=565de7938946fba7'

at SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.Initialize(IWin32Window previewTargetWindow)

at SharpCap.MultiCaptureProvider.AddProvider[T](IWin32Window targetWindowHandle) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs:line 71

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Debug: 16:08:39.0625000 SharpCap.DirectShow.Capture.Initialize() :: Started

Debug: 16:08:39.0625000 SharpCap.DirectShow.Capture.Initialize() :: Device notification registered

Debug: 16:08:39.0625000 SharpCap.DirectShow.Capture.Initialize() :: Ended

Info: 16:08:41.5156250 SharpCap.Cameras.NewDirectShow.DeviceEnumerator.GetDeviceMenuItems() :: Adding device : VideoMate TV Capture to menu

Debug: 16:08:41.5468750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Started

Info: 16:08:41.5468750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Getting list of available decives

Debug: 16:08:41.5781250 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Device enumerator created OK

Debug: 16:08:41.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Video class enumerator created OK

Debug: 16:08:41.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Investigating device : @device:pnp:\\?\pci#ven_1131&dev_7134&subsys_c200185b&rev_01#4&13699180&0&3848#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba720700}

Info: 16:08:41.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Adding device : VideoMate TV Capture to menu

Info: 16:08:41.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Completed video enumeration - found 1 devices.

Debug: 16:08:41.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Ended

Debug: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Started

Info: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Getting list of available decives

Debug: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Device enumerator created OK

Debug: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Video class enumerator created OK

Debug: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Investigating device : @device:pnp:\\?\pci#ven_1131&dev_7134&subsys_c200185b&rev_01#4&13699180&0&3848#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba720700}

Info: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Adding device : VideoMate TV Capture to menu

Info: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Completed video enumeration - found 1 devices.

Debug: 16:08:41.6093750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Ended

Info: 16:08:41.6250000 SharpCap.Cameras.NewDirectShow.DeviceEnumerator.GetDeviceMenuItems() :: Adding device : VideoMate TV Capture to menu

Debug: 16:08:41.8125000 SharpCap.SharpCapForm.ApplyDefaultProfile() :: Started

Debug: 16:08:41.8125000 SharpCap.SharpCapForm.ApplyDefaultProfile() :: Ended (No default defined for this camera)

Error: 16:08:42.9062500 System.Runtime.InteropServices.COMException (0x80070057): One or more arguments are invalid

at DirectShowLib.DsError.ThrowExceptionForHR(Int32 hr)

at SharpCap.Cameras.NewDirectShow.CaptureGraphBuilder.RenderStream(Guid pinCategory, IBaseFilter intermediate, IBaseFilter target)

at SharpCap.Cameras.NewDirectShow.CaptureProvider.StartPreview()

at SharpCap.MultiCaptureProvider.StartPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs:line 355

at SharpCap.SharpCapForm.StartPreviewOnSelectedDeviceLoadingDefaultProfile() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs:line 495

at SharpCap.SharpCapForm.InitializeFirstPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs:line 486

at SharpCap.SharpCapForm.timer1_Tick(Object sender, EventArgs e) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs:line 1256

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Cheers Ady

Link to comment
Share on other sites

Could be that your device isn't supported. From the log it looks like you are using a tv capture device. This may be supported by the old direct show code in sharpcap, but isn't in the latest update.

You can try using the old code by holding down control when sharpcap is starting to stop it from automatically connecting to the device. Then go to the devices menu and chose the second copy of your device that appears in the menu in the old code section.

If that doesn't help then there isn't much I can do to help as I don't have that type of device to ready with.

Robin

Sent from my GT-I9000 using Tapatalk

Link to comment
Share on other sites

are you sure you got the xp version ay in that clive the other nigt whilst we was out sidesharp cap was on a wobble kept crashing and would only run at 10 frames per sec ,runs fine on my laptop thst as windows xp on but windows seven wa on one

Link to comment
Share on other sites

Just a quick thanks guys got the problem sorted now. It was a TV card i had installed to put video onto dvd that was causing the problems...

just need some clear skies to test things out now....

Cheers again

Link to comment
Share on other sites

That's good news - Sharpcap was trying to preview the first device it found, which happened to be the TV capture card, and the failure was causing a crash. I have made a change for the next version which will mean that this failure to start the camera when the program starts will just show an error message box and allow you to select the correct camera.

cheers,

Robin

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.