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.

460x150_xdcam_150dpi What's the difference between raw and S-Log ProRes - Re: FS5 raw output.

11 thoughts on “What’s the difference between raw and S-Log ProRes – Re: FS5 raw output.”

  1. Excellent breakdown. Thank you.
    I have found some slight advantages in the FS7’s 12 bit raw in extreme brightness, such as filming directly into the sun in a sunrise/sunset situation, but beyond that, I agree that the internal codecs will do just as well.

  2. Thanks for your Info!
    I own a FS7 and am about to shoot Interviews with greenscreen.Now the producer wants to shooot mininum 444 codec because it works better in post (especially for greenscreen).Now the FS7 does not support 444,only if i would shoot Raw with the Atomos Inferno,but this will be data overkill.We shoot 2K,would shooting 4K AVCI 422 bring about the same advantage concerning compositing with greenscreen,than shooting 2K Raw?
    Your answer would highly be appreciated.
    Thanks,
    Sergio

    1. I have to laugh when producers ask for 444 from a camera with a bayer sensor, or makes a statement like 444 works better in post. The nature of a bayer sensor means that the camera itself cannot produce an image where the color resolution matches the luma resolution unless you go down to 1/4 of the sensor resolution (so 1K for a 4K sensor). So 444 from an FS7/F5/F55 etc is not going to bring any significant chroma key advantage at 4K and only possibly the smallest of benefits (if any) at HD. Even shooting raw won’t change this. The 4K raw is not “444”, if anything it’s closer to 3:1:1. 2K raw is absolutely pointless as you are only using half of the sensor so the chroma resolution is even worse (2K raw is lower resolution than full scan HD).

      My recommendation with an FS7 would be to take the HDMI out and record 4K ProResHQ on an external recorder for the best results. It won’t be significantly different from the internal 4K XAVC, but that’s going to be about the best you can get. Light it right and it should key beautifully.

      As for 444 working better in post – well it depends on what’s inside that 444 wrapper, how it’s compressed, bit depth, gamma, colorspace, quality of the original signal source and so many other factors.

      Sounds like yet another producer that is internet educated – I saw it on the net so it must be better.

      1. wow,thank you so much for your support and swift answer!
        last question:
        what if i would shoot with a F5/55 in prores 444?

      2. Hey Alister,

        Deep diving into this technical territory and unfortunately for a lot of us, internet education is a lot of what we can gather. Would you suggest any particular source for a true understanding of the complexities of these systems?

  3. Wait, so now I’m a little confused reading through this and the comments. Is the 4K raw out recorded as 422, that closer to 311 you say, or the like that UHD 420 internal recording?

    1. Raw is simply the raw brightness information for each pixel on the sensor. It isn’t even a color image when it comes out of the camera, it’s just pixel data so it does not have any subsampling, colorspace, gamma or gamut. The raw brightness data will be converted to a color image by either the recorder or the playback software at which time it will be encoded to whatever color sampling system has been chosen.

      A 4K bayer sensor only has 2K of green pixels, 1K of Red and 1K of Blue on each line, so there is no way the sensor itself can resolve 4K of green, 4K of Red and 4K of Blue (the equivalent of 4:4:4). It can’t even resolve the equivalent of 4:2:2, there just aren’t enough samples of each color. Clever maths and signal processing will normally give the equivalent of around 3.2K of Green, 1.2K or Red and 1.2K of Blue from the sensor data, whether internally or externally. Then that can be recorded using various chroma subsampling methods. You could record it using 4:2:2 subsampling but if you subsample the 1.2K resolution Red channel at in effect 2K you will still only ever have 1.2K of Red resolution.

  4. Thanks for all your great info on this site, Alister. It’s been a huge help.

    I’d like to ask you for a recommendation that would net my team the best images. Most of our content is for social media but we also produce content for our University’s video boards (which are approximately FHD)

    We have an FS5 II and an Atomos Shogun Inferno, but we edit with Premiere Pro – so ProRes Raw isn’t viable for us. Most of our content has a quick turnaround – but for some features and commercials we’d be fine with a longer workflow.

    Is there enough of a benefit in doing 12-bit linear to ProRes HQ (assuming we use the proper gamma curve) on the Atomos versus internal recording?
    And in terms of internal recording for quick turnarounds – would it look any better to shoot in XAVC HD vs XAVC QFHD (scaled down in post) on the FS5?

    OR…. Should we just sell the FS5 II + Atomos and pick up an FS7?

    Appreciate your help,
    Dalton

  5. Hello! Does it make sense to record prores externally without the raw update? I have the camera without ani licence .

    1. There are still some small benefits due to lower compression, but you are still limited to 8 bit in UHD.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.