Tuesday, May 20, 2008

Why aspect ratio is hard ...


It should not be, of course but the following was taken at a large meeting of the experts... who's logo is a circle... except for when its not of course.

Thursday, September 06, 2007

Time zones...

Martin Fowler writes about TimeZoneUncertainty in his bliki. The correctness of his post is shown to me by the minute earlier when I received a Notes originated calendar meeting request from somebody wanting to hold a conference call at 'tomorrow at 3pm (11:00 EST, 8:00 PST)' and the calendar request pops in as 16:00 GMT. Now my local timezone is BST (daylight savings is active) so what is one supposed to do... is the meeting at 15:00 or 16:00 local time.

If we assume that the person sending knows about timezones, then it should be 3.00 pm UTC which becomes 16.00 BST. but what if he meant 15:00 BST and the calendars got it wrong! I know I'll ring him...

Tuesday, February 21, 2006

Frame rates ...

You know you just got to love the Internet ... for producing so much good and bad data all at the same time :-) I've just been listening to Major Nelson's latest podcast where they were discussing HDTV and frame rates, anyways, here is some information for you on why or why not 24...

In the beginning when people started with moving images on film, there was no standard frame rate, different films were run at different speeds. However they were all viewed in a dark room, for portrayal of continuous movement, the eye/brain needs to see quite a small number of frames per second, i.e. new images. If you get too few updates then the distance objects move image-to-image becomes too large and your brain spots the disconnect, so the frame rates were between 16-28, i.e. 16-28 frames per second. Unfortunately when you view images with this frame rate in the dark, you see flicker (origin of the phrase 'the flicks'?).

As a solution, somebody came up with the idea of showing the same frames multiple times by using a bladed shutter in the projectors, to show each frame more than once. This doubles (or triples) the flicker rate so now you don't notice it. Importantly this effect is dependent on the light level of the viewing conditions, the lighter the conditions the higher the refresh rate you need to hide the flicker.

So when we get to adding audio to the cinema experience they needed to maintain a constant rate of motion because they are going to encode the sound as part of the film itself, so to maintain a constant pitch of sound they had to standardize on a frame rate. The theory goes that the higher the speed of motion the better the audio will sound as you can get a better signal on the film, the same goes for the pictures, more pictures looks in some ways more 'real'. So they appear to have taken a pragmatic approach to the problem, they took an average of the played rates and came up with a compromise between quality and cost of 24 FPS, (1.5 Ft per second) but displayed twice giving a 48 Hz refresh rate.

When we move to television, we have a similar problem. We want to make televisions a cheap as possible for consumers to buy. In the beginning we have a problem that we need for the transmitter and receiver to run synchronously, i.e. the same frame rate. The circuitry required to do this was seen as too expensive/unreliable, so the engineering side decided that they would use the AC power frequency rates to generate the required sync/refresh signal, in the UK we then get 50Hz and elsewhere 60Hz.

But we don't want to shoot and transmit over twice the film and use twice the bandwidth in transmission, so we look to the flicker vs continuous motion and decide we can do some thing similar to the bladed shutter in a film projector. We transmit the images in two halves (fields), every other line in each update, and we call this interlace.

Now this works for 50 Hz quite well, you only need to speed up the film by 4% and maybe if your lucky re-pitch the audio. But in the 60 Hz world your going to need too great a speed up, so instead we do some other weird hack which adds extra fields to turn the 24 into 60 and this is 3:2 pulldown/pullup.

For the really technical of course we needed to add colour and that put another spanner in the works. When we wanted to add colour to the black and white signal we didn't want to transmit two different signals one black and white and one colour so we stuff the colour information into the original format. This caused the 'NTSC' world to need to slightly shift the frame rates by 1000/1001 giving 59.94Hz instead of 60Hz, but that is for another time...

Monday, January 09, 2006

Google theories

So I have a theory, based upon the phrase "If you build it, they will come".

If you search for it, it will exist.

I base this on the fact that web pages in Google either exist, or will do shortly afterwards... Do Google have an army of monkeys watching for failed searches and go out and create content just so next time they can fulfill your search ??

The corollary to this is there is the Heisenberg uncertainty principal to consider and sometimes that wins :-)

Saturday, January 07, 2006

MF Bliki: ImplicitInterfaceImplementation

MF Bliki: ImplicitInterfaceImplementation

So Martin Fowler sounds like he's talking about C++ templates ability to have compile time polymorphism, combined with concepts and we could be cooking on gas as they used to say round here...

Kind of makes a nice change to find something C++ already has being on the 'nice to have list' :-)

Podcast overdoses ...

Having just received one of those new fangled iPods one has to wonder if it is possible to overdose on podcasts, so far I've well over 30 subscriptions, and including the back dated shows I'm over 3 days of listening.

Lucky for me a large amount of this has been listened to during my commute to and from work.

On the downside, I wish iTunes would allow CDs to be encoded as a single track with cues corresponding to the index and track markers, linking in the CDDB data for the CD, oh yeah on Windows...

The second down side has to be that I can't use my machine at work to synchronise my podcast subscriptions as well as at home...

Friday, July 22, 2005

Strange Aspects ...

Anybody who has visited one of the publicly accessible "Movie Studios" will probably have noticed how false perspective is used to make the buildings and sets look bigger. As you move up the building windows tend to become smaller, etc.

OK, so what's so strange? Well if you visit Vegas, you may notice the opposite effect. The buildings use techniques to make them look smaller! You will notice this if walking about. Its pretty bizarre as you think that it's "just over there", then you walk half a mile and it's still "just over there" ...

Wednesday, December 15, 2004

Hazardous Bikes ...

DangerSigns
DangerWillRobinson
Originally uploaded by HxPro.
So having just bought my son a Bike for his birthday imagine my surprise to find out how dangerous they are...