Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

SharpCap - free Astro Webcam Capture Software


rwg

Recommended Posts

  • Replies 1.5k
  • Created
  • Last Reply

Hi Robin,

i have just downloaded sharpcap, ver. 1.5 but after starting the prog, i got the following message:

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

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei SharpCap.Cameras.ASCOMCamera.CameraProxy.GetVideoS ize() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\Cam eraProxy.cs:Zeile 370.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider. GetVideoSize() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\Asc omCaptureProvider.cs:Zeile 210.

bei SharpCap.MultiCaptureProvider.GetVideoSize() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvi der.cs:Zeile 322.

bei SharpCap.UI.PreviewPanel.GetVideoRectangle() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\PreviewPanel.c s:Zeile 89.

bei SharpCap.MultiCaptureProvider.Current_RequestDispl ayRectangle() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvi der.cs:Zeile 169.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider. UpdatePictureBoxRect() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\Asc omCaptureProvider.cs:Zeile 250.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider. AddRenderBox() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\Asc omCaptureProvider.cs:Zeile 260.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider. StartPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\Asc omCaptureProvider.cs:Zeile 241.

bei SharpCap.MultiCaptureProvider.StartPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvi der.cs:Zeile 355.

bei SharpCap.SharpCapForm.StartPreviewOnSelectedDevice LoadingDefaultProfile() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.c s:Zeile 495.

bei SharpCap.SharpCapForm.InitializeFirstPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.c s:Zeile 486.

bei SharpCap.SharpCapForm.timer1_Tick(Object sender, EventArgs e) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.c s:Zeile 1256.

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

bei System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)

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

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

Application Log (from start)

Debug: 17:53:51.8593750 SharpCap.Cameras.Basler.BaslerCaptureProvider.Init ialize(IWin32Window previewTargetWindow) :: Started

Warning: 17:53:51.9375000 SharpCap.MultiCaptureProvider.AddProvider(IWin32Wi ndow targetWindowHandle) :: Could not load capture provider - SharpCap.Cameras.Basler.BaslerCaptureProvider - System.IO.FileNotFoundException: Die Datei oder Assembly "PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.

Dateiname: "PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a"

bei PylonC.NETSupportLibrary.ImageProvider..ctor()

bei SharpCap.Cameras.Basler.BaslerCaptureProvider.Init ialize(IWin32Window previewTargetWindow) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.Basler\Ba slerCaptureProvider.cs:Zeile 91.

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

WRN: Protokollierung der Assemblybindung ist AUS.

Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.

Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.

Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.

Debug: 17:53:51.9375000 SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize(IWin32Window previewTargetWindow) :: Started

Warning: 17:53:51.9375000 SharpCap.MultiCaptureProvider.AddProvider(IWin32Window targetWindowHandle) :: Could not load capture provider - SharpCap.Cameras.Basler.BaslerLXProvider - System.IO.FileNotFoundException: Die Datei oder Assembly "PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.

Dateiname: "PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a"

bei PylonC.NETSupportLibrary.ImageProvider..ctor()

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

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

WRN: Protokollierung der Assemblybindung ist AUS.

Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.

Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.

Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.

Debug: 17:53:51.9531250 SharpCap.DirectShow.Capture.Initialize() :: Started

Debug: 17:53:51.9687500 SharpCap.DirectShow.Capture.Initialize() :: Device notification registered

Debug: 17:53:51.9687500 SharpCap.DirectShow.Capture.Initialize() :: Ended

Error: 17:53:52 SharpCap.Base.Tracer.Trace(LogLevel level, String format, Object[] args) :: Exception from Loading implementation assemby : C:\Programme\rwg\SharpCap\LXControllers\inpout32.dll : Die Datei oder Assembly "file:///C:\Programme\rwg\SharpCap\LXControllers\inpout32.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Im Modul wurde ein Assemblymanifest erwartet.

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

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

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

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

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

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

Extra Info:

Debug: 17:53:52.0156250 SharpCap.DirectShow.Capture.Initialize() :: Started

Debug: 17:53:52.0156250 SharpCap.DirectShow.Capture.Initialize() :: Device notification registered

Debug: 17:53:52.0156250 SharpCap.DirectShow.Capture.Initialize() :: Ended

Info: 17:53:52.5625000 SharpCap.Cameras.NewDirectShow.DeviceEnumerator.GetDeviceMenuItems() :: Adding device : USB-Videogerät to menu

Debug: 17:53:52.5781250 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Started

Info: 17:53:52.5781250 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Getting list of available decives

Debug: 17:53:52.5781250 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Device enumerator created OK

Debug: 17:53:52.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Video class enumerator created OK

Debug: 17:53:52.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Investigating device : @device:pnp:\\?\usb#vid_064e&pid_e285&mi_00#7&32420cfd&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global

Info: 17:53:52.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Adding device : USB-Videogerät to menu

Info: 17:53:52.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Completed video enumeration - found 1 devices.

Debug: 17:53:52.5937500 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Ended

Error: 17:53:52.6406250 SharpCap.Base.Tracer.Trace(LogLevel level, String format, Object[] args) :: Exception from Creating ASCOM camera New Key 1 : Check Driver: cannot create object type of progID: New Key 1

Stack Trace: bei ASCOM.DriverAccess.MemberFactory..ctor(String progId, TraceLogger ascomDriverTraceLogger)

bei ASCOM.DriverAccess.Camera..ctor(String cameraId)

bei SharpCap.Cameras.ASCOMCamera.CameraProxy..ctor(String p, PictureBox pictureBox, IPreviewControl previewControl) in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\CameraProxy.cs:Zeile 41.

Extra Info:

Debug: 17:53:52.6406250 SharpCap.SharpCapForm.ApplyDefaultProfile() :: Started

Debug: 17:53:52.6406250 SharpCap.SharpCapForm.ApplyDefaultProfile() :: Ended (No default defined for this camera)

Error: 17:53:52.6562500 System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei SharpCap.Cameras.ASCOMCamera.CameraProxy.GetVideoSize() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\CameraProxy.cs:Zeile 370.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.GetVideoSize() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\AscomCaptureProvider.cs:Zeile 210.

bei SharpCap.MultiCaptureProvider.GetVideoSize() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs:Zeile 322.

bei SharpCap.UI.PreviewPanel.GetVideoRectangle() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\PreviewPanel.cs:Zeile 89.

bei SharpCap.MultiCaptureProvider.Current_RequestDisplayRectangle() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs:Zeile 169.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.UpdatePictureBoxRect() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\AscomCaptureProvider.cs:Zeile 250.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.AddRenderBox() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\AscomCaptureProvider.cs:Zeile 260.

bei SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.StartPreview() in D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\AscomCaptureProvider.cs:Zeile 241.

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

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

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

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

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

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

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

I've got win xp on my calc. Can you fix the prob? Version 1.3 runs perfectly, but I'd like to use a Alccd 5.2 cam....

Best regards, Wolfgang from Vienna / Austria

woledi@hotmail.com

Link to comment
Share on other sites

Hi Wolfgang,

Got your pm with the error report in. I will try to have a look this

evening or tomorrow to see what is going on. The support for ascom compatible cameras is experimental still, so functionality is limited and there are bugs to be found sadly.

Robin

Sent from my GT-I9000 using Tapatalk

Link to comment
Share on other sites

  • 2 weeks later...

It throws away frames so that only one frame in whatever you set it to ends up in the output avi.

This is handy for some cameras that send the same frame repeatedly.

Robin

Sent from my GT-I9000 using Tapatalk

Link to comment
Share on other sites

Thanks very much for that!

BTW, the camera preferences panel does not remember it's size if you minimise & then reinstate the program's window. Need to set other than default size first to repeat this feature.

Would save resizing every time if it was able to remember it.

Would that be something do-able? :)

Link to comment
Share on other sites

Done already, actually...

set up the camera just as you like (resolution, exposure, etc) then save those settings to a capture profile (use the 'new' button top right to save as a new capture profile). Once you have done that, the name you gave it should appear in the box above. Now just hit the 'set default' button. That capture profile will now be the default one for that camera and will be loaded whenever you start the program or select the camera.

Robin

Link to comment
Share on other sites

Done already, actually...

set up the camera just as you like (resolution, exposure, etc) then save those settings to a capture profile (use the 'new' button top right to save as a new capture profile). Once you have done that, the name you gave it should appear in the box above. Now just hit the 'set default' button. That capture profile will now be the default one for that camera and will be loaded whenever you start the program or select the camera.

Robin

Not sure if you were addressing me, but that does not solve the video control panel size being reset when the programs window is minimised and restored. Maybe I am misunderstanding something.

I already use the profiles, and they are fine but they don't save the size and edge position of the VCP sub window/panel. I've just tried it again to make double sure.

Any thoughts? Win 7 64bit SP1.

Link to comment
Share on other sites

Oops, sorry, didn't read carefully enough and thought you were referring to the webcam resolution / window size.

I could put something in to save/restore the width of the video control panel, I think it just defaults to some fraction of the total width at the moment.

Robin

Link to comment
Share on other sites

Oops, sorry, didn't read carefully enough and thought you were referring to the webcam resolution / window size.

I could put something in to save/restore the width of the video control panel, I think it just defaults to some fraction of the total width at the moment.

Robin

Oh, that would be just great, if it snugged up to the edge of the preview, then it maximises the scale of the sliders, this gives them the ability to better resolve the number you really wanted them set to, not just an approximation!:) the wider the slider the truer they track to individual numbers.(strange but true!)

Thank you Robin, very much appreciate the kind offer.

EDIT - oh, no, my "snug up" suggestion is not good in all cases, just remembering where it was would be more useful! ;O)

Link to comment
Share on other sites

Hi Robin,

i have just downloaded sharpcap, ver. 1.5 but after starting the prog, i got the following message:

SharpCap ERROR

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

System.ArgumentException: 參數無效。

於 System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)

於 SharpCap.Cameras.ASCOMCamera.CameraProxy.StartPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\CameraProxy.cs: 行 124

於 SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.StartPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\AscomCaptureProvider.cs: 行 243

於 SharpCap.MultiCaptureProvider.StartPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs: 行 355

於 SharpCap.SharpCapForm.StartPreviewOnSelectedDeviceLoadingDefaultProfile() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs: 行 495

於 SharpCap.SharpCapForm.InitializeFirstPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs: 行 486

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

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

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

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

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

Application Log (from start)

Debug: 23:45:21.3428750 SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize(IWin32Window previewTargetWindow) :: Started

Warning: 23:45:22.2178750 SharpCap.MultiCaptureProvider.AddProvider(IWin32Window targetWindowHandle) :: Could not load capture provider - SharpCap.Cameras.Basler.BaslerCaptureProvider - System.IO.FileNotFoundException: 無法載入檔案或組件 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a' 或其相依性的其中之一。 系統找不到指定的檔案。

檔案名稱: 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a'

於 PylonC.NETSupportLibrary.ImageProvider..ctor()

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

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

警告: 組件繫結記錄切換為 OFF。

若要記錄組件繫結失敗,請將登錄值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) 設為 1。

注意: 與組件繫結失敗記錄相關的效能會有部分負面影響。

若要關閉此功能,請移除登錄值 [HKLM\Software\Microsoft\Fusion!EnableLog]。

Debug: 23:45:22.2178750 SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize(IWin32Window previewTargetWindow) :: Started

Warning: 23:45:22.2178750 SharpCap.MultiCaptureProvider.AddProvider(IWin32Window targetWindowHandle) :: Could not load capture provider - SharpCap.Cameras.Basler.BaslerLXProvider - System.IO.FileNotFoundException: 無法載入檔案或組件 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a' 或其相依性的其中之一。 系統找不到指定的檔案。

檔案名稱: 'PylonC.NET, Version=2.3.0.2279, Culture=neutral, PublicKeyToken=a77e8471c5919d5a'

於 PylonC.NETSupportLibrary.ImageProvider..ctor()

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

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

警告: 組件繫結記錄切換為 OFF。

若要記錄組件繫結失敗,請將登錄值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) 設為 1。

注意: 與組件繫結失敗記錄相關的效能會有部分負面影響。

若要關閉此功能,請移除登錄值 [HKLM\Software\Microsoft\Fusion!EnableLog]。

Debug: 23:45:22.4210000 SharpCap.DirectShow.Capture.Initialize() :: Started

Debug: 23:45:22.4835000 SharpCap.DirectShow.Capture.Initialize() :: Device notification registered

Debug: 23:45:22.4835000 SharpCap.DirectShow.Capture.Initialize() :: Ended

Error: 23:45:23.0460000 SharpCap.Base.Tracer.Trace(LogLevel level, String format, Object[] args) :: Exception from Loading implementation assemby : C:\Program Files\rwg\SharpCap\LXControllers\inpout32.dll : 無法載入檔案或組件 'file:///C:\Program Files\rwg\SharpCap\LXControllers\inpout32.dll' 或其相依性的其中之一。 模組應該含有組件資訊清單。

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

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

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

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

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

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

Extra Info:

Debug: 23:45:23.3272500 SharpCap.DirectShow.Capture.Initialize() :: Started

Debug: 23:45:23.3272500 SharpCap.DirectShow.Capture.Initialize() :: Device notification registered

Debug: 23:45:23.3272500 SharpCap.DirectShow.Capture.Initialize() :: Ended

Info: 23:45:27.7491250 SharpCap.Cameras.NewDirectShow.DeviceEnumerator.GetDeviceMenuItems() :: Adding device : Apple Built-in iSight to menu

Info: 23:45:27.7491250 SharpCap.Cameras.NewDirectShow.DeviceEnumerator.GetDeviceMenuItems() :: Adding device : ASI130MM Camera (ZWO Design) to menu

Debug: 23:45:27.7803750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Started

Info: 23:45:27.7803750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Getting list of available decives

Debug: 23:45:27.8741250 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Device enumerator created OK

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Video class enumerator created OK

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Investigating device : @device:pnp:\\?\usb#vid_05ac&pid_8503&mi_00#6&34e3d932&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global

Info: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Adding device : Apple Built-in iSight to menu

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Investigating device : @device:sw:{860BB310-5D01-11D0-BD3B-00A0C911CE86}\ASI130MM Camera (ZWO Design)

Info: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Adding device : ASI130MM Camera (ZWO Design) to menu

Info: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Completed video enumeration - found 2 devices.

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems() :: Ended

Debug: 23:45:28.6553750 SharpCap.SharpCapForm.ApplyDefaultProfile() :: Started

Debug: 23:45:28.6553750 SharpCap.SharpCapForm.ApplyDefaultProfile() :: Ended (No default defined for this camera)

Error: 23:45:29.1866250 System.ArgumentException: 參數無效。

於 System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)

於 SharpCap.Cameras.ASCOMCamera.CameraProxy.StartPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\CameraProxy.cs: 行 124

於 SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.StartPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap.Cameras.ASCOM\AscomCaptureProvider.cs: 行 243

於 SharpCap.MultiCaptureProvider.StartPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\MultiCaptureProvider.cs: 行 355

於 SharpCap.SharpCapForm.StartPreviewOnSelectedDeviceLoadingDefaultProfile() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs: 行 495

於 SharpCap.SharpCapForm.InitializeFirstPreview() 於 D:\Documents\Source Code\trunk\SharpCap\src\SharpCap\UI\SharpCapForm.cs: 行 486

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

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

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

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

Link to comment
Share on other sites

Hi Robin,

i have just downloaded sharpcap, ver. 1.5 but after starting the prog, i got the following message:

SharpCap ERROR

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

System.ArgumentException: Invalid argument.

At System.Drawing.Bitmap .. ctor (Int32 width, Int32 height, PixelFormat format)

In SharpCap.Cameras.ASCOMCamera.CameraProxy.StartPreview () in D: \ Documents \ Source Code \ trunk \ SharpCap \ src \ SharpCap.Cameras.ASCOM \ CameraProxy.cs: line 124

In SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.StartPreview () in D: \ Documents \ Source Code \ trunk \ SharpCap \ src \ SharpCap.Cameras.ASCOM \ AscomCaptureProvider.cs: line 243

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

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

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

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

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

In 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)

Debug: 23:45:21.3428750 SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize (IWin32Window previewTargetWindow):: Started

Warning: 23:45:22.2178750 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 its dependencies, was one of them. System can not find the file specified.

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

In PylonC.NETSupportLibrary.ImageProvider .. ctor ()

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

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

Warning: The switch assembly binding logging is turned OFF.

To record the assembly binding failures, set the registry value [HKLM \ Software \ Microsoft \ Fusion! EnableLog] (DWORD) to 1.

Note: failure to bind with the components of records related to the performance will be part of the negative impact.

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

Debug: 23:45:22.2178750 SharpCap.Cameras.Basler.BaslerCaptureProvider.Initialize (IWin32Window previewTargetWindow):: Started

Warning: 23:45:22.2178750 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 its dependencies, was one of them. System can not find the file specified.

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

In PylonC.NETSupportLibrary.ImageProvider .. ctor ()

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

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

Warning: The switch assembly binding logging is turned OFF.

To record the assembly binding failures, set the registry value [HKLM \ Software \ Microsoft \ Fusion! EnableLog] (DWORD) to 1.

Note: failure to bind with the components of records related to the performance will be part of the negative impact.

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

Debug: 23:45:22.4210000 SharpCap.DirectShow.Capture.Initialize ():: Started

Debug: 23:45:22.4835000 SharpCap.DirectShow.Capture.Initialize ():: Device notification registered

Debug: 23:45:22.4835000 SharpCap.DirectShow.Capture.Initialize ():: Ended

Error: 23:45:23.0460000 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 its dependencies, was one of them. Module should contain the assembly manifest.

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

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

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

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

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

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

Extra Info:

Debug: 23:45:23.3272500 SharpCap.DirectShow.Capture.Initialize ():: Started

Debug: 23:45:23.3272500 SharpCap.DirectShow.Capture.Initialize ():: Device notification registered

Debug: 23:45:23.3272500 SharpCap.DirectShow.Capture.Initialize ():: Ended

Info: 23:45:27.7491250 SharpCap.Cameras.NewDirectShow.DeviceEnumerator.GetDeviceMenuItems ():: Adding device: Apple Built-in iSight to menu

Info: 23:45:27.7491250 SharpCap.Cameras.NewDirectShow.DeviceEnumerator.GetDeviceMenuItems ():: Adding device: ASI130MM Camera (ZWO Design) to menu

Debug: 23:45:27.7803750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Started

Info: 23:45:27.7803750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Getting list of available decives

Debug: 23:45:27.8741250 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Device enumerator created OK

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Video class enumerator created OK

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Investigating device: @ device: pnp: \ \? \ Usb # vid_05ac & pid_8503 & mi_00 # 6 & 34e3d932 & 0 & 0000 # {65e8773d-8f56-11d0-a3b9-00a0c9223196} \ global

Info: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Adding device: Apple Built-in iSight to menu

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Investigating device: @ device: sw: {860BB310-5D01-11D0-BD3B-00A0C911CE86} \ ASI130MM Camera (ZWO Design)

Info: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Adding device: ASI130MM Camera (ZWO Design) to menu

Info: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Completed video enumeration - found 2 devices.

Debug: 23:45:27.9053750 SharpCap.DirectShow.Capture.GetDeviceMenuItems ():: Ended

Debug: 23:45:28.6553750 SharpCap.SharpCapForm.ApplyDefaultProfile ():: Started

Debug: 23:45:28.6553750 SharpCap.SharpCapForm.ApplyDefaultProfile ():: Ended (No default defined for this camera)

Error: 23:45:29.1866250 System.ArgumentException: Invalid parameter.

At System.Drawing.Bitmap .. ctor (Int32 width, Int32 height, PixelFormat format)

In SharpCap.Cameras.ASCOMCamera.CameraProxy.StartPreview () in D: \ Documents \ Source Code \ trunk \ SharpCap \ src \ SharpCap.Cameras.ASCOM \ CameraProxy.cs: line 124

In SharpCap.Cameras.ASCOMCamera.AscomCaptureProvider.StartPreview () in D: \ Documents \ Source Code \ trunk \ SharpCap \ src \ SharpCap.Cameras.ASCOM \ AscomCaptureProvider.cs: line 243

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

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

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

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

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

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

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

Link to comment
Share on other sites

Hi Daniel,

I guess you are trying to use the ASI130MM camera - but your trace shows Sharpcap using the ASCOM camera source which is not correct for this camera.

Try holding down 'CTRL' while sharpcap starts, which will stop it connecting to the previously used or default camera on startup, then select the ASI130MM from the devices menu. You will also do better with a later version - there was a pre-release of 1.5.305 on the ZWO optical page at http://www.zwoptical.com/eng/index.html

but it appears to have moved somewhere else on the site. I am about to release a new version in the next few days with better support for this camera anyway, so update to that if you can't find .305.

Robin

Link to comment
Share on other sites

Thanks very much indeed Robin, that was very quick work for the panel memory and is exactly what I had in mind. Feels comfortable. :icon_scratch:

I'm not sure how to search for info on it, but is there a way to effectively use SharpCap for straight forward timelapse? I get consistently better images with your program, and so I am starting to frequently miss it when using other software. I'm looking for one frame, every interval of x, where x is from .05 second upwards to perhaps an hour or maybe more, but I've never needed that long so far (it could happen one day I guess!):D

Link to comment
Share on other sites

There is the sequence setup that you get when you hit 'start capture'. Currently that's limited to a max of 100 captures in the sequence (which could be single frames) and a minimum realistic interval of 1-2 seconds.

It's easy enough for me to increase the sequence count limit, but due to the way the sequencing works making the minimum interval smaller isn't going to work.

Doesn't fulfill your requirements entirely, but might be useful anyway.

Robin

Link to comment
Share on other sites

On that subject, Robin...

The sequencing seems to put each frame in a new folder with all frames having the same file name. That makes it a bit awkward to use the files later, especially if there's lots of them. You think this could be changed to, say, all files in one folder with the date/time as the file name of each frame or something similar?

Link to comment
Share on other sites

There is the sequence setup that you get when you hit 'start capture'. Currently that's limited to a max of 100 captures in the sequence (which could be single frames) and a minimum realistic interval of 1-2 seconds.

It's easy enough for me to increase the sequence count limit, but due to the way the sequencing works making the minimum interval smaller isn't going to work.

Doesn't fulfill your requirements entirely, but might be useful anyway.

Robin

Thanks for the info Robin, I shall have a tinker with that new possibility. I've just had a cursory glance through some old files to establish what is most often used, and it seems a gap of 4 seconds is going to be fine 99.9% of the time.

Yesterday for example I used 2400 frames at one every 15 seconds. That is by no means an upper limit, it was a test! I might easily want to double the frame count and use 30-60 second intervals, perhaps more still as time passes. I'm at a testing stage right now, so I can't yet know of any limits as to what may (or not) become useful on a "regular" basis.

As for extending the time I shall have to see, as longer is something I am "learning" as opposed to "using often and feeling comfortable with", I'll give further info as I discover it.

Only providing these figures as something to mull over while you might be thinking about it all.

It is very kind of you to consider it at all.:icon_scratch:

Link to comment
Share on other sites

On that subject, Robin...

The sequencing seems to put each frame in a new folder with all frames having the same file name. That makes it a bit awkward to use the files later, especially if there's lots of them. You think this could be changed to, say, all files in one folder with the date/time as the file name of each frame or something similar?

Thanks for mentioning this (thought I was going madder than usual), and that is a show stopper for me for right now. The fix you suggest would certainly recover the situation admirably though. Of those programs I've used for timelapse, this is the more usual approach, and a lot of other support software rather depends on it. (VDub to mention just one of the more notable ones)

Would love to see SharpCap become my "one and only" weapon of choice, as the image quality it gives me is fully peerless right now, and that makes a vast difference.

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.