9 posts with tag “videos”

Fancey in “The Office”

Yesterday I learned that (Todd) Fancey of Fancey (and of The New Pornographers) did a song for an episode of “The Office.” Here’s a quick video:

I can’t tell if that’s him on the album cover but man I hope it is. From Fancey’s MySpace blog:

If you have a chance to check out the hilarious and Emmy nominated “Dinner Party” episode of NBC’s “The Office” (Aired a couple days ago April 10, 2008), you will hear a song called “That One Night”. The lyrics are by the brilliant writers Gene Stupinsky and Lee Eisenberg. I did the music and made the recording. I was thrilled to be asked because I truly love that show, it’s the BEST. Special thanks to Alicen Schneider and Dave Madden of NBC.

Leave a Comment

Video: That MTV “Vertebrae” Commercial

Hey, I didn’t say it was good.

I guess what I find so fascinating about it is: When did MTV ever condone being unpopular? Between the Spring Break programming and drunk girls crying on The Real World, it was an odd change of pace, but one that reminded me of the attitude MTV used to have, in the ’80s, before they became shameless culture-mongers. Still, it’s important not to ignore that this guy actually is attractive, and dressed fashionably, and — at least at my school — probably would have been popular. I guess it would have turned too many viewers off to have presented him as acne-ridden, overweight, without any sense of style, and listening to black metal?

Something I forgot to mention last time is that this was part of a series of commercials, if I remember correctly, that played on the “V” in “MTV,” although I forget the titles of the other installments.

Thanks to La fille des montagnes (“The girl mountain”?) for sending me the video.

6 Responses

FFmpeg Quality Comparison

Flash video is so great.

Anyway I used to use MediaCoder to convert to flash video, but when it gave me errors, and refused to tell me the specifics of those errors, I took it old school to the command prompt with FFmpeg (which MediaCoder uses anyway). This gives you a lot of useful info about the source file you’re encoding, such as audio sampling rate, frame rate, etc.

Wanting to find a balance between picture quality and streamability, I began encoding a short length of AVI video at different compression levels. FFmpeg calls this “qscale” (a way of representing variable bitrate qualities, much like LAME‘s -V parameter), and the lower the qscale value, the better the quality. The available qscale values range from 1 (highest quality) to 31 (lowest quality). Going worse than a 13 qscale produces unacceptably poor quality, so that’s as low as I went for the purposes of this test.

I encoded 3:14 minutes of an AVI, resizing it to 500Ã — 374 pixels, and encoding the audio at 96kbps and 44.1KHz, which sounds fine, and is a negligible part of the ultimate file size, so going lower wouldn’t be very beneficial. Plus I find that good audio can create the illusion that the whole thing is of higher quality. Poor audio just makes it sound like “web video.”

Here are the results, courtesy of Google Spreadsheets:

FFmpeg quality vs. filesize chart

The filesize, of course, goes down as quality goes down. And the loss in filesize also decreases, not just in amount, but in percentage as well, as indicated by the red line. For instance, the value of the red line at qscale 3 is 33.97%, which means that in going from qscale 2 to qscale 3, 33.97% of the filesize is shaved off.

However, because these losses are not perfectly exponential, I knew that there had to be qscale values that were more “efficient,” in a sense, than others — values that, despite being high, and causing a lower change in filesize than the previous step in qscale, still caused a comparably large change in filesize. For instance, still looking at the red line, you’ll notice that going from 2 to 3, as I said, shaves off 33.97% of the filesize, while going from 3 to 4 only shaves off 23.93% of the filesize; and that is a 29.56% decrease in change-in-filesize, which is a relatively large cost. We want the change-in-filesize to remain as high as possible for as long as possible.

Now, if you follow the red line from 4 to 5, you’ll see that that’s a 20.32% loss in filesize, which is pretty close to our previous 23.93% loss in filesize in going from 3 to 4. In fact, we’ve only lost 15.09% of change-in-filesize from the previous step. So these are the values we really want to examine: change in change-in-filesize, represented by the orange line.

This is nowhere close to exponential, nor does it follow any predictable decline. It darts around, seemingly at random. And we want to catch it at its lowest values, at points that represent changes in qscale that were nearly as efficient as the previous change in qscale. So the most desirable qscale values become, quite obviously, 5, 9, and 11.

What this means is that if quality is your primary concern (and you’re not crazy enough to encode at qscale 1), go with 5. qscale 5 turns 3:14 minutes of video into 30.62MB, which requires a download rate of 157.84KB/s to stream smoothly. qscale 11 will give you about half the filesize, and require a download rate of 77.37KB/s. But, because that’s the level at which picture quality really begins to suffer, and because most people don’t really mind buffering for a few seconds initially, I’m probably going to stick with qscale 9, whose videos take up 91.58 kilobytes per second, and which is by far the most efficient qscale anyway, with only a 4.92% change in change-in-filesize.

One caveat: This whole examination presupposes (as far as I can tell) that if it were possible to measure and chart the changes in the actual perceived visual quality of videos encoded at these qscale values, the curve would be perfectly geometric or exponential, with no aberrations similar to those above, and with all extrapolated delta curves showing no aberrations either. Given that, it might be easier to believe that every step you take through the qscale is of equal relative cost, and that there are no “objectively preferable” qscale values. But that is a lot more boring.

25 Responses

Conan Xmas: 2000

Tom Hanks celebrates Christmas on Conan in 2000. This has been documented as the last funny thing Tom Hanks ever did.

Miraculously retrieved from the land of forgotten television moments, four months after my plea on a Conan forum, to replace the taped copy I lost years ago. Because I like to hoard things and save them forever (ahem), I’m always disappointed when the internet fails to be effective in dredging up even the most insignificant cultural minutiae from the past. I’m getting used to it, but in the meantime, this was a warmly reassuring moment in my life.

2 Responses

Kirk Cameron, and stealing video from abcnews.com

Last weekend Kirk Cameron and Ray Comfort debated some smug atheists over the existence of God. Kirk’s and Ray’s claim was, to paraphrase, that they could prove, 100%, scientifically, the existence of God, without invoking faith or the Bible. The atheists were to prove, not that God doesn’t exist, but that Kirk and Ray can’t prove otherwise. The debate took place on Saturday night and was taped to be streamed on abcnews.com the following Wednesday and Thursday, with select portions being televised on an episode of Nightline.

Here’s Slate on the subject:

First, I grew excited at this promise, then began to wonder why no theologian, philosopher, or sitcom star in recorded history had done it before—Thomas Aquinas, Immanuel Kant, Tina Yothers, whoever—and realized I was in for a letdown. Comfort’s cadences were not even those of a preacher but of an infomercial host, and the God Squad had but three arguments on behalf of the big guy: All things have makers; the human conscience is evidence of a higher moral power; if you read the Gospel, then Christ will be revealed to you. For reasons too stupid to type, this was not an airtight case, and the atheists made quick work of it in tones of juvenile sarcasm.

They also threw in the first mover argument, which technically differs from the watchmaker argument. The content of the debate is of almost no interest, of course, as it closely parallels countless conversations that have taken place before it. But its being presented by ABC is significant, even unprecedented by recent standards of network television. Which isn’t to say that religion and God are never mentioned on TV, but that when they are, they are dismissed as irreconcilable, deeply personal things that don’t invite inspection beyond that of the effects they have on people’s behavior. They are approached as moral and cultural issues — never as metaphysical ones. And the idea that a large-ish portion of the American public might see people earnestly discussing the nature of infinity and causality, even if ineptly, only hours after Ugly Betty, fascinated me, despite my confidence that none of it would be illuminating, and that it was a ratings stunt.

I didn’t see the “distilled” version on Nightline, and the YouTube videos were removed before I could watch or save them, but I hear they did a pretty bad job with the material. At the moment, the entire debate is still available at the story’s ABC page, but, knowing that they probably won’t last, and with a tendency toward obsessive archivism and a disdain for ABC’s intractable flash player, I collected them myself. Altogether they’re about 97 minutes. If you’re short on time and have to be choosy, watch the “Mocking Darwin” segment, which contains the most lolz, and a guided, pictorial tour of an understanding of evolution so profoundly misinformed that even Lamarck is rolling his eyes. And he’s dead. As I watch this debate, I keep expecting Kirk to break character. Then I think, Ray must have some dangerously compromising photos of him.

From the Columbia Journalism Review:

We could go on, but why? Nightline felt no responsibility to take the issue seriously enough to include, say, a scientist or a theologian in the debate, so other than pointing out the dumbing down of the national conversation, we’ll just leave it at saying that we expect more of Nightline, and the American people deserve better than being forced to endure half-baked publicity stunts dressed up as news.

Thrown in at the end are some recent discussions Bill O’Reilly has had with Kirk Cameron and Richard Dawkins, in which Bill presents his own fucked version of an anthropic argument, expressing amazement that we could have “lucked out” by having such a habitable planet land on us, and plenty more frustratingly nebulous reasoning for your teeth-gnashing pleasure.

The videos were recorded using a years-old tool that I’ve wanted for as long as I can remember. CamStudio records the activity in a selected portion of your screen, and spits out an .avi. Its current version is from 2003, but, thanks to its open-sourceness, is still being developed. It gives you the option to use different recording codecs and to tweak their parameters, but the only way I was able to get results was with enormous files, approaching 1GB for 15 minutes of 320×240 video. Which is a pain in the ass, but it works.

Leave a Comment