I'm starting to see why this is such a pain. A lot of times C# doesn't give you a chance to handle errors. It throws exceptions BEFORE a system call returns, and everything just dies. Wow.
Well heck, it was working but there's a mistake. I posted it in my zip. Just changed:
m = new MenuItem(Size.Width + "x" + Size.Height, new EventHandler(mnuFrameSizes_Click));
to
m = new MenuItem(sz.Width + "x" + sz.Height, new EventHandler(mnuFrameSizes_Click));
I hate when the compiler lets me make mistakes
It seems to capture at 1280x1024 but the "Video Capabilities..." dialog just shows 640x480 because of the old code there.
EDIT: Oops. A few other lines changed. You could tell I copied and pasted the menu loop from above.
And, I just realized I wasn't converting UTC to local time in the GPS filter, so redownload that. FYI, you don't have to unregister it, just copy over it.
I'm starting to see why this is such a pain. A lot of times C# doesn't give you a chance to handle errors. It throws exceptions BEFORE a system call returns, and everything just dies. Wow.
Haha, oh just playing mostly. I unregistered the filter and it threw an exception from CreateInstance on the filter, so I put an if(GpsOverlayEnabled) around it the way you had it everywhere else. I think that's the same type of problem with the audio. I still have to use -1 or it has trouble.
Yup, by no means perfect! I find once you have it working, best just leave it alone!!![]()
![]()
Can you guys see if you can add a quick setting to be able to flip the video?
Both vertical and horizontal flips would be good
There should be a flip and mirror option in the camera property page. I think all webcams have that.
Im using a PS3 eye and not all properties are accessible using the driver available. Im going to need to do it on the program.
Im too trying to figure out why I can choose the ps3 eye and see some of its properties in the original capture but using the latest capture with the gps overlay the camera cant be used. The program cant find the device now.
Im trying to build the latest version of the program. I took CaptureUltimate and updated the different classes by downloading the next 3 zips and replacing the classes in the order posted. After doing that the project wont compile:
line 1583 of captureTest.cs :Code:Error 1 'DirectX.Capture.VideoCapabilities' does not contain a definition for 'GetSize' and no extension method 'GetSize' accepting a first argument of type 'DirectX.Capture.VideoCapabilities' could be found (are you missing a using directive or an assembly reference?) xxx\CaptureUltimate_0.1\CaptureUltimate\CaptureTest\CaptureTest.cs 1583 49 Capture
what would be the latest working version of the files?Code:Size sz = capture.VideoCaps.GetSize(c);
EDIT: it breaks after updating the project with the last zip from curiosity. Applied the previous 2 zips and it compiles. Could be related to the "Size instead of sz" error
Oh great. Well, I added flip and mirror to the GPS filter since it's easy, but it doesn't help much if you can't find the camera. The only thing I changed in setup was getting resolutions using the standard method so that's kind of odd.
Bookmarks