Tag Archives: log

Why are Sony’s ISO’s different between standard gammas and log?

With Sony’s log capable cameras (and most other manufacturers) when you switch between the standard gamma curves and log gamma there is a change in the cameras ISO rating. For example the FS7 is rated at 800 ISO in rec709 but rated at 2000 ISO in log. Why does this change occur and how does it effect the pictures you shoot?

As 709 etc has a limited DR (between around 6 and 10 stops depending on the knee settings) while the sensor itself has a 14 stop range, you only need to take a small part of the sensors full range to produce that smaller range 709 or hypergamma image. That gives the camera manufacturer some freedom to pick the sweetest part of the sensors range. his also gives some leeway as to where you place the base ISO.

I suspect Sony chose 800 ISO for the FS7 and F5 etc as that’s the sensors sweet spot, I certainly don’t think it was an accidental choice.

What is ISO on an electronic camera? ISO is the equivalent sensitivity rating. It isn’t a measure of the cameras actual sensitivity, it is the ISO rating you need to enter into a light meter if you were using an external light meter to get the correct exposure settings. It is the equivalent sensitivity. Remember we can’t change the sensor in these cameras so we can’t actually change the cameras real sensitivity, all we can do is use different amounts of gain or signal amplification to make the pictures brighter or darker.

When you go switch the camera to log you have no choice other than to take everything the sensor offers. It’s a 14 stop sensor and if you want to record 14 stops, then you have to take 100% of the sensors output. The camera manufacturer then chooses what they believe is the best exposure mid point point where they feel there is an acceptable compromise between noise, highlight and lowlight response. From that the manufacture will get an ISO equivalent exposure rating.

If you have an F5, FS7 or other Sony log camera, look at what happens when you switch from rec709 to S-Log2 but you keep your exposure constant.

Middle grey stays more or less where it is, the highlights come down. White will drop from 90% to around 73%. But the ISO rating given by the camera increases from 800ISO to 2000ISO. This increased ISO number implies that the sensor became more sensitive – This is not the case and a little missleading. If you set the camera up to display gain in dB and switch between rec709 (std gamma) and S-Log the camera stays at 0dB, this should be telling you that there is no change to the cameras gain, no change to it’s sensitivity. Yet the ISO rating changes – why?

The only reason the ISO number increases is to force us to underexpose the sensor by 1.3 stops (relative to standard gammas such as rec709 and almost every other gamma) so we can squeeze a bit more out of the highlights. If you were using an external light meter to set your exposure if you change the ISO setting on the light meter from 800 ISO to 2000 ISO  the light meter will tell you to close the aperture by 1.3 stops. So that’s what we do on the camera, we close the aperture down a bit to gain some extra highlight range.

But all this comes at the expense of the shadows and mid range. Because you are putting less light on the sensor if you use 2000 ISO as your base setting the shadows and mids are now not as good as they would be  in 709 or with the other standard gammas.

This is part of the reason why I recommend that you shoot with log between 1 and 2 stops brighter than the base levels given by Sony. If you shoot 1 stop brighter that is the equivalent to shooting at 1000 ISO and this is closer to the 800 ISO that Sony rate the camera at in standard gamma.  Shooting that bit brighter gives you a much better mid range that grades much better.



Why is exposing log brightly beneficial?

I have been asked whether you should still expose log a bit brighter than the recommended base levels on the Sony PXW-FS5 now that Sony have released new firmware that gives it a slightly lower base ISO. In this article I take a look at why it might be a good idea to expose log (with any camera) a bit brighter than perhaps the manufacturer recommends.

There are a couple of reasons to expose log nice and bright, not just noise. Exposing log brighter makes no difference to the dynamic range. That’s determined by the sensor and the gain point at which the sensor is working. You want the camera to be at it’s native sensitivity or 0dB gain to get that maximum dynamic range.

Exposing brighter or darker doesn’t change the dynamic range but it does move the mid point of the exposure range up and down.  Exposing brighter increases the under exposure range but decreases the over exposure range. Exposing darker decreases the under exposure range but increases the over exposure range.

Something that’s important when thinking about dynamic range and big dynamic ranges in particular is that dynamic range isn’t just about the highlights it’s also about the shadows, it isn’t just over exposure, it’s under exposure too, it’s RANGE.

So why is a little bit of extra light often beneficial? You might call it “over exposure” but that’s not a term I like to use as it implies “too much exposure”. I prefer to use “brighter exposure”.

It’s actually quite simple, it’s about putting a bit more light on to the sensor. Most sensors perform better when you put a little extra light on them. One thing you can be absolutely sure of – if you don’t put enough light on the sensor you won’t get the best pictures.

Slide01 Why is exposing log brightly beneficial?

Put more light on to the sensor and the shadows come up out of the sensors noise floor. So you will see further into the shadows. I’ve had people comment that “why would I ever want to use the shadows, they are always noisy and grainy”? But that’s the whole point – expose a bit brighter and the shadows will be much less noisy, they will come up out of the noise. Expose 1 stop brighter and you halve the shadow noise (for the same shadows at the previous exposure).  Shadows are are only ever noise ridden if you have under exposed them.

This is particularly relevant in controlled lighting. Say you light a scene for 9 stops. So you have 9 stops of dynamic range but a 14 stop sensor. Open up the aperture, put more light on the sensor, you get a better signal to noise ratio, less noisy shadows but no compromise of any type to the highlights because if the scene is 9 stops and you have 14 to play with, you can bring the exposure up by a couple of stops comfortably within the 14 stop capture range.

S-log-levels Why is exposing log brightly beneficial?
Chart showing S-Log2 and S-Log3 plotted against f-stops and code values. Note how little data there is for each of the darker stops, the best data is above middle grey. Note that current sensor only go to +6 stops ove middle grey so S-Log2 and S-Log record to different peak levels.

Look at the above diagram of Sony’s S-Log2 and S-Log3 curves. The vertical 0 line in the middle is middle grey. Note how above middle grey the log curves are more or less straight lines. That’s because above the nominal middle grey exposure level each stop is recorded with the same amount of data, this you get a straight line when you plot the curve against exposure stops. So that means that it makes very little difference where you expose the brighter parts of the image. Expose skin tones at stop + 1 or stop +3 and they will have a very similar amount of code values (I’m not considering the way dynamic range expands in the scene you shoot as you increase the light in the scene in this discussion). So it makes little difference whether you expose those skin tones at stop +1 or +3, after grading they will look the same.

Looking at the S-Log curve plots again note what happens below the “0” middle grey line. The curves roll off into the shadows. Each stop you go down has less data than the one before, roughly half as much. This mimics the way the light in a real scene behaves, but it also means there is less data for each stop. This is one of the key reasons why you never, ever want to be under exposed as if you are underexposed you mid range ends up in this roll off and will lack data making it not only noisy but also hard to grade as it will lack contrast and tonal information.

Open up by 1 additional stop and each of those darker stops is raised higher up the recording curve by one stop and every stop that was previously below middle grey doubles the amount of tonal values compared to before, so that’s 8 stops that will have 2x more data than before. This gives you a nice fat (lots of data) mid range that grades much better, not just because it has less noise but because you have a lot more data where you really need it – in the mid range.

Note: Skin tones can cover a wide exposure range, but typically the mid point is around 1 to 1.5 stops above middle grey. In a high contrast lighting situation skin tones will start just under middle grey and extend to about 2 stops over. If you accidentally under expose by 1 stop or perhaps don’t have enough light for the correct exposure you will seriously degrade the quality of your skin tones as half of your skin tones will be well below middle grey and in the data roll-off.

Now of course you do have to remember that if your scene does have a very large dynamic range opening up an extra stop might mean that some of the very brightest highlights might end up clipped. But I’d happily give up a couple of specular highlights for a richer more detailed mid range because when it comes to highlights – A: you can’t show them properly anyway because we don’t have 14 stop TV screens and B: because highlights are the least important part of our visual range.

A further consideration when we think about the highlights is that with log there is no highlight roll-off. Most conventional gamma curves incorporate a highlight roll-off to help increase the highlight range. These traditional highlight roll-offs reduce the contrast in the highlights as the levels are squeezed together and as a result the highlights contain very little tonal information. So even after grading they never look good, no matter what you do. But log has no highlight roll-off. So even the very brightest stop, the one right on the edge of clipping contains just as much tonal information as each of the other brighter than middle grey stops. As a result there is an amazingly large amount of detail than can be pulled out of these very bright stops, much more than you would ever be able to pull from most conventional gammas.

Compare log to standard gammas for a moment. Log has a shadow roll-off but no highlight roll-off. Most standard gammas have a strong highlight roll-off. Log is the opposite of standard gammas. With standard gammas, because of the highlight roll-off, we normally avoid over exposure because it doesn’t look good. With Log we need to avoid under exposure because of the shadow roll-off, it is the opposite to shooting with standard gammas.

As a result I strongly recommend you never, ever under expose log. I normally like to shoot log between 1 and 2 stops brighter than the manufacturers base recommendation.

Next week: Why is a Sony camera like the FS7,F5 800 ISO with standard gamma but 2000 ISO in log and how does that impact the image?


Beware Exposing To The Right With Log.

That may seem like quite a sensational headline – beware exposing to the right with log – but let me explain.

First of all, I’m not saying you can’t or shouldn’t expose to the right, all I am saying is beware – understand the implications.

First of all what is normally meant by exposing to the right? Well it’s a term that comes from the world of photography where you would use the cameras histogram to measure the exposure levels. Exposing to the right would normally mean setting the shutter speed and aperture so that the levels shown on the histogram are as far to the right as you can get them without going beyond the right side of the histogram. This would ensure a nice bright exposure with lots of light falling on the sensor, something that is normally highly desirable as you get a nice low noise picture once you have adjusted and processed it in your photo editing software.

You can expose to the right with a video camera too. However when shooting with Rec-709 or conventional gammas this can often result in nasty looking highlights thanks to the default knee settings, so it’s not normally a good idea for 709 and standard gammas.

With log or raw as there is no highlight roll off you can expose to the right and it should give you a nice bright exposure… or will it?????

The problem with exposing to the right is that you are exposing for the highlights in the scene. If shooting a low contrast or low dynamic range scene this isn’t going to cause any problems as exposing to the right will mean that everything in the scene is nice and bright.

But if shooting a high dynamic range scene, say an outdoor scene with bright clouds in the sky but large areas of shadow, the exposure will be optimised for the highlights. The mid range and shadows may end up too dark. On a sunny day if shooting a person with their back to the sun the sky could easily be 6 or 7 stops brighter than the skin tones. If you expose for the sky/highlights the skin tones will be 1 or 2 stops darker than the basic exposure level recommended for most  log curves.

(S-log2/3 has 14 stops. At the base exposure you have 6 stops above middle grey and 8 below. Skin tones are normally between 1 and 2 stops above middle grey. So if the sky/highlights are 6 stops above the skin tones, then exposing for the highlights will put the skin tones where middle grey should be, which is 1 stop under exposed and 2 stops below where I would normally like to see skin tones when shooting with log or raw).

The first thing a viewer will notice when they look at a scene with faces or people will be the skin tones. If these have been under exposed they will be grainy and less than ideal. The viewer will notice noise and grain and poor shadows long before they look at the brightest highlights. Shooting log and protecting the highlights or exposing to the right will often compromise the all important mid tones because you are exposing for the highlights, not the midrange. In addition exposing for highlights with a high dynamic range scene can often push the shadows down in level and they will end up noisy and grainy. The biggest issue with exposing to the right is that it’s extremely difficult to estimate how many stops there are between your mid tones and the highlights, so you never know quite where your mid tones are falling.

(Midtones – generally a white piece of paper or a 90% reflectivity white card would be considered to be the top end of the mid tones. Go down about 2.5 stops from white and you hit middle grey  (18% grey card). This range between middle grey and white is where skin tones, plants, most animals etc will be and it probably the most important part of most images).

An important consideration with log and raw is that there is no highlight roll off. Standard gammas (with the default knee found on almost every camera) , cinegammas, hypergammas etc all roll off the highlights. That is to say that as you approach the peak recording level the contrast is reduced as the highlights are squeezed together to try to extend the dynamic range. This reduction in contrast means that it is very difficult, if not impossible, to recover any nice, useable picture information out of anything close to the peak recording level. As a result with conventional gammas we tend to avoid over exposure at all costs as it looks nasty. This highlight roll off is one of the things that gives video the video look.

Log and raw don’t have this same kind of highlight roll off. The image gets brighter and brighter until it clips. With log the stop immediately below clipping contains just as much picture information as any other stop brighter than middle grey. With linear raw the stop just below clipping has more information than any other stop. As a result in post production there is a very large amount of data that can be pulled out of these highlights, even if they are a little clipped! So don’t worry about a few clipped highlights when shooting log. The other thing to remember is there is no TV or monitor that can show these highlights as they really are, so they will never look perfect anyway.

Another thing that happens when exposing to the right is that grading becomes harder than it needs to be. Because the separation between the mid tones and highlights will vary greatly depending on things like whether you are shooting into or away from the sun, when you expose to the right you mid tone brightness will be up and down all over the place. So in post production as well as adding the look that you want to your footage, you are also going to have to spend a lot of time matching the mid range exposure to balance skin tones etc from shot to shot.

Rather than exposing to the right what I recommend is exposing for the mid range. After all this is the important part of the image. To do this you need to use a diffuse reflective shade. The most commonly used shades are a 90% white card and/or an 18% reflectivity grey card – middle grey. Get the mid range right and in most cases the highlights will take care of themselves. Getting the mid range right might mean exposing the mid range  brighter than the recommended levels. But it’s the mid range we need to measure, not the highlights, this is the important part of the image.

90% white is an incredibly important level in the world of film and video. A typical piece of office paper reflects about 92-94% of the light falling on it. Office paper often uses brighteners and special chemicals to make it look bright and white. This white is the brightest diffuse surface you will likely ever see.  Anything brighter than this is normally going to be an actual source of light. The sky perhaps or a direct bounced reflection off a shiny, reflective surface such as the bodywork of a car. So anything brighter than 90% white would normally be considered to be a highlight and to us humans, highlights are visually less important than the mid range. This is why the knee on most video cameras kicks in at around 90%. Anything brighter than 90% is a highlight so the knee only effects highlights and leaves the all important mid range alone.

Middle grey is also very important because it’s a shade of grey that to most people looks to be half way between black and white. Skin tones fall roughly half way between middle grey and white. In addition if you average all the brightness levels within a typical scene the end result is typically very close to middle grey.  Light meters are calibrated to middle grey. The relationship between middle grey and white is fixed. White reflects 90%, middle grey 18%, no matter how bright the actual light source. So whether you are indoors, outside. Whether it’s sunny or overcast, white and middle grey will always be close to 2.5 stops apart. They are extremely useful fixed reference levels.

There are many ways to measure the brightness of a white or grey card. My preferred method is with a waveform display. But you could also use zebras (use a narrow zebra window if you can).  You can also use false colour. Unfortunately it’s very difficult to use a histogram to measure the brightness of a specific target. The histogram is a great measuring tool for photography, but less than ideal for video. If you can’t get a white/grey card out in front of the camera you could consider using a light meter. It’s also worth noting that skin tones sit just a little over half way between middle grey and white, so if you have no other reference you could simply place your skin tones a touch brighter than half way between the values you are targetting for middle grey and white.

Just to be clear: I do still recommend exposing Sony’s S-log2, S-log3 and raw between 1 and 2 stops brighter than the Sony base levels. But the key take-away is that it’s the mid range you need to measure and expose at this level. Exposing to the right using a histogram or waveform and just looking at the peaks and brightest parts of the image does not tell you what is happening in he mid range. Measure the mid range, not the peak brightness.


Guide to Cine EI – Still Current.

Just a reminder that my guide to shooting with Cine EI for the PMW-F5 and F55 cameras is still just as valid today as it was when I wrote it back in 2013. There have been a few tweaks to the cameras menu here and there, but the principles and basic operation have not changed.

So if you are new to Cine-EI please take a look at the guide. It takes you through how to shoot with Cine EI, which LUT’s to use and how to expose them.

Cine-EI Mode when recording S-Log2/3 and raw on the F5 and F55.

Why you need to sort out your post production monitoring!

One of THE most common complaints I hear, day in, day out, is: There is banding in my footage.

Before you start complaining about banding or other image artefacts ask yourself one very simply, but very important question: Do I know EXACTLY what is happening to my footage within my computer or playback system? As an example, editing on a computer your footage will be starting of at it’s native bit depth. It might then be converted to a different bit depth by the edit or grading software for manipulation. Then that new bit depth signal is passed to the computers graphic card to be displayed. At this point it will possibly be converted to another bit depth as it passes through the GPU and then it will be converted to the bit depth of the computers desktop display. From there you might be passing it down an HDMI cable where another bit depth change might be needed before it finally arrives at your monitor at goodness knows what bit depth.

The two images below are very telling. The first is a photo of a high end TV connected to my MacBook ProRetina via HDMI playing back a 10 bit ProRes file in HD. The bottom picture is exactly the same file being played back out of an Atomos Shogun via HDMI to exactly the same TV. The difference is striking to say the least. Same file, same TV, same resolution. The only difference is the top one is playing back off the computer, the lower from a proper video player. I also know from experience that if I plug in a proper video output device such as a Blackmagic Mini-monitor to the laptops Thunderbolt port I will not see the same artefacts as I do when using the computers built in HDMI.

And this is a not just a quirk of my laptop, my grading suite is exactly the same. If I use the PC’s built in HDMI the pictures suck. Lots of banding and other unwanted artefacts. Play back the same clip via a dedicated, made for video, internal PCI card such as a Decklink card and almost always all of the problems go away. If you use SDI rather than HDMI things tend to be even better.

So don’t skimp on your monitoring path if you really want to know what your footage looks like. Get a proper video card, don’t rely on the computers GPU. Get a decent monitor with an SDI input and try to avoid HDMI for any critical monitoring.

20170620_091235-1024x576 Why you need to sort out your post production monitoring!
Shot viewed on a good quality TV via HDMI from the computers built in graphics card. Notice all the banding.
20170620_091347-1024x576 Why you need to sort out your post production monitoring!
Exactly the same shot/clip as above. But this time played back over HDMI from an Atomos Shogun Flame onto the very same TV. Not how all the banding has gone.


Why do I always shoot at 800 EI (FS7 and F5)?

This is a question that comes up time and time again. I’ve been using the F5 and FS7 for almost 5 years. What I’ve discovered in that time is that the one thing that people notice more than anything from these cameras is noise if you get your exposure wrong. In addition it’s much harder to grade a noisy image than a clean one.
Lets take a look at a few key things about how we expose and how the F5/FS7 works (note the same principle applies to most log based cameras, the FS5 also benefits from being exposed brighter than the suggested base settings).
What in the image is important? What will your audience notice first? Mid-range, shadows or highlights?
I would suggest that most audiences first look at the mid range – faces, skin tones, building walls, plants etc. Next they will notice noise and grain or perhaps poor, muddy or murky shadows. The last thing they will notice is a few very brightly highlights such as specular reflections that might be clipped.
The old notion of protecting the highlights comes from traditional gamma curves with a knee or highlight roll off where everything brighter than a piece of white paper (90% white) is compressed into a very small recording range. As a result when shooting with conventional gamma curves ALL of the brighter parts of the image are compromised to some degree, typically showing a lack of contrast and texture, often showing some weird monotone colors. Log is not like that, there is no highlight roll off, so those brighter than white highlights are not compromised in the same way.
In the standard gammas at 0dB the PXW-FS7, like the PMW-F5 is rated at 800 ISO. This gives a good balance between noise and sensitivity. Footage shoot at 0dB/800ISO with the standard gammas or Hypergammas generally looks nice and clean with no obvious noise problems. However when we switch to log the native ISO rating of the cameras becomes 2000 ISO, so to expose “correctly” we need to stop the aperture down by 1.3 stops. This means that compared to 709 and HG1 to HG4, the sensor is being under exposed by 1.3 stops. Less light on the sensor will mean more noise in the final image. 1.3 stops is the equivalent of 9dB. Imagine how Rec709 looks if it is under exposed by 1.3 stops or has to have +9dB of gain added in. Well – thats what log at 2000 ISO will look like.
However log has lots of spare headroom and no highlight compression. So we can choose to expose brighter than the base ISO because pushing that white piece of paper brighter in exposure does not cause it to become compressed.
If you open the aperture back up by 1.3 stops you get back to where you would be with 709 in terms of noise and grain. This would be “rating” the camera at 800 ISO or using 800 EI. Rating the camera at 800EI you still have 4.7 stops of over exposure range, so the only things that will be clipped will in most cases be specular reflections or extreme highlights. There is no TV or monitor in existence that can show these properly, so no matter what you do, they will never be true to life. So don’t worry if you have some clipped highlights, ignore them. Bringing your exposure down to protect these is going to compromise the mid range and they will never look great anyway.
You should also be extremely cautious about ever using an EI higher that 2000. The camera is not becoming more sensitive, people are often misslead by high EI’s into thinking somehow they are capturing more than they really are. If you were to shoot at 4000 EI you will end up with footage 15dB noisier than if you were shooting the same scene using 709 at 800 ISO. That’s a lot of extra noise and you won’t necessarily appreciate just how noisy the footage will be while shooting looking at a small monitor or viewfinder.
I’ve been shooting with the F5 and then the FS7 for almost 5 years and I’ve never found a situation where I going to an EI higher than 800 would have resulted in a better end result. At the same time I’ve seen a lot of 2000 EI footage where noise in the mid range has been an issue, one particular example springs to mind of a high end car shoot where 2000 EI was used but the gloss and shine of the car bodywork is spoilt because it’s noisy, especially the darker coloured cars.
Of course this is just my opinion, based on my own experience, others may differ and the best thing you can do is test for yourself.

What’s the difference between raw and S-Log ProRes – Re: FS5 raw output.

This is a question that comes up a lot.

Raw is the unprocessed (or minimally processed) data direct from the sensor. It is just the brightness value for each of the pixels, it is not a color image, but we know which color filter is above each pixel, so we are able to work out the color later. In the computer you take that raw data and convert it into a conventional color video signal defining the gamma curve and colorspace in the computer.  This gives you the freedom to choose the gamma and colorspace after the shoot and retains as much of the original sensor information as possible.Of course the captured dynamic and color range is determined by the capabilities of the sensor and we can’t magically get more than the sensor can “see”. The quality of the final image is also dependant on the quality of the debayer process in the computer, but as you have the raw data you can always go back and re-encode the footage with a better quality encoder at a later date. Raw can be compressed or uncompressed. Sony’s 12 bit FS-raw when recorded on an Odyssey or Atomos recorder is normally uncompressed so there are no additional artefacts from compression, but the files are large. The 16 bit raw from a Sony F5 or F55 when recorded on an R5 or R7 is made about 3x smaller through a proprietary algorithm.

ProRes is a conventional compressed color video format. So a ProRes file will already have a pre-determined gamma curve and color space, this is set in the camera through a picture profile, scene file or other similar settings at the time of shooting. The quality of the ProRes file is dependant on the quality of the encoder in the camera or recorder at the time of recording, so there is no way to go back and improve on this or change the gamma/colorspace later. In addition ProRes, like most commonly used codecs is a lossy compressed format, so some (minimal) picture information may be lost in the encoding process and artefacts (again minimal) are added to the image. These cannot easily be removed later, however they should not normally present any serious problems.

It’s important to understand that there are many different types of raw and many different types of ProRes and not all are equal. The FS-raw from the FS5/FS7 is 12 bit linear and 12 bit’s are not really enough for the best possible quality from a 14 stop camera (there are not enough code values so floating point math and/or data rounding has to take place and this effects the shadows and low key areas of the image). You really need 16 bit data for 14 stops of dynamic range with linear raw, so if you are really serious about raw you may want to consider a Sony F5 or F55. ProRes is a pretty decent codec, especially if you use ProResHQ and 10 bit log approaches the quality of 12 bit linear raw but without the huge file sizes.  Incidentally there is very little to be gained by going to ProRes 444 when recording the 12 bit raw from an FS5/FS7, you’ll just have bigger files and less record time.

Taking the 12 bit raw from an FS5 and converting it to ProRes in an external recorder has potential problems of it’s own. The quality of the final file will be dependant on the quality of the debayer and encoding process in the recorder, so there may be differences in the end result from different recorders. In addition you have to add a gamma curve at this point so you must be careful to choose the correct gamma curve to minimise concatenation where you add the imperfections of 12 bit linear to the imperfections of the 10 bit encoded file (S-Log2 appears to be the best fit to Sony’s 12 bit linear raw).

Despite the limitations of 12 bit linear, it is normally a noticeable improvement over the FS5’s 8 bit internal UHD recordings, but less of a step up from the 10 bit XAVC that an FS7 can record internally. What it won’t do is allow you to capture anything extra. It won’t improve the dynamic range, won’t give you more color and won’t enhance the low light performance (if anything there will be a slight increase in shadow noise and it may be slightly inferior in under exposed shots). You will have the same dynamic and color range, but recorded with more “bits” (code values to be precise). Linear raw excels at capturing highlight information and what you will find is that compared to log there will be more textures in highlights and brighter parts of your captured scenes. This will become more and more important as HDR screens are better able to show highlights correctly. Current standard dynamic range displays don’t show highlights well, so often the extra highlight data in raw is of little benefit over log. But that’s going to change in the next few years so linear recording with it’s extra highlight information will become more and more important.

Not all raw is created equal. Log may be better

This keeps cropping up time and time again.

Unfortunately every now and again a new term or buzzword comes along that gets taken as a holy grail term. Two that come to mind right now are log and raw. Neither log, nor raw, are magic bullet solutions that guarantee the best performance. Used incorrectly or inappropriately both can result in inferior results. In addition there are many flavours of log and raw each with very different performance ranges.

A particular point in case is the 12 bit raw available from several of Sony’s mid range large sensor cameras, the FS700, FS7 and FS5.

Raw can be either log or linear. This particular flavour of raw is encoded using linear data.  If it is linear then each successively brighter stop of exposure should be recorded with twice as many code values or shades as the previous stop. This accurately replicates the change in the light in the scene you are shooting.  If you make the scene twice as bright, you need to record it with twice as much data. Every time you go up a stop in exposure you are doubling the light in the scene. 12 bit linear raw is actually very rare, especially from a camera with a high dynamic range. To my knowledge, Sony are the only company that offer 14 stops of dynamic range using 12 bit linear data.

There’s actually a very good reason for this: Strictly speaking, it’s impossible! Here’s why: For each stop we go up in exposure we need twice as many code values. With 12 bit data there are a maximum of 4096 code values, this is not enough to record 14 stops.

If stop 1 uses 1 code value, stop 2 will use 2, stop 3 will use 4, stop 4 will use 8 and so on.


+1          1                                   1
+2          2                                   3
+3          4                                   8
+4          8                                   16
+5          16                                32
+6          32                                64
+7          64                                128
+8          128                             256 Middle Grey
+9          256                             512
+10       512                             1,024
+11       1,024                          2,048
+12       2,048                         4,096
+13       4,096                         8,192
+14       8,192                         16,384

As you can see from the above if we only have 12 bit data and as a result 4096 code values to play with, we can only record an absolute maximum of 12 stops of dynamic range using linear data. To get even 12 stops we must record the first couple of stops with an extremely small amount of tonal information. This is why most 14 stop raw cameras use 16 bit data for linear or use log encoded raw data for 12 bit, where each stop above middle grey (around stop +8) is recorded with the same amount of data.

So how are Sony doing it on the FS5, FS7 etc? I suspect (I’m pretty damn certain in fact) that Sony use something called floating point math. In essence what they do is take the linear data coming off the sensor and round the values recorded to the nearest 4 or 8. So, stop +14 is now only recorded with 2,048 values, stop +13 with 512 values etc. This is fine for the brighter stops where there are hundreds or even thousands of values, it has no significant impact on the brighter parts of the final image. But in the darker parts of the image it does have an impact as for example stop +5 which starts off with 16 values ends up only being recorded with 4 values and each stop below this only has 1 or two discreet levels. This results in blocky and often noisy looking shadow areas – a common complaint with 12 bit linear raw. I don’t know for a fact that this is what they are doing. But if you look at what they need to do, the options available and you look at the end results for 12 bit raw, this certainly appears to be the case.

Meanwhile a camera like the FS7 which can record 10 bit log will retain the full data range in the shadows because if you use log encoding, the brighter stops are each recorded with the same amount of data. With S-Log2 and 10 bit XAVC-I the FS7 uses approx 650 code values to record the 6 brightest stops in it’s capture range reserving approx 250 code values for the 8 darkest stops. Compare this to the linear example above and in fact what you will see is that 10 bit S-Log2 has as much data as you would expect to find in a straight 16 bit linear recording below middle grey (S-Log 3 actually reserves slightly more data for the shadows). BUT that’s for 16 bit. Sony’s 12 bit raw is squeezing 14 stops into what should be an impossibly small number of code values, so in practice what I have found  is that 10 bit S-log has noticeably more data in the shadows than 12 bit raw.

In the highlights 12 bit linear raw will have more data than 10 bit S-log2 and S-Log3 and this is borne out in practice where a brightly exposed raw image will give amazing results with beautiful highlights and mid range. But if your 12 bit raw is dark or underexposed it is not going to perform as well as you might expect. For dark and low key scenes 10 bit S-Log is most likely going to give a noticeably better image. (Note: 8 bit S-log2/3 as you would have from an FS5 in UHD only has a quarter of the data that 10 bit has. The FS5 records the first 8 stops in  8 bit S-log 2 with approx 64 code values, S-Log3 is only marginally better at approx 80 code values. 12 bit linear outperforms 8 bit log across the entire range).

Sony’s F5 and F55 cameras record to the R5 and R7 recorders using 16 bit linear data. 16 bit data is enough for 14 stops. But I believe that Sony still use floating point math for 16 bit recording. This time instead of using the floating point math to make room for an otherwise impossible dynamic range they use it to take a little bit of data from the brightest stop to give extra code values in the shadows. When you have 16,384 code values to play with you can afford to do that. This then adds a lot of extra tonal values and shades to the shadows compared to 10 bit log and as a result 16 bit linear raw will outperform 10 bit log across the entire exposure range by a fairly large margin.

So there you have it.  I know it’s hugely confusing sometimes. Not all types of raw are created equal. It’s really important to understand this stuff if you’re buying a camera. Just because it has raw it doesn’t necessarily mean an automatic improvement in image quality in every shooting situation. Log can be just as good or possibly even better in some situations, raw better in others. There are reasons why cameras like the F5/R5 cost more than a FS5/Shogun/Odyssey.

Creative Composition and Digital Cinematography Workshops – Singapore.

965437_547020298723068_486905373_o-300x168 Creative Composition and Digital Cinematography Workshops - Singapore.
Alister Chapman providing a workshop.

I’m running some workshops for Singapore Media Academy in September. Spaces are limited and I don’t get to visit Asia as much as I used to. So if you are interested in attending one of my highly regarded and popular workshops here is a great opportunity.

The first is on Creative Composition. Good shot composition can make or break a production. In the workshop I will guide you through ways to achieve images that will draw the audience in, focus the viewers attention or create different emotional reactions.  I will show you how to deal with composition in moving shots, something that can be difficult. We will use case studies of well known movies to see clever use of classic techniques such as the rule of thirds, vanishing lines or Fibonacci curves. We will see how subtle lighting changes can be used to direct the audiences gaze. From the framing of a simple interview to the staging of a complex scene the workshop will help you develop engaging and interesting images. Understanding basic composition is one of the keys to great productions whether it’s for TV news or the cinema.
The second workshop is on Digital Cinematography, Log and Raw. This is an essential workshop for those serious about obtaining the best possible images with a modern electronic video camera. I will explain the differences between standard gammas, log and raw in a way that’s easy to understand but will give you all the information you need to be able to make informed decisions about which to use and when. Next I will teach you how to expose Log and Raw looking closely at how to use exposure offsets for the best results in differing lighting conditions. Then we will look at Look Up Tables. I’ll show you how and when to use them and how to easily create your own. We will finish with some practical end to end workflow sessions where you will develop your own LUT’s, shoot with log or raw and then perform a basic grade on your content. This will include how to use color managed grading tools such as the Academy of Motion Pictures workflow “ACES”. There’s no hard to understand mathematics, no complex formula’s, just easy to understand explanations and great practical tips and advice that will make log and raw easy to understand and use. I will also include how to expose and shoot for HDR and what you need to consider for HDR productions. More details can be found with the links below:

Revealing Signal to Noise and Exposure experiment for PMW-F5, F55 and FS7.

Here’s a little experiment for you to try if you have a PMW-F5, PMW-F55 or PMW-FS7. It should help you understand a few key things about the way these cameras behave, notably:

1: Why ISO does not actually reflect the sensitivity of the camera.

2: Why it is beneficial to expose S-Log2 or S-Log3 brighter than the Sony recommended levels.

3: How to get the best possible S-Log footage.

4: Why S-log may be a poor choice for low light.

Ideally you will want to use an external waveform monitor connected to the cameras SDI output, but it is possible to use the built in waveform display.

Start with the camera in Custom mode. Choose “STD” gamma and Rec-709. Set the gain/ISO settings so that the camera is showing ISO.

Set the ISO to the base ISO (800 ISO on F5/FS7, 500 ISO on F55).

Expose a 90% white card so that white is 90% on the waveform display. This doesn’t need to be 100% accurate, you can use a piece of paper if you don’t have a proper white card. Don’t change the ISO/Gain, light the white card if you need to. Make a note of the aperture.

Now change the gamma selection to S-Log2, do not change the exposure.

Note how white now drops down to about 70% and also note that the ISO becomes 2000 ISO on an F5 or FS7 and 1250 ISO on an F55.

Think about this for a moment: If the ISO has gone up, how can white and the bulk of my image become darker?

Now switch the camera to show dB gain instead of ISO, the gain should be showing 0dB. Repeat the above switching from Standard 709 gamma to S-Log2 and note that the gain remains at 0dB for both rec-709 and S-Log2.

Think about this: The gain is the same for both 709 and S-log2 but the S-Log2 image is darker. As the gain is NOT changing then the sensitivity is not actually changing, so why does the ISO change?

If you were to use a light meter and start off with the light meter set to 800 (500) ISO the light meter would tell you to set the aperture to whatever it is you currently have to give the correct exposure in rec-709 with white at 90%.  If you had a light meter and you change the ISO setting on the light meter from 800(500)ISO to 2000(1250) ISO the light meter will tell you to close the aperture by 1.3 stops.

So, on your camera, while it is set to S-Log2 close the aperture from it’s original setting by 1.3 stops. Now you will find that white will be at the recording levels given by Sony for S-Log2 which is 59% for white and 32% for middle grey.

So what have we learnt from this? The gain is the same for both standard gamma and S-Log2, even though the ISO changes from 800(500) to 2000(1250) ISO. So the sensitivity and amount of noise coming from the sensor is the same in both cases. But the indicated ISO changes so that if you are using an external light meter, when you switch to S-Log the higher indicated ISO  will make the light meter tell you to close the aperture. This means there is less light falling on the sensor. This means that the recorded image will have a worse signal to noise ratio (noise remains the same, but signal is smaller).

To solution of course to this poorer signal to noise ratio is simply to open the aperture back up again by 1.3 stops. When shooting S-Log2 or S-Log3 using the CineEI mode I always recommend using 800EI on an F5 or FS7 or 640EI on an F55. This means your aperture becomes the same as it would be when shooting in vanilla Rec-709, the end result is the same, improved, signal to noise ratio. If you are not using CineEI or LUT’s, then expose white at 70%.