5D Mark II videos retiming from 30p to 25p/24p - first findings

July 4, 2009

Two weeks ago, a few friends from my film school took the Canon 5D Mark II to the Ostsee coast to test whether it would be suitable for the short film they want to shoot in August. They gave me the material they shot so I could try various retiming methods to see if it was possible to get a decent looking 25p copy of the material. (Update: I have since shot some more tests, read about them here. Update Nr 2: I have written two extensive blog posts on how retiming works and how to do it in After Effects. Find them here.)

Most technically minded filmmakers will be aware of why the 5D is such a hot topic right now, but for those who aren't, here is a short summary: The 5D is a DSLR Camera that can record video in 1080 30p (HDTV). Why does this matter?

  • The full frame sensor means very, very little Depth of Field especially compared to all current video cameras that cost below 20K Euros. It means getting a lot of what we associate with film look without stupid workarounds like 35mm adaters
  • It needs very little light. AFAIK it can shoot with significantly less light than the RED ONE.
  • We can use very good photographic prime lenses that are a lot cheaper than cine lenses.
  • More reasons are here

It was inevitable that the worlds of the great DSLR cameras with big sensors and of video cameras with their optimized ergonimics for long shoots would at some point converge, and we are currently seeing some of the first cameras that bridge the (increasingly artificial) gap. Because cameras like the 5D are the first cameras that try to do both, there are many shortcomings. How serious these are for your project is something that only you yourself can decide by testing it, but here is a list with the downsides I regard as being the most serious:

  • Frame rate fixed to 30p (this is a problem if you want to screen it in Europe on DVD/TV - Pal is 25p - or in cinemas - film is 24 fps)
  • Fancy compression (mpeg 4) that can have some weird artefacts
  • Nearest Neighbor or similar scaling algorithm - this leads to very bad moiré when filming subjects with a lot of fine detail
  • Crushed blacks / no raw - it makes the images look great right off the camera, but you are very limited in what you can do in your colour correction
  • Rolling shutter - skewed vertical lines or weird wobbly movement in horizontal motion
  • Handling optimized for still photography
  • Video recording time limited to about 12 minutes

Of these problems, the frame rate thing is the most serious for no budget filmmakers in Europe. If it is impossible to create a PAL Screener DVD, there isn't a lot you are going to be able to do with your film. Also, if you get lucky and your film gets a cinema distribution, you will need a 24 fps version. So, unless Canon ships a firmware update that lets us shoot in 24/25p, the question is: is there anything we can do to create this great camera to shoot shorts and be able to watch them afterwards (in 25p/24p?)

The answer is maybe - there are 4 possible ways to convert video from 30p to 25p that I am aware of:

  • Play it slower. Perfect image quality because every frame is played as it was recorded. Everything will get a slight slow motion effect. Unusable for anything containing dialogue. Might be interesting for action / commercials.
  • Throw away frames. Creates very jerky video, IIMHO unusable for anything.
  • Retime it using frame blending. For every output picture, two pictures are blended together (kind of like a double exposure). This works well for scenes with little movement and it produces very predictable results. Gets very noticeable with quick movements or pans.
  • Retime it using optical flow analysis (also called Pixel Motion and similar). Complex algorithms try to analyze where groups of pixels are moving and calculate intermediary frames. Creates cleaner results than frame blending in many cases, but can horribly fail if it gets confused.

Most modern NLEs can use the first 3 or all of the above methods. Since I like to use After Effects for things like this because it always puts image quality first and speed second, this is what I tried. 

I tried all of the above methods with two shots that I got from my friends. So far, the tests were not very conclusive because only very few scenes were shot with a 180 degree shutter (most used much shorter exposure times because they didn't pack enough ND). We will shoot some more tests next week and I will post those results with some example videos, but here are my findings so far (all tests were done in After Effects at full resolution and screened on a full hd lcd screen):

  • Frame blending is too noticeable when there is significant subject movement. Camera movement seems to be less noticeable.
  • After effects' optical flow analysis can easily get confused (at least with the default settings). Below is a still frame where the Sun just came out behind one the actors and the entire picture was shredded.
  • The Twixtor Pro 4.5 Plugin for After Effects seems to produce results that are noticeably more stable. In the two rather difficult tests I rendered there were no visible problems. Also, Twixtor is able to render artificial motion blur with very little additional render time, which should make the output smoother.

BTW, when you want to try your own tests, try to figure out what the program will be doing and if it actually makes sense. One possible path that a program might take would be to assume that the material was converted from 24p film to 60i via 2:3 pulldown and you simply want to reverse this process. DON'T do this, it would badly mess up your video!

As I wrote above, my tests were inconclusive thus far. Twixtor looks promising, but it's hard to judge if the resulting material looks correct or if something feels weird. The 5D is a very interesting camera and I would have good use for it's photographic capabilities as well and already own a nice selection of canon lenses. But to know if it will be useful to create a short film suitable for the cinema screens at film festivals I will have to do some more testing (next time I will also upload some example videos, I promise). Of course, if Canon would release a firmware update for 25p I would be in the store the next minute (Canon? Are you listening?!)

Go on to the next posting in this series.