LIBRARY: Tutorials Reviews Interviews Editorials Features Business Authors RSS Feed

Cineon Files: What They Are, and How To Work With Them

COW Library : Adobe After Effects Tutorials : Pete O'Connell : Cineon Files: What They Are, and How To Work With Them
Cineon Files: What they are, and how to work with them
A Creative COW Magazine Extra and After Effects Tutorial


Working with Cineon Files in Adobe After Effects

Pete O'Connell

Pete O'Connell
Barxeven Productions, Montreal Canada
©Pete O'Connell and CreativeCow.net. All rights reserved.

 

Article Focus:
Expert film compositor Pete O'Connell takes you through the world of Cineon files, including exactly what they are, how they work, and how to work with them in Adobe After Effects. If you work with film files or want to, you need to read this article.


Creative Cow magazine Film Values issue

Note
: This article is the "Director's Uncut Version" of an article in the Creative Cow Magazine's Film Values Issue. In that article Pete digs more deeply into the similarities between the way film records light, and how your eye SEES light.

If you're not familiar with Cineon files, or working with film files in general, this is definitely the place to start.

Click on the image here for a 6 MB PDF download of that issue.

With that background under your belt, here's the whole story on how to work with Cineon files.



The Cineon file format is the best way to digitize a 35mm film negative when both high fidelity and small file size are taken into consideration. The easiest way to think of a Cineon file is that it is the 35mm negative, only digital, and inverted (so that we can see something that vaguely looks like what was shot). But it is a hi-rez 10 bit facsimile of the 35mm negative.

Click image for larger
An example Cineon file



Why do Cineons look washed out?
The luminance values of a 10-bit LOG cineon file look strange, the darks are too light and the brights are not bright enough. This is because film captures a logarithmic record of the light intensity hitting the film.

 

A brief explanation of logarithmic
If you make a graph (see red line below) and you space the exponents evenly along that graph (not the number values themselves), the graph is said to be logarithmic. For example if you graph 10 to the power of 1, 10 to the power of 2, 10 to the power of 3, 10 to the power of 4 along the x axis of a graph, the 1,2,3,4 exponents are what are evenly spaced along the x axis (see bottom white numbers of graph), not the number values 10, 100, 1000, 10000, which are in totally different positions (mostly cramped over to the left of the graph as shown by the green line).


Logarithms



This graph is meant to demonstrate the principle of what is meant by LOG. Now let’s look at how this concept is relevant in the context of cineon files.

35mm film has a surface made up of microscopic silver-halide crystals. When light hits them, some of the individual crystals switch to dark. The rate at which crystals in the emulsion switch to dark decreases logarithmically as light increases. A photo of a 10% gray card will switch about 30% of the crystals to dark. A white t-shirt (which is 90% gray) will change about 70% of the crystals to dark. A bright glint on a car bumper 13 times brighter that white (1300% gray?) will switch 99% of the silver-halide crystals to dark.

Dude, It’s logarithmic.


Dude, Cineons are Logarithmic



So Cineons look washed out because 35mm film is very sensitive to darkish values and less and less sensitive to brighter values. In other words, 35mm film has an exponential (AKA logarithmic) sensitivity to light, which is why cineon files do.


Coincidentally humans perceive light contrast and detail logarithmically as well. We see more distinct levels of gray in the darker things we see (up to about middle gray), and as things get brighter we distinguish between them less. For example, in a darkish room at night we can still see things clearly and see contrast between objects even in the presence of a very small amount of light. If you are, however, driving on the highway on a sunny day and the clouds in the sky are too bright, you can’t see any detail in those clouds, but, by putting on sunglasses, you are effectively bringing the light values in the sky down into a range where you can perceive detail well.

There is an elegant similarity between how we perceive detail and how film captures light values, both of which could be represented by the green line in the previous diagram. Big budget movies are still shot on film despite the fact that we are well into the digital era, because the rate at which film captures light information is remarkably sympathetic to the logarithmic way that we perceive detail with our eyes. The aesthetic byproduct of this happy coincidence is that film is very pleasing to the eye.

"Ah just give me some 16 bit linear tiffs." Don't do it! If you can get cineons take ‘em. With 16 bit tiffs, you will lose all your super-whites and you need them to make photoreal comps. Have a look at the following jpegs of Marcie, which I shot with a so-so digital camera. In the first image, Marcie's hair is really blown out, in the second image I show the cartridge of a pen which, in the third image is all out of focus because I am holding it up really close to the camera. See how much detail was brought back into the hair even though the lighting didn't change at all between the first and third images?

Click image for larger
Cineon

If I would have shot Marcie with a 35mm film camera and would have then had that image scanned by a cineon scanner, the resultant cineon file would contain absolutely all the over-bright detail that the pen cartridge revealed. If I try to, however, blur a pen in comp in front of the first blown out image, there is no way to make that look photo real. Since that image is a jpegs all the whites clip at 1. Cineons clip at 13.54

Click image for full size.
Cineon vs. TIFF



Tiffs, jpegs, targas etc... all can only contain values between 0 and 1. Technically speaking cineons also only contain values between 0 and 1.

Open any cineon in AE and view the values in the info palette. Set the readout to decimal by clicking on the little right pointing arrow at the top right of the info palette. You will not be able to find a value above 1.

But wait, if a cineon file is a faithful digital representation of a digital negative and a digital negative can hold values 13 times (or so) brighter that white, why doesn't the info palette show those super bright values? Well that’s because all the over-bright info is contained logarithmically in a 10 bit per channel file with 1024 levels of brightness per channel. The cineon file.

 

The slightly confusing world of the cineon After Effects workflow.
I've introduced you to Marcie, the star of Kodak's standard Cineon test file. If you'd like to play along with this part of the tutorial, you can you can download a Cineon file of my version of Marcie here. (Note: the file is 12 MB.)

Since it's a cineon file which can hold values above 1 (white), the project needs to be set to 32 bit (AKA float). The project working space should always be set to none.

Here is a side note: although there are ways of working with cineons in AE using ICC colour profiles I don’t recommend using them because I have found them to often cause a slight amount of loss.

Anyway where was I? Ah yes, apply the Cineon Converter effect from the Effects>Utility menu and you should have a beautiful linear High Dynamic range Marcie with which to comp. Mouse over the brights in her hair to confirm that you are in fact getting values above 1 in those highlights and...

...what the? Why the @*&$#*@#$ is it clipping at 1?! Let's retrace our steps. First check project settings, 32 bit, working space none, good.

Apply the cineon converter, which is indeed a 32-bit effect according to the little 32 next to it in the effects and presets window. So far that all seems correct, but where is my high dynamic range? Everything is still clipping at 1. Let's look at the cineon converter properties. White point, Gamma, hmmmm…, what's that last one, highlight rolloff, highlight rolloff = 20, hmmmm….

The highlight rolloff has to be changed to 0. The default for the cineon converter in AE clips values at 1 unless you set the highlight rolloff to 0. I assume this to be a legacy oversight. It is strange to have a 32-bit effect not have a default setting that is high dynamic range. When I finally figured out the highlight rolloff thing, I think I said something like "Well I’ll be." (I'm paraphrasing). Don't forget, change highlight rolloff to 0.

Click image for larger
Cineon vs. TIFF



So now that we have our cineon converter set up in AE we need to check our over-brights in the info palette.


Click image for full size
Cineon Marcie

 

If we dim the image with the exposure control, the linearized cineon looks correct.


Click image for larger




But if a 16-bit tif made from the linearized cineon is dimmed down, the clipping becomes very noticeable.

Click image for larger
Marcie Clipping, corrected



Even though, as seen below, the two images above were absolutely visually identical before they were dimmed.

Click image for larger
TIFF vs. Cineon



This is why HDR file formats like the cineon file format are so great for compositing. They aren’t a record of colour values, they’re a record of light intensity and we want the layers in our comps to interact with each other with real world light intensities in order for the interaction to look photo real. For sticklers there should of course be a gamma curve to linearize the ‘linear’ cineon comp, but that’s a can of worms that I’ll save that for another article.


Anyway, if we blur a foreground element in front of Marcie (in this case a simple blurred solid), the interaction of the cineon file with the blurred foreground element will be a pretty close facsimile of the way objects in the real world interact.

 


Click image for larger
Interaction


And here below is the same comp with a tif instead of a cineon.

Click image for larger
Hooch

 


So switch back to the linearized cineon file and now that our comp of Marcie with the blurred bar in front of her is complete, it is time to check out. Drag your comp onto the make new comp icon and call the comp that is created ‘output’. Apply the cineon converter to this comp making sure that all the numerical values are identical to the first cineon converter (expressions are good for this if you like), but change the setting from LOGtoLIN to LINtoLOG.


Click image for larger
Change Cineon LOG




But how can we be sure that the pixel values are unaffected in the area where the CG element doesn’t interact with the plate? Like this:

Click image for larger
Cineon Film composite


Now you can render your cineon file choosing ‘Cineon Sequence’ from the Output Module>’Format’ pulldown.


Render settings for Cineon in After Effects


The default setting for rendering cineons are as they should be for cineon 10 bit output. But here is a look anyway. The preset called ‘Full Range’ tells After Effects to render exactly what it sees on the screen to a 10 bit cineon file.



Hit render, et Voila!

 




If you found this page from a direct link, please visit our forums or read other articles at CreativeCOW.net





Comments

Re: Cineon Files: What They Are, and How To Work With Them
by Carl Corneil
I did a comparison of files exported from the same AE project. A 16 bit tiff sequence and a 10 bit DPX.
When trying to match them up as best I could (difference in Nuke) I arrived at these settings for the Cineon Converter:

Linear to Log
10 bit black point 0
internal black point 100%
10 bit white point 685
internal white point 100%
Gamma 2,70
Highlight rolloff 0

My Cineon settings in the output module are the same except Im exporting DPX instead of FIDO/Cineon 4.5

Anyone know why I had to set the gamma one whole point up for it to match the tiff sRGB render?

Reel: aecorn.com

Re: Cineon Files: What They Are, and How To Work With Them
by Isaac Viejo
Hi...

Thanx for your explanation... I think is the only step by step article in the net...

I am working in a project shot with RedOne and the output will be 35mm and DCP.... we´ll made the prints with Cinevator system...
What I did is open the Pr project in After effects and from there export the R3d as DPX to work in the compositings... I am trying different ways to do this... change the R3D settings to RedLog and RedSpace before to export as DPX OverRange, or PDLog985 and RedSpace before to export as DPX Standard (as Mark Christiansen says in his article at ProVideo Coalition) ...

Once I do it, I import the DPX to start the composition... so I change the Cineon Settings to OverRange or Standard (depending of the settings at export) and apply the Cineon Converter LogToLin... but then everything looks too overbright to work... I am working with the DPX and .psd and tiffs together so it is like crazy to match everything together...
I tried to export as PDLog985, RedSpace and OverRange Cineon Settings (instead of Standard) and it looks much better... I check the picture looking at the Info panel and everything is Ok, or close the 'Iris simulator' and detail appear in the image, ...but when I check different elements coming from matte painters and 3d artist, whites clip at 1... how can i match everything together in the same space color to work and then apply the Cineon Converter LintoLog before export???

I tried to export the DPX from R3D with the original settings (709 for both gamma and Space), import, change Cineon Settings to OverRange, apply Cineon Converter LogtoLin and it is identical to the original... i think this is perfect to work... then I import all my tiffs and psd's and everything looks fine (except if I check in the Info panel, everything except the DPX clip at 1)... is this the correct form to work???

This is the first time I work with DPX and I am reading a lot about it, but I could´t find a step by step explanation... and it is like there are many ways to deal with it... some people says to use a general Working Space, some people says don't ...

Thank you.... I really appreciate your help....
Re: Cineon Files: What They Are, and How To Work With Them
by sunil kamath
good write up buddy..cheers
Re: Cineon Files: What They Are, and How To Work With Them
by Anastasia Sousouni
thank you sincerely for all the instructions,
it has been very very helpful for a beginner like myself,
with Cineon files inside After Effects.
thank you again,
wish you all the best
regards
anastasia
Re: Cineon Files: What They Are, and How To Work With Them
by ben g unguren
Very helpful. In my case, the cineon files I received looked "normal" (instead of flat) and the linearized ones were too contrasty. That's because the colorist was giving me color corrected footage for a television spot, and exported them as DPX files. However, the compositing, as you described it so well in the tutorial, worked MUCH better with the Cineon Converter, in 32-bit. So I applied the log-to-linear conversion (making it contrasty) on all instances of the footage in the comp, and then placed an adjustment layer at the very top of the comp converting it all back into log space -- that way what I was seeing was the final (for-television) comp, but still had the benefits of the superwhites etc. Hope that makes sense -- and thanks again for the great explanations!

color balancing
by Stepan Kment
Thanks a lot.

Still, what I am completely missing - You recommend setting working space to none: in that case, You completely loose any color management and can't set white balance in any way I worry. You can calibrate LCD or anything, however with no profile assigned as a working space, You'll see .. something unspecified.

For broadcast, one can attach some HD or SD monitor and that's it, however for digital cinema, there maybe is no reasonable way - how many have DLP Barco projector attached :)

So - could it be possible to share also some knowledge on color balancing and how to export it properly - what color temp typical cinema output expects?

Thanks,
Stepan
+1
Cineon Files: What They Are, and How To Work With Them
by Steven Mullins
This really, really helped me. Thanks so much.


Related Articles / Tutorials:
Adobe After Effects
Compositing Secrets Everyone Can Use: Pt. 3 - Alpha Channels

Compositing Secrets Everyone Can Use: Pt. 3 - Alpha Channels

When most people hear the words "alpha channels", they think "transparency", but that's not exactly accurate. The truth is more complex, and a quite bit more interesting! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 3 of the best look behind the technology of compositing that you've ever seen, packed with practical advice for applying the secrets of alpha channels that's simply not possible before understanding these underlying principles. No matter which applications you're using for editing, compositing, or visual effects, this one is a must-see!

Tutorial
Simon Ubsdell
Adobe After Effects
Compositing Secrets Everyone Can Use 2: Advanced Blend Modes

Compositing Secrets Everyone Can Use 2: Advanced Blend Modes

Whether you're a full-time compositor and VFX artist, an editor working in one of the many NLEs that supports Blend Modes (including Adobe Premiere, Apple FCP and FCPX, Avid Media Composer, DaVinci Rsolve, and VEGAS Pro), or whether you just want the additional graphics power that comes with insight into the secret world of pixels, this is the tutorial for you! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 2 of the best look behind the technology of blend modes that you've ever seen, with some practical steps you can start taking today to make your work look better than ever.

Tutorial
Simon Ubsdell
Adobe After Effects
Compositing Secrets Everyone Can Use: Pt. 1 - Blend Modes

Compositing Secrets Everyone Can Use: Pt. 1 - Blend Modes

Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for the best look behind the technology of blend modes that you've ever seen. This isn't just for graphics and VFX, but for video editors too -- anyone who puts anything together, and wants to learn more about HOW images combine at the most basic level, in a way that applies to every application you might use, whether Adobe Premiere Pro, Apple FCPX, Avid Media Composer, DaVinci Resolve, VEGAS Pro, and yes, graphics and VFX programs like After Effects, Motion, Fusion, Nuke, Scratch, and many more.

Tutorial
Simon Ubsdell
Adobe After Effects
Disintegration VFX in Adobe After Effects

Disintegration VFX in Adobe After Effects

Join VFX guru Tobias Gleissenberger of Surfaced Studio for a classically energetic Adobe After Effects tutorial combining difference mattes, displacement maps, edge glows, and compositing tricks to dissolve (or explode!) one element in your frame while leaving the rest alone.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Adobe After Effects: Common QT & Export Problems & Solutions

Adobe After Effects: Common QT & Export Problems & Solutions

Problems with Adobe After Effects? Can't import or export QuickTime videos? Exports too big? Missing codecs? AE guru and VFX whiz Tobias Gleissenberger of Surfaced Studio has the answers you're looking for to make every project come to completion more smoothly, including a comparison of exported file sizes for common codecs.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Fancy Title Animations In Adobe After Effects -- FAST!

Fancy Title Animations In Adobe After Effects -- FAST!

Follow along as VFX guru Tobias Gleissenberger shows you how how to quickly create professional-looking animated text elements using the free presets that are included with Adobe After Effects, customizing them to suit your needs. Tobias will also show you how to apply masks to your text layers to have them appear from behind other elements.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Remove People from Moving Video in After Effects with Mocha

Remove People from Moving Video in After Effects with Mocha

Learn how to remove a person from a moving video using the Remove module of the Mocha Pro plug-in for Adobe After Effects! In one of his most epic tutorial's yet, Surfaced Studio's Tobias Gleissenberger then adds a bonus Beam Up effect using some of the great filters from the Boris Continuum and Sapphire collections.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Basic Clone Effect Interaction - After Effects Tutorial

Basic Clone Effect Interaction - After Effects Tutorial

Want to take your CLONE EFFECT to the next level? Want to know how to make your clones INTERACT? Tobias Gleissenberger shows you how.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Adobe After Effects: Glitch Effects Without Using Plug-ins!

Adobe After Effects: Glitch Effects Without Using Plug-ins!

Join VFX guru Tobias Gleissenberger for a fun, high-energy look at how to create all sorts of digital noise, glitch, and other disturbing video effects with any version of Adobe After Effects, without using any plug-ins!

Tutorial
Tobias Gleissenberger
Adobe After Effects
Adobe After Effects Energy Ball

Adobe After Effects Energy Ball

In his latest high-energy Adobe After Effects tutorial, VFX guru Tobias Gleissenberger of Surfaced Studio combines a variety of effects to create the pulsating energy ball, composited with motion tracking, optical flares, and more.

Tutorial
Tobias Gleissenberger
MORE
© 2018 CreativeCOW.net All Rights Reserved
[TOP]