From the military side, the numbers entering flight training today, as well as those still with a seat, have been greatly reduced. From the 2012 budget:
USN/USMC (numbers = input/output) from OP-5 1A2A and 3B2K
Undergrad Pilot Training: FY10, FY11, FY12
Strike/Jet: 229/238, 319/247, 241/211
Maritime/Prop: 123/127, 161/139, 161/146
E2/C2: 41/28, 58/44, 52/44
E6A: 9/8, 22/19, 21/19
Helicopter: 476/465, 542/456, 514/464
Tilt Rotor: 39/36, 48/40, 53/49
Basically, the USN/USMC (USCG) have bugeted to "wing" 211 strike/jet, 146 maritime/prop, 44 E2/C2, 19 E6A, 464 Helo and 49 V22 pilots. Most will be input from previous FY due to the time to train. These won't be able to leave until around the 10-11 year point. Some will have left flying, some will be the future leadership and will stay for a career and some will not be current. Even those with no desire or record to screen for command will stay to 20 due to O-4 pay, the bonus and retirement. The same is probably true for the AF.
USAF (not as easy to glean, from OP-14C-3 FY12 estimates)
T6 SUPT PH2, Fighter/Bomber, Tanker/Transport, Turboprop Helo
FY10
Input: 1185, 294, 654, 178, 59
Output: 1076, 286, 651, 173, 59
Attrition%: 9.2, 2.2, .5, 2.6, 0
FY11
1312, 361, 704, 178, 69
1191, 353, 700, 173, 69
9.2, 2.2, .5, 2.6, 0
FY12
1251, 342, 640, 87, 58
1120, 331, 630, 84, 58
10.5, 3.2, 1.6, 3.4, 0
Basically the USAF/USAFR/ANG have budgeted to "wing" 331 fighter/bomber, 651 tanker/transport, 87 turboprop and 59 helo pilots. No idea on retention expectations.
The point being (of all the above data) that once retirements kick in, the military will produce an ever shrinking pool of pilots and the strain will be borne predominately by regional and corporate flight departments. Which may be good for them as their current pilots become more senior and "expensive." But from the info in the public domain, assuming that 2012 isn't the end of the world, it should get better...