Friday, February 10, 2012

Google Video Chat disables other capture applications

Since I recently stumbled back into video capture work for a client, I thought I should bring to light an annoyance with Google Video Chat that caused several moments of consternation.

Google Video Chat installs fake Direct Show video capture drivers (Google Camera Adapter 0 and Google Camera Adapter 1). Although these drivers are registered with DirectShow as functioning capture devices in the category CLSID_VideoInputDeviceCategory they are in fact not available to applications other than Google Video Chat and return errors when they are instantiated using normal DirectShow conventions. Since many programs (including the one I’m in the process of writing!) weren't written to handle the case of a registered , but non-functioning capture device, they fail in various ways, not to mention the general confusion of having a bunch of non-functioning entries in device selection lists within the program.

Since this problem has been known for over a year now but has not been corrected, should one assume that we are witnessing an attempt by Google to undermine the functionality of alternative video capture applications for their own benefit? Evil or not evil, you decide!

The simple fix which would be trivial for Google to implement is to not register the Google Camera Adapter in the CLSID_VideoInputDeviceCategory category.

References:

DirectShow App Mess: Google Video Chat vs. Skype
http://alax.info/blog/1233#more-1233

Hardware/Software issues
http://luizgustavo.wordpress.com/2011/07/30/hardware-and-software-issues/

Google camera adapter causing problems with other programs
https://groups.google.com/a/googleproductforums.com/forum/#!searchin/chat/%22google$20camera$20adapter%22/chat/MygYu9bo_hw/xfCcgy1p2zMJ

GOOGLE CHAT CAMERA BLOCKS MY REGULAR CAMERA
https://groups.google.com/a/googleproductforums.com/forum/#!searchin/chat/"google$20camera$20adapter"/chat/mIXdZWBGOKw/oewf2rIZ1TQJ

Google Camera Adapter shows up as a source when it is not
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.directx.video/2009-10/msg00026.html

How to uninstall "Google Camera Adapter 0" and "Google Camera Adapter 1"?
https://groups.google.com/a/googleproductforums.com/forum/#!searchin/chat/"google$20camera$20adapter"/chat/5C-JcQjQA7Y/TcHusD0iX3sJ

Wednesday, May 26, 2010

Problem with 800x480 resolution on the HTC HD2 (Pocket Stars PDA Version 6.1)

Some customers have reported a problem when running Pocket Stars PDA on the HTC HD2.  The toolbar at the bottom of the screen is displayed with the wrong height and buttons at the right edge are cut off.

Screen05 (2)

The toolbar should look like:

image

Here’s what I know thus far about the problem:

1.Pocket Stars runs fine with the WM6.5 800x480 emulator.

2. The problem seems to only appear on certain versions of Windows Mobile.  The HD2 worked fine with WM6.0, but WM6.3 and WM6.5 exhibit the problem.

3. On the HD2 with WM6.5 which shows the problem, LOGPIXELSX = LOGPIXELSY = 192, while SM_CYMENU = 19.  The value of 19 must be incorrect, and I'm curious what value was returned on WM6.0?

4. It looks as though the toolbar height may be set to the value of SM_CYMENU, which has long been known to return bogus values.  See:
http://www.eggheadcafe.com/forumarchives/pocketpcdeveloper/oct2005/post24149231.asp

5. I've verified I'm selecting the correct Toolbar resource which is created for 192 DPI.

6. Don't know if it matters, but the toolbar has both a Menu and a listbox in addition to 6 buttons.

7. Currently building the application  with the WM5 SDK, MFC, and VS2008.  HiRes aware.

Since I don’t own one of these devices, I’m a bit slow figuring out the fix, but will hopefully get it resolved within a few days.

Friday, January 22, 2010

Owner Information page missing on some HTC Devices?

Some HTC devices such as the Touch Diamond 2 don’t display the Start >> Settings >> Owner Information page by default, giving rise to the question: “How the heck do I register Pocket Stars”.


Fortunately, there’s a simple solution.  Just open your contacts list:

HTC_HD2_Owner_Information_02

Edit the “Me” entry:

HTC_HD2_Owner_Information_03

Here’s the official HTC description.

And if you still want to use the old version of the Owner Information page, here are some alternative methods to display the old page by either editing the registry or just by disabling TouchFlo.

Wednesday, November 25, 2009

Pocket Stars PDA for older devices (prior to WM 5)

Throughout the long history of Pocket Stars PDA, each new version has been compatible with all prior versions of the Windows Mobile operating system. Due to a change in the tools used to produce the latest versions of Pocket Stars PDA (I’m looking at you Visual Studio 2008), this level of backward compatibility has ended with the latest release of Pocket Stars PDA Version 6.0. Going forward, Pocket Stars PDA will only be updated to support Windows Mobile phones Version 5.0 and above. Confused yet?

Only use the following files if your device runs one of the following operating systems:

  • Pocket PC 2000
  • Pocket PC 2002
  • Pocket PC 2003

You can look at the version of the operating system your device uses at Start.Settings.System.About.

Pocket Stars PDA Version 5.5.0 for older devices

PocketStars.ppc30_arm.CAB (run this file directly on your PDA) PocketStars.ppc30_arm.EXE (run on PC with ActiveSync connection to PDA) PocketStarsOTA.exe (Over the Air, run this file directly on your PDA)

Friday, April 3, 2009

Pocket Stars 5.8.0.0 Beta

Well it’s been a long time coming but I’m finally ready to start beta testing a new version of Pocket Stars for PC and PDA (but not SP).  While this is largely a “fit and finish” release, fixing a few longstanding bugs, and cleaning up the UI, I did add one major new feature: comets.

image

In 3D view, you can see the real-time Alt/Az of the comet, a section of the path, and the absolute (“M-abs”) and apparent (“M-app”) magnitudes.  Comet elements are downloaded dynamically from Harvard-Smithsonian Center for Astrophysics

Comets

To display comets follow these steps:

  • Download and install the beta from a link below
  • On the Objects page, press the Download button next to the Comets checkbox
  • Select the minimum magnitude of comets to be displayed

I also added momentum to the chart when scrolling with a stylus and cleaned up the display somewhat.  If you do test this beta, PLEASE, PLEASE, PLEASE send feedback (jaybo@nomadelectronics.com) on any problems or issues you encounter. Email that everything is AOK helps too.

Download PDA Version, Beta 5.8.0.0

PocketStars.ppc30_arm.CAB   (run this file directly on your PDA)
PocketStars.ppc30_arm.EXE   (run on PC with ActiveSync connection to PDA)
PocketStarsOTA.exe     (Over the Air, run this file directly on your PDA)

Download PC Version, Beta 5.8.0.0

PocketStars.msi 

Tested using the following systems:

PocketPC
iPaq 1910, WinCE 4.20
iPaq hx4700, WinCE 5.1
Sprint VX6800, WinCE 6.0

PC
Win2K
XP
Vista
Win7

Saturday, December 20, 2008

Leap Second added 1 January 2009

The Earth Orientation Center of IERS has announced the addition of another leap second on January 1, 2009.

                                   UTC TIME STEP
                            on the 1st of January 2009
                      
 A positive leap second will be introduced at the end of December 2008.
 The sequence of dates of the UTC second markers will be:		
		
                          2008 December 31,     23h 59m 59s
                          2008 December 31,     23h 59m 60s
                          2009 January   1,      0h  0m  0s
              
 The difference between UTC and the International Atomic Time TAI is:

  from 2006 January 1, 0h UTC, to 2009 January 1  0h UTC  : UTC-TAI = - 33s
  from 2009 January 1, 0h UTC, until further notice       : UTC-TAI = - 34s 
  

Pocket Stars has an internal table which is used to set the number of leap seconds in effect as well as a table containing the values for deltaT.  Because of this change, Pocket Stars results will be off by one second until the next release is issued with the internal table updated.

A little used and mostly untested feature of Pocket Stars is that you can override the default, internal values of DeltaT and also of Leap Seconds.  To override the default values of deltaT, create a text file named “DeltaT”.  To override Leap Seconds, create a file named “LeapSeconds”.  Place either or both of these files in the Pocket Stars install directory in the format shown below.  Whatever you put in these files will override the default tables in Pocket Stars.    The first column is the Julian date, and the second column is either deltaT or is the value for leap seconds.  No commas or comments allowed.

Custom DeltaT file example

2415020.5000000 -2.7000
2416846.5000000  3.9200
2418672.5000000 10.3840
2420498.5000000 17.1870
2422324.5000000 21.4070
2424151.5000000 23.6340
2425977.5000000 24.0210
2427803.5000000 23.9070
2429629.5000000 24.3470
2431456.5000000 26.8100
2433282.5000000 29.0700
2435108.5000000 30.9640
2436934.5000000 33.1500
2438761.5000000 35.7380
2440587.5000000 40.1820
2442413.5000000 45.4770
2444239.5000000 50.5400
2446066.5000000 54.3430
2447892.5000000 56.8550
2449718.5000000 60.7850
2451544.5000000 63.83
2453371.5000000 64.63
2453736.5000000 64.8547
2455197.5000000 65.0
  

Here’s the equivalent data structure within Pocket Stars showing the corresponding calendar dates:

double DeltaT[][2] = {
     // Julian           Year          DeltaT
     2415020.5000000, /*1900.0000,*/   -2.7000,
     2416846.5000000, /*1905.0000,*/    3.9200,
     2418672.5000000, /*1910.0000,*/   10.3840,
     2420498.5000000, /*1915.0000,*/   17.1870,
     2422324.5000000, /*1920.0000,*/   21.4070,
     2424151.5000000, /*1925.0000,*/   23.6340,
     2425977.5000000, /*1930.0000,*/   24.0210,
     2427803.5000000, /*1935.0000,*/   23.9070,
     2429629.5000000, /*1940.0000,*/   24.3470,
     2431456.5000000, /*1945.0000,*/   26.8100,
     2433282.5000000, /*1950.0000,*/   29.0700,
     2435108.5000000, /*1955.0000,*/   30.9640,
     2436934.5000000, /*1960.0000,*/   33.1500,
     2438761.5000000, /*1965.0000,*/   35.7380,
     2440587.5000000, /*1970.0000,*/   40.1820,
     2442413.5000000, /*1975.0000,*/   45.4770,
     2444239.5000000, /*1980.0000,*/   50.5400,
     2446066.5000000, /*1985.0000,*/   54.3430,
     2447892.5000000, /*1990.0000,*/   56.8550,
     2449718.5000000, /*1995.0000,*/   60.7850,
     2451544.5000000, /*2000.0000,*/   63.83,     
     2453371.5000000, /*2005.0000,*/   64.63,     
     2453736.5000000, /*2006.0000,*/   64.85478,  
     2455197.5000000, /*2010.0000,*/   65.0,      
};

Custom LeapSeconds file example

with the added change for Jan 1, 2009:

2441317.5 10.0
2441499.5 11.0
2441683.5 12.0
2442048.5 13.0
2442413.5 14.0
2442778.5 15.0
2443144.5 16.0
2443509.5 17.0
2443874.5 18.0
2444239.5 19.0
2444786.5 20.0
2445151.5 21.0
2445516.5 22.0
2446247.5 23.0
2447161.5 24.0
2447892.5 25.0
2448257.5 26.0
2448804.5 27.0
2449169.5 28.0
2449534.5 29.0
2450083.5 30.0
2450630.5 31.0
2451179.5 32.0
2453736.5 33.0
2454832.5 34.0

Here’s the equivalent internal table in Pocket Stars showing the dates:

// Leap Second table
double LeapSeconds [][2] = {
    // Date                     TAI-UTC
    /*1972 JAN  1 */ 2441317.5,  10.0, 
    /*1972 JUL  1 */ 2441499.5,  11.0,
    /*1973 JAN  1 */ 2441683.5,  12.0,
    /*1974 JAN  1 */ 2442048.5,  13.0,
    /*1975 JAN  1 */ 2442413.5,  14.0,
    /*1976 JAN  1 */ 2442778.5,  15.0,
    /*1977 JAN  1 */ 2443144.5,  16.0,
    /*1978 JAN  1 */ 2443509.5,  17.0,
    /*1979 JAN  1 */ 2443874.5,  18.0,
    /*1980 JAN  1 */ 2444239.5,  19.0,
    /*1981 JUL  1 */ 2444786.5,  20.0,
    /*1982 JUL  1 */ 2445151.5,  21.0,
    /*1983 JUL  1 */ 2445516.5,  22.0,
    /*1985 JUL  1 */ 2446247.5,  23.0,
    /*1988 JAN  1 */ 2447161.5,  24.0,
    /*1990 JAN  1 */ 2447892.5,  25.0,
    /*1991 JAN  1 */ 2448257.5,  26.0,
    /*1992 JUL  1 */ 2448804.5,  27.0,
    /*1993 JUL  1 */ 2449169.5,  28.0,
    /*1994 JUL  1 */ 2449534.5,  29.0,
    /*1996 JAN  1 */ 2450083.5,  30.0,
    /*1997 JUL  1 */ 2450630.5,  31.0,
    /*1999 JAN  1 */ 2451179.5,  32.0,
    /*2006 JAN  1 */ 2453736.5,  33.0,         
    /*2009 JAN  1 */ 2454832.5,  34.0,  // to be added in the next release        
};

Tuesday, November 18, 2008

320x320 Display Resolution Bug on Pocket Stars PDA Version 5.5.0.0

A number of customers have pointed out that the Pocket Stars PDA has a bug with the new 320x320 resolution devices.  The problem is caused by the introduction of a new DPI value for these displays.  An example is shown, below.  Notice that the toolbar at the bottom of the display is truncated on the right.

image

Prior to the introduction of 320x320 displays, all PDA devices were either 96DPI or 192DPI as shown by the following table.  I’m guessing that quite a few other released programs aren’t  to happy either, dealing with a new DPI value at this late stage in the evolution of the platform.

WM6 Resolution Table

If you’re experiencing this problem, you can download a beta version with the problem fixed at: www.nomadelectronics.com/anonymous/PDAMenuFix/PocketStars.zip.  Let me know if it works and I’ll get this fix into the next official release.