God’s approval rating at 52% (no, not an Onion story)

I’m not sure how I missed seeing this before, but Public Policy Polling, based here in North Carolina, recently released the results of a poll that surveyed Americans about their views of Rupert Murdoch, the Congressional leadership, and God. (For real.)

According to their July 21 press release (link to PDF), 52% approve of God’s performance, 9% disapprove, and 40% were unsure. (As is typical of such breakdowns, the individual numbers don’t add to 100 because of rounding.)

The approval-disapproval-unsure rating for God’s handling of natural disasters was a bit worse, 50-13-37. On the other hand, opinion was a more positive 56-11-33 on God’s handling of animals, and a respectable 71-5-24 on the creation of the universe. At 71% approval, Divine Creation isn’t far short of the 77% Rotten Tomatoes gave the film Thor (albeit using a different rating system).

The same survey sample was markedly less impressed with Rupert Murdoch, whose approval numbers were just 12-49-39. Actually, now that I think about it, it’s pretty appalling that as many as 12% percent have a favorable view of Murdoch, but my guess is that a lot of them have him confused with some other Rupert, such as Rupert Giles (Buffy’s mentor on Buffy the Vampire Slayer) or Rupert Grint (the actor who played Ron Weasley in the Harry Potter films).

Meanwhile, Congressional Democrats and Republicans are virtually tied in the terms of public contempt: 33-54-13 for the Democrats and 33-55-12 for the Republicans. I suppose they can take comfort in being viewed far more significantly favorably than Rupert Murdoch or the Smurfs movie.



Facebooktwitterredditpinterestlinkedintumblrmailby feather

Video: How critical is 4:2:2 color?

(Update 2016 June 4: If this subject interests you, you might also be curious about claims that 8-bit 4:2:0 UHD or 4K video can be downconverted into 10-bit 4:4:4 HD or 2K. I think the 4:4:4 part is on the level, but the 10-bit part is only partly true. See this later post for a discussion.)

Among professional videographers, it’s broadly accepted that 4:2:2 chroma subsampling is better than 4:2:0, which of course it is. But people accustomed to shooting standard definition interlaced video may overestimate the difference, or at least that’s what I’m going to argue here. You can skip the details and go right to the conclusion by clicking here.

First, some quick background: As with digital photography, digital video treats each image as a rectangular array of picture elements, or “pixels.” More pixels means more fine detail, that is, more spacial resolution.

(There’s also temporal resolution, basically the number of images per second. You might think that the more temporal resolution the better, but that’s not necessarily true, as witness negative reactions to the look of Peter Jackson’s Hobbit films when they were shown theatrically at 48 frames per second. I’ll have more on that in a later post.)

A typical Blu-ray movie has frames that are 1920 pixels wide and 1080 pixels high. Or more accurately, those are the dimensions of the black and white part of the image. Color information is handled separately and usually at a lower resolution. Consumer digital video formats (DVD, Blu-ray, broadcast HDTV, etc.) use only half as many pixels both vertically and horizontally to carry “chroma” (color) information as they do for “luma” (gray-scale brightness) information.

Our eyes are less sensitive to fine detail in color than in black and white, so we don’t really notice the difference, and it saves a huge amount of space on disk and what’s called “bandwidth” (basically the total amount of information per second that has to be moved around). That’s an even bigger deal than it sounds, because a chroma pixel requires twice as many bits as a luma pixel.

For historical reasons, recording chroma resolution at half the resolution of luma both vertically and horizontally is referred to as “4:2:0 chroma subsampling” or just “4:2:0 color.”

(You sometimes hear it called a “4:2:0 color space,” but that’s not strictly correct. “Color space” technically refers to the range of different possible colors that can be represented, not to the amount of fine color detail on the screen.)

But professional digital production often works with more color resolution than this, up to 4:4:4, which means color is handled at the same resolution as black and white. In practice, the most common color subsampling rate for high-quality professional productions is 4:2:2, meaning that color resolution is the same as black and white from top to bottom but only half as great from side to side. Low-end production uses 4:2:0, half-resolution color in both dimensions, the same as DVD or Blu-ray.

In terms of pixel count, with 1080p (“full HD”) production, 4:4:4 means 1920×1080 pixels of color data per frame, 4:2:2 means 960×1080, and 4:2:0 means 960×540.

If it seems to you that this nomenclature is confusing, I agree. It’s a historical artifact going back to the early days of converting analog video to digital. Luma (brightness) was sampled every scan line at 4 times a specified base rate, while chroma was sampled from a pair of successive scan lines at a possibly different multiple of the same base rate. What 4:2:2 means is that both lines of the pair were sampled for color at twice the base rate, and 4:2:0 means that one line was sampled at twice the base rate and the other was not sampled at all.

It might also strike you as a little odd that 4:2:2 has half-resolution color information horizontally but full resolution vertically. What’s so special about vertical resolution?

The answer is nothing, if we’re talking about so-called progressive video, the kind used today for pretty much everything except certain broadcast work. But for interlaced video, the difference is important.

When analog television was being developed the engineers came up with the idea of offsetting each successive picture (called a “field”) alternately up and down from the previous one, by half the height of a scan line. When viewed as a continuous stream of images, this “interlacing” of the scan lines in successive fields would effectively convey about 40 percent more vertical detail than existed in any one field. This allowed reducing the number of lines per field to save broadcast bandwidth at little cost in picture sharpness.

(For a more detailed explanation of interlacing, see this post.)

Note that while fields are paired together as video “frames” for editing and other purposes, when we watch interlaced television what we’re seeing is a rapid sequence of fields. (Some sources erroneously claim that our eyes or our brains somehow merge the fields back together into frames, but this simply isn’t true, as explained in the link above.) Chroma subsampling in interlaced video happens at the field level. That is, when we talk about sampling color information from successive scan lines, we mean successive scan lines of a single field, not a frame. (I’ve sometimes seen this described in a way that implies 4:2:0 chroma is sampled from every other field. The sources I trust say this isn’t the case.)

In 1080i video, one of the standards common in broadcast HDTV, each frame has 1080 scan lines, but each picture (field) has only 540 rows of 1920 pixels each. So when chroma is subsampled at 4:2:0, you wind up with just 270 rows per picture of color information. Fortunately our eyes are forgiving enough that we don’t notice. (It helps that interlacing raised the effective vertical resolution for chroma as well as luma.)

It doesn’t even bother us to watch an old 480i television show on DVD, where the 4:2:0 color leaves us with just 120 rows of color information per field.

But now suppose we want to shoot a person or an object in front of a green or blue screen and replace that color background with something else, such as a weather map. Now you have a situation in which color information affects the black and white part of the picture, and that’s where the loss of vertical detail really comes to bite you.

Actually, low-end standard definition digital video production formats (DV, Sony’s DVCAM, Panasonic’s DVCPRO), at least as used in NTSC countries, make use of 4:1:1 chroma subsampling. With 4:1:1, color information is as detailed as black-and-white vertically but only 1/4 as great horizontally. To see why, consider this comparison of pixel dimensions for standard definition digital video in NTSC countries:

480i (interlaced) 480p (non-interlaced)
4:4:4 chroma / luma 720×240 720×480
4:2:2 chroma 360×240 360×480
4:2:0 chroma 360×120 360×240
4:1:1 chroma 180:240 180:480

Note that with interlaced 480i, 4:2:0 makes the ratio of horizontal to vertical chroma resolution 3 to 1, whereas 4:1:1 gives you 3 to 4, which is a lot closer to being the same in both directions. (I’m ignoring for simplicity’s sake the fact that the picture is wider than it is high.) The great majority of cameras shooting DV, DVCAM, and DVCPRO were intended to shoot interlaced video, so 480p was less important.

Curiously, the PAL versions of DV and DVCAM used 4:2:0 chroma subsampling if I recall correctly (though Panasonic’s DVCPRO used 4:1:1 for both NTSC and PAL). In the PAL world, vertical resolution is 20 percent greater (576 pixel rows per frame versus 480), so perhaps the engineers were less concerned the vertical chroma resolution of 576i and liked the close compatibility with the DVD standard’s 4:2:0 chroma.

What’s surprising, by the way, is that you can often get an acceptable key out of 4:1:1 video if you give the edges of the key a little extra “feathering” (blur). It’s not ideal, but it’s not entirely awful. Still, 4:2:2 is clearly preferable.

At this point it should be obvious why anyone shooting standard definition interlaced video would much prefer to shoot 4:2:2 and get 360×240 chroma pixels per field in NTSC or 360×288 in PAL, especially if they need to pull a chroma key.

Stepping up to interlaced high definition at 1080i — which has 1920×540 luma pixels per field — 4:2:2 gives you 960×540 chroma pixels while 4:2:0 leaves you just 960×270. Again the former is clearly better. But remember, in interlaced standard definition it was common to pull decent keys with 4:2:2 color, and that’s even fewer rows of pixels than 1080p at 4:2:0.

Moreover, if you’re shooting 1080p (not interlaced), then 960×540 color pixels (4:2:0) isn’t so bad at all. In fact, some HDTV is originated at 720p (1280×720 black-and-white pixels per image). With 720p at 4:2:2 you have 640×720 chroma pixels, a total count of 460,800. Compare that against 1080p at 4:2:0, which has 518,400 total chroma pixels.

To sum up

My point is that back when professional videography was all about shooting 480i NTSC or 576i PAL, there was a big difference in going from 4:1:1 or 4:2:0 to 4:2:2, and hence pro videographers came to think of anything less than 4:2:2 as simply not professional quality.

But shooting 1080p or even 1080i, the difference between 4:2:0 and 4:2:2 is much less likely to be noticeable.

Once you reach the point of shooting 1080p at 4:2:0, the improvements you see in going to 4:2:2 will be real, but they won’t be dramatic. When higher end formats look better, it’s probably due more to 10-bit (or more) sampling and lower compression than to high chroma subsampling.

Also, in general, don’t spend a lot of money upgrading your camera if it causes you to sacrifice lighting, lenses, audio, and other things that can often make a more noticeable difference.

That last paragraph is basically it; all the rest is commentary.

Now briefly back to some technical esoterica if you can stand it. You should feel free to ignore the following even more than you should have felt free to ignore what you’ve read so far.

In the discussion of standard definition I omitted to note that the same pixel array can be used for either 4:3 or 16:9 content, depending on the setting of the aspect ratio flag. True 16:9 DVDs, that is, those without embedded letterboxing, are often labeled “anamorphic” or “enhanced for wide-screen televisions.” Go and check your player and makes sure it knows your television set is 16:9 (assuming it is), and check the “wide” mode on your television to see that it’s set “normal” (on Sony TVs) or whatever you brand calls the mode that doesn’t muck with the video any more than necessary to put black bars at the sides of 4:3 video. This may or may not give you a better picture, but it’s worth trying.

Standard-definition video pixels aren’t square. (If they were, a 720×480 array of 1:1 pixels would have an overall aspect ratio of 3:2, the same as a 35mm slide.) There are actually four different pixel shapes used, depending on whether the video is intended for 4:3 or 16:9 material, and on whether it’s PAL or NTSC. Remember that digital pixels are just sets of numbers, so the shape depends on how your television set interprets the data. (There is an aspect ratio flag in the metadata to tell it whether the image is old-school or wide screen.)

The shape of a pixel is called the pixel aspect ratio, and you may see that come up in video editing from time to time. Don’t try to work out the pixel aspect ratio for yourself, because it’s not as simple as you’d think. In NTSC, there are actually 704×486 pixels in a 4:3 picture. That’s because when the digital standard (ITU-601) was developed, it was decided to overscan each line by 8 pixels on both sides, for a 720×486 pixel raster, and later the top and bottom 3 lines were dropped to get a number of rows that’s a multiple of 8. PAL is overscanned at the sides as well, but I don’t think any lines are dropped, so with PAL the 4:3 picture is 704×576 pixels. I think. (Those good old “historical reasons” again.) Don’t bet on my having remembered this correctly; look up whatever the pixel aspect ratio you need if you ever have to know for sure. Even some professional NLEs have managed to get it wrong.

While I’m talking about arcane matters, if you’re wondering how SECAM (used in France, parts of Africa much of the Middle East, and the former Communist bloc) fits into this, it’s effectively identical to PAL for production purposes (even in analog provided chroma and luma are handled separately, as was generally the case for professional work from the Betacam era forward.). SECAM is different from PAL only at the level of composite analog video and analog broadcast. (In fact, there are a ridiculous number of broadcast SECAM standards differing with respect to such things as audio subcarrier frequency and modulation.)

PAL DVDs should work in SECAM countries. I admit I have seen DVDs for sale in Finland labeled as “SECAM,” but I suspect they’re identical to PAL.

Finally, just to mess with us, Brazil’s “PAL-M” is in most respects NTSC (that is, 480-line video at 60 fields per second) but with PAL-type color used in composite video encoding, so production for PAL-M is practically the same as for NTSC.

Now back to our regularly scheduled program of YouTube links and political rants.



Facebooktwitterredditpinterestlinkedintumblrmailby feather

Hobbits turn on McCain at town meeting

According to this article on the Arizona Central website, Senator and former presidential candidate John McCain (R-Arizona) faced some disgruntled and in some cases seriously wacky conservative voters at a town meeting in the town of Gilbert yesterday.

Senator McCain seemed a bit confused himself, in that he blamed S&P’s downgrade of the Treasury’s credit rating on President Obama, despite the fact that S&P was more critical of Republican extremism. On the other hand, the senator might have been trying to mollify his audience, which was up in arms because McCain himself had characterized the demands of far-right House Republicans as “deceiving” and “bizarro” and favorably quoted a Wall Street Journal opinion piece calling the members in question “the tea-party Hobbits.”

McCain declined to apologize for the Hobbits remark when asked to do so by a Tea Party member, who complained that Tea Partiers found it offensive. Not as much as the Hobbits, I suspect.

Anyway, at least some of the Tea Partiers present seemed to be into another fantasy entirely, this one involving United Nations Agenda 21, an early-1990s UN plan to promote conservation in the 21st century innocuous enough that was adopted by 178 countries.

But several at the meeting apparently believe a right-wing rumor that Agenda 21 is a really diabolical plot for (as one of them put it) a “takeover of the United States of America by taking over our farms.” Another amplified the point: “First, our firearms, then our farms.” (This sounds to me like an outdated strategy. I’d aim for taking over Wal-mart.) McCain tried to reassure his fellow citizens that no Congress would ever allow something like that to happen, should it ever actually come up, but they weren’t having it.



Facebooktwitterredditpinterestlinkedintumblrmailby feather

CNN poll: GOP disapproval up to 59%

A CNN poll released today indicates that among the 930 people surveyed, only 33% have a favorable opinion of the Republican Party, while a remarkable 59% have an unfavorable one. (And it’s not like they love the Democrats; that party’s favorable-unfavorable breakdown is 47-47.)

Interestingly, the Republican Party is actually viewed more negatively than even the Tea Party movement, which rates 31% favorable versus 51% unfavorable.

(Update: I should have noted that while the Democrat’s ratings have been fairly stable in this poll for more than a year, the Republicans have gone from 44-48 in March to 41-55 less than a month ago down to 33-59 today.)

(Update: Republican Party chair Reince Priebus was asked about this on CNN and attributed his own party’s recent rapid drop in favorability to Americans’ dissatisfaction with — I am not making this up — Barack Obama and “Obamacare.” More here.)

(More update: Danny Mickol pointed out on The Daily Show’s Facebook page that if you take all the vowels out of “Reince Priebus” you’re left with “RNC PR BS.” And speaking of The Daily Show, correspondent Wyatt Cenac once pointed out, in character as Puppet Michael Steele, that “Reince Priebus” sounds like something you’d see on a final at Hogwarts.)

Democratic House Minority Leader Nancy Pelosi has the highest unfavorable rating in the top Congressional leadership, with favorable-unfavorable numbers of 31-51 (just like the Tea Party), while Republican Senate Minority leader Mitch McConnell, has the lowest favorable rating, 21-39.

Top-ranking Democratic Senator Harry Reid stands at 28-39, while Republican Speaker of the House John Boehner, who barely had the support of his own party during much of the recent debt ceiling hostage crisis created by the far right, has favorable-unfavorable numbers that by comparison don’t look so bad: 33-40. But that’s still only a third viewing him favorably.

As one would, alas, expect in the U.S., a substantial percentage of those surveyed say they’ve never even heard of the persons in question. More than a fourth say they’ve never heard of Senator McConnell, which is remarkable given that he’s the only member of Congress with a face that strikingly resembles a sea turtle’s. At the other extreme, only 9% say they’ve never heard of Nancy Pelosi.

Curiously, 5% say they’ve never heard of the Tea Party, and amusingly, 1% insist they’ve never heard of the Republican Party, which sounds to me like denial.

Finally, asked whether they thought their own Representative in the House deserved to be reelected next year, only 41% said yes versus 49% who said no. This is a remarkable result, because never before in the history of the CNN poll have fewer than half said their Representative did not deserver reelection.



Facebooktwitterredditpinterestlinkedintumblrmailby feather

Robert Reich on “The Empty Bully Pulpit”

Robert Reich, a co-founder of The American Prospect magazine, former Secretary of Labor, and now a professor of public policy, is one of my favorite writers of political and economic matters, someone immensely knowledgeable who’s also gifted with an strong sense of humor, which no doubt helped him when he was dealing with Congress.

I strongly recommend reading this column from the September-October issue of The American Prospect, in which Reich criticizes President Obama for failing to set out a set of goals for the country. (The whole issue is worth reading, in fact, with some intelligent criticism of both Bush and Obama and both parties in Congress for major missed opportunities over the last decade.)

It seems to me that in the recent past, specifically since the crisis provoked by the GOP’s irresponsible debt ceiling hostage strategy (and I’m being very restrained in that description), Obama has started to do a little bit better job in terms of presenting a case to the public. But I think the substance of what Reich wrote here unfortunately still holds true. Here are the last three paragraphs:

Why is Obama not using the bully pulpit? Perhaps he no longer trusts that Americans will hear him. Whatever the reason—that he’s embroiled in the tactical maneuvers that pass for policy-making, or intent on preserving political capital for the next skirmish, or cynical about how the media will relay or distort his message—he doesn’t try. He may also disdain the repetition necessary to break through the noise and drive home the larger purpose of his presidency.

A more disturbing explanation is that he simply lacks the courage to tell the truth. He wants most of all to be seen as a responsible adult rather than a fighter.

As such, he allows himself to be trapped by situations (the debt-ceiling imbroglio most recently) within which he tries to offer reasonable responses, rather than be the leader who shapes the circumstances from the start. He cannot mobilize Americans around the truth, in other words, because he is continuously adapting to the prevailing view. That’s not what Americans thought they were getting when they elected Obama president.



Facebooktwitterredditpinterestlinkedintumblrmailby feather

Bill Maher’s New Rules: The Democrat’s answer to the Tea Party

Thanks to my brother Tom for pointing out Bill Maher’s latest “New Rules” segment, in which he proposes that the Democrats form their own cohort of crazies, recruited from places like Whole Foods parking lots to balance the Tea Party. For example, this anti-Tea Party would require that schools teach not just gay history but gay math, too.

It’s pretty funny, though some of the language may be offensive to non-Navy veterans.

(If for some reason the version above doesn’t work, you can try this link.)



Facebooktwitterredditpinterestlinkedintumblrmailby feather

Steve Benen’s excellent and concise history lesson

I’m grateful to my friend David Hulan for pointing out Steve Benen’s superb blog on The Washington Monthly‘s website. The magazine itself is one I’ve long been a fan of, since rather than focusing exclusively on politics (and then often only on personalities, scandals, and standings in the polls rather than actual substance) as too much press coverage does, the Monthly looks at how government actually works (or doesn’t), pointing out waste and failures as well as successes and performance in between, and often making concrete suggestions for improvement.

For once I’m going to quote almost all of one of Benen’s blog entries (the original is here) together with some additions of my own and hope he forgives me for doing so. My contributions are in square brackets like [this]; the rest is Steve Benen.

August 06, 2011 11:05 AM
A timeline of events
By Steve Benen

Let’s take a stroll down memory lane, shall we?

[1945: The U.S. emerges victorious from World War II with a national debt 117.5 percent of its annual gross domestic product. The ratio of debt to economy goes down under every subsequent president of both parties with the minor exception of the abbreviated Ford administration, when it stayed basically level.]

[Fiscal year 1969: Lyndon Johnson’s final budget produces a surplus at the height of the War in Vietnam, the War on Poverty, and the Apollo program.]

1980: Ronald Reagan runs for president, promising a balanced budget

[January 1981: Jimmy Carter’s presidency ends with the national debt only 32.5% of GDP, the lowest ratio since before World War II.]

1981 – 1989: With support from congressional Republicans, Reagan runs enormous deficits, adds $2 trillion to the debt.

1993: Bill Clinton passes economic plan that lowers deficit, gets zero votes from congressional Republicans. [Republican leadership unanimously predicts these policies will surely lead to economic collapse. In fact, Clinton presides over the longest uninterrupted period of economic expansion in American history.]

1998: U.S. deficit disappears for the first time in three decades. Debt clock is unplugged.

2000: George W. Bush runs for president, promising to maintain a balanced budget.

[January 2001: Clinton leaves office having reduced the debt/GDP ratio for the first time since Carter, and by the largest number of percentage points since Eisenhower.]

2001: CBO shows the United States is on track to pay off the entirety of its national debt within a decade.

2001 – 2009: With support from congressional Republicans, Bush runs enormous deficits, adds nearly $5 trillion to the debt. [And pushes through two successive major tax cuts mainly benefiting the rich, the second of which Bush himself was reportedly reluctant to do until Vice President Cheney insisted on it.]

2002: Dick Cheney declares, “Deficits don’t matter.” Congressional Republicans agree, approving tax cuts, two wars, and Medicare expansion without even trying to pay for them.

2009: Barack Obama inherits $1.3 trillion deficit from Bush; Republicans immediately condemn Obama’s fiscal irresponsibility.

2009: Congressional Democrats unveil several domestic policy initiatives — including health care reform, cap and trade, DREAM Act — which would lower the deficit. GOP opposes all of them, while continuing to push for deficit reduction.

September 2010: In Obama’s first fiscal year, the deficit shrinks by $122 billion. Republicans again condemn Obama’s fiscal irresponsibility.

October 2010: S&P endorses the nation’s AAA rating with a stable outlook, saying the United States looks to be in solid fiscal shape for the foreseeable future.

November 2010: Republicans win a U.S. House majority, citing the need for fiscal responsibility.

December 2010: Congressional Republicans demand extension of Bush tax cuts, relying entirely on deficit financing. GOP continues to accuse Obama of fiscal irresponsibility.

March 2011: Congressional Republicans declare intention to hold full faith and credit of the United States hostage — a move without precedent in American history — until massive debt-reduction plan is approved.

July 2011: Obama offers Republicans a $4 trillion debt-reduction deal. GOP refuses, pushes debt-ceiling standoff until the last possible day, rattling international markets.

August 2011: S&P downgrades U.S. debt, citing GOP refusal to consider new revenues. Republicans rejoice and blame Obama for fiscal irresponsibility.

There have been several instances since the mid 1990s in which I genuinely believed Republican politics couldn’t possibly get more blisteringly ridiculous. I was wrong; they just keep getting worse.

[And you think this is bad, just wait. Republican leaders have already promised to repeat their strategy of threatening default unless they get their way.]



Facebooktwitterredditpinterestlinkedintumblrmailby feather

Is your Internet service hijacking your search requests?

This article at the New Scientist website notes that a number of major U.S. Internet service providers (ISPs) have been caught intercepting searches intended for Yahoo, Bing, and sometimes Google and redirecting them to to an advertising firm that would send the user not to a search results page but a sponsor’s website. It’s unclear whether they may also be inserting their own sponsored results into the returned search pages. Neither practice is legitimate, and both may be illegal. At least one lawsuit is in the works.

The known bad guys listed are

Cavalier
Cincinnati Bell
Cogent
Frontier
Hughes
IBBS
Insight Broadband
Megapath
Paetec
RCN
Wide Open West
XO Communication

In addition, Charter and Iowa Telecom were caught in the act as well but have now apparently stopped.

One way around this, at least with Google, is to use https rather than plain http at the start of the Google URL. The easiest way to do that is to bookmark Google and use the bookmark rather than your browser’s search box, but unfortunately that’s less convenient. The New Scientist article gives additional useful information.

Note that this behavior is distinct from another obnoxious practice of many ISPs, which is to intercept a mis-typed URL and take the user to a sponsored search page. This means that if you, for example, copy a URL out of a magazine and get one letter wrong, you pretty much have to reenter the whole URL because the ISP’s redirection screws up the address box.

(Updated to reflect uncertainty about whether search results that are returned have been modified, and that this is distinct from the practice of intercepting bad URLs.)



Facebooktwitterredditpinterestlinkedintumblrmailby feather