Unregistered
January 27, 2005, 23:56:22
Hello.
I downloaded the v2.1 control today.
Looks great...
For reference IC Capture Trial and VCD Property Inspector both work great with my Sony DCR-TRV320 Digital8. DemoApp.exe works perfect too (original install and recompiled).
Unfortunately, I am having difficulty with FirstStep, the first app in the programmer's guide.
Although VCDPropertyItems gives a good preview of the video stream, running the program gives the same error under C# and VB.Net:
An unhandled exception of type 'TIS.Imaging.ICException' occurred in imagingcontrol.dll
Additional information: Video format is invalid
This occurs in the icImagingControl1 block of code, specifically when the LiveDisplay* methods are called..
any advice would be appreciated...
//
// icImagingControl1
//
this.icImagingControl1.DeviceState = "<device_state libver=\"2.0\" filemajor=\"1\" fileminor=\"0\">\n <device name=\"Microso" +
"ft DV Camera and VCR\" base_name=\"Microsoft DV Camera and VCR\">\n <videofor" +
"mat>YUY2 (88x60)</videoformat>\n <vcdpropertyitems />\n </device>\n</devi" +
"ce_state>\n";
this.icImagingControl1.ImageRingBufferSize = 5;
this.icImagingControl1.LiveDisplayDefault = false;
this.icImagingControl1.LiveDisplayHeight = 60;
this.icImagingControl1.LiveDisplayWidth = 88;
this.icImagingControl1.Location = new System.Drawing.Point(24, 24);
this.icImagingControl1.Name = "icImagingControl1";
this.icImagingControl1.Size = new System.Drawing.Size(720, 480);
this.icImagingControl1.TabIndex = 0;
I downloaded the v2.1 control today.
Looks great...
For reference IC Capture Trial and VCD Property Inspector both work great with my Sony DCR-TRV320 Digital8. DemoApp.exe works perfect too (original install and recompiled).
Unfortunately, I am having difficulty with FirstStep, the first app in the programmer's guide.
Although VCDPropertyItems gives a good preview of the video stream, running the program gives the same error under C# and VB.Net:
An unhandled exception of type 'TIS.Imaging.ICException' occurred in imagingcontrol.dll
Additional information: Video format is invalid
This occurs in the icImagingControl1 block of code, specifically when the LiveDisplay* methods are called..
any advice would be appreciated...
//
// icImagingControl1
//
this.icImagingControl1.DeviceState = "<device_state libver=\"2.0\" filemajor=\"1\" fileminor=\"0\">\n <device name=\"Microso" +
"ft DV Camera and VCR\" base_name=\"Microsoft DV Camera and VCR\">\n <videofor" +
"mat>YUY2 (88x60)</videoformat>\n <vcdpropertyitems />\n </device>\n</devi" +
"ce_state>\n";
this.icImagingControl1.ImageRingBufferSize = 5;
this.icImagingControl1.LiveDisplayDefault = false;
this.icImagingControl1.LiveDisplayHeight = 60;
this.icImagingControl1.LiveDisplayWidth = 88;
this.icImagingControl1.Location = new System.Drawing.Point(24, 24);
this.icImagingControl1.Name = "icImagingControl1";
this.icImagingControl1.Size = new System.Drawing.Size(720, 480);
this.icImagingControl1.TabIndex = 0;