Black Friday + Cyber Monday:50% off Pro · BLACKFRIDAY · ends Monday
ScubaCam

How to color grade underwater Apple Log 2 footage in DaVinci Resolve

8 min readUpdated

A nurse shark swimming over pale sand with a diver in the background, graded from iPhone Apple Log 2 footage

This guide grades underwater footage recorded in Apple Log 2 on an iPhone, in DaVinci Resolve. Our examples were filmed in the Maldives with ScubaCam on an iPhone 17 Pro Max.

Each video shows the same moment three times. Left, log: the file as recorded, flat and gray on purpose. Middle, converted: Resolve has turned the Apple Log 2 recording into a normal picture, and nothing has been adjusted by hand yet. Right, graded: the finished grade.

LOGCONVERTEDGRADED
Anthias over a shallow reef at 14 m, October 6. Left: log. Middle: converted. Right: graded. The orange fish were already there after conversion; the grade separated the yellow coral and the blue sponges from the water's cast. Shown at half speed.

The example we follow step by step is a nurse shark swimming over pale sand at 12.6 meters. Conversion brings back the contrast, but the sand still looks blue. The grade makes the sand pale again and keeps the water blue.

LOGCONVERTEDGRADED
A nurse shark over sand at 12.6 m, October 5. Left: log, as recorded. Middle: converted, no grade. Right: graded. Look at the sand under the shark. Shown at half speed.

You set up the project once, make a first grade with three controls, and then refine it with the chain of adjustments we used on the whole trip. Everything works in the free DaVinci Resolve except the steps marked Studio.

The Apple Log 2 footage

The examples are 10-bit HEVC, 3840×2160 at about 60 frames per second and 70 to 81 Mbit/s, recorded in Apple Log 2 with ScubaCam. Apple Log 2 is a ScubaCam Pro feature on supported iPhones. Since ScubaCam 1.3 it records 10-bit 4:2:2 in HEVC at the same file size; our clips are from before that, in 4:2:0.

Log stores the picture flat on purpose: it keeps a wide range of brightness and color and leaves contrast and color to you. That's why the left part of the video looks gray and milky.

We left white balance on automatic, so it changed from take to take, from about 3600 K to 6400 K. Every clip needed its own adjustments as a result.

If you recorded HLG instead of Apple Log 2, choose Rec.2100 HLG as the input color space in the next step. We haven't tested the values in this guide on HLG footage.

Set up color management for Apple Log 2

Resolve's color management converts the log footage for you. Set it up before you touch a clip, and leave it alone afterward. In Project Settings › Color Management:

SettingValue
Color scienceDaVinci YRGB Color Managed, HDR preset
Timeline color spaceRec.2020 Intermediate
Output color spaceRec.2100 HLG, or Rec.709 Gamma 2.4 if you grade on a standard monitor
Timeline3840×2160, 59.94 fps

Then right-click your iPhone clips in the media pool and choose Input Color Space › Apple Log 2. Resolve may not detect Apple Log 2 by itself, so check every clip: a clip left on Rec.709 looks gray and washed out, like the log part of the video above.

With this in place, you don't need Color Space Transform nodes. Our grades have none.

Whether the free Resolve opens 10-bit HEVC depends on your computer; see Blackmagic's supported codec list.

Make a first grade in three steps

Start here, on one clip with a clear subject.

  1. Brightness. On the Color page, open Primaries and raise Gain until the subject is easy to see. On our clip, that's the shark and the diver's gear.
  2. Warmth. Drag the Gamma wheel, which moves the midtones, slightly toward red. Watch the sand and the water together: stop when the sand looks pale and before the water turns violet.
  3. Playback. Play the whole shot. Does the sand still look right as the shark swims away, and does the water stay blue?

That alone gets a clip most of the way. The rest of this guide refines it.

Use a fixed node order

A node is one adjustment in Resolve's grading chain; nodes are applied in order. We gave every iPhone clip the same ten nodes, so a change in one place never fights a change in another. These are the node numbers you see on the Color page:

NodeAdjustment
1Lens Distortion, off
2Transform, off
3Chromatic Aberration Removal (Studio): color fringes
4Exposure
5Red recovery, in the RGB Mixer
6Midtone color balance
7Hue vs Sat for blue and cyan
8Contrast and saturation
9Dive light, on only for night dives
10Final level, with a red highlight knee

Brightness is set with gain in node 4 and contrast in node 8, not with the HDR color wheels, so we could measure it and repeat it on the next clip. You can download this chain with our values as a free PowerGrade.

Remove color fringes from the flat port (Studio)

Phones in housings film through a flat port. Ours is tempered glass with about a centimeter of air behind it, and that splits the colors toward the edges of the frame: in the corners of a 4K frame from the main camera, blue lands up to 4 pixels outward from green. You see it as blue and yellow edges on fins and coral.

Node 3 is Chromatic Aberration Removal, an effect in DaVinci Resolve Studio. We measured the fringing on each clip and used one setting per camera: blue −0.85 on the main and telephoto cameras, weaker on the ultra-wide. Put it before the color nodes: every later node adds saturation, and saturation makes fringes easier to see.

Rebalance red with the RGB Mixer

Water takes the red out of sunlight within a few meters. On a clip of mantas at 15 meters, red was only 15 to 21% of green on everything in the frame: water, reef, sand and the mantas' bellies. There is little real red to bring back, so the job is to rebalance the colors and clear the haze.

  1. In node 5's RGB Mixer, raise Red Output's red to 1.12.
  2. Raise the green contribution to Red Output, and lower the blue contribution by the same amount. Our day PowerGrade starts at green 0.06 and blue 0.03. On a clip of a snapper school at 20 meters we went to 0.15 and −0.06, which keeps their sum at 0.09.
  3. Watch the reef and the open water as you move them: the reef warms up, the water stays blue. Because no mask is involved, there's no edge to break.

Then, in node 6, move the Gamma wheel toward red (we used about +0.12) and away from blue (about −0.08). Rock and sand warm up; the bright water moves less.

Keep distant sand and water cool

Sand twenty meters away mostly shows the water between you and it. Get the open water right first and let far-away sand stay a little blue. When we forced distant sand to gray, the whole frame went mauve. Close reef and sand can be made neutral, and look natural straight away.

LOGCONVERTEDGRADED
Reef sharks over a fish school at 27 m, October 5. Left: log. Middle: converted. Right: graded toward blue water and slightly cool sand, because almost everything in this frame is far away. Shown at half speed.

What we aimed for, as the ratio of red and of blue to green on the scopes:

MaterialRed ÷ greenBlue ÷ greenHow it reads
Sand or pale rock close byabout 0.92about 1.05slightly warm white
Sand next to warm rockabout 1a little under 1sand, not lilac
Open water, blueabout 0.62 or moreblue
Open water, tealabout 0.6about 1.2teal

Stop bright highlights from turning pink

Where the picture is blown out, such as the sun seen from below or the surface, all three color channels have reached their maximum. Red recovery multiplies red, so red keeps rising while green and blue can't, and the sun turns pink. In one blown-out sky, red reached twice the green.

The fix is a knee in the red curve of the last node: from about two-thirds of the way up, red rises more slowly than green and blue. In node 10, open Curves, unlink the channels, select red, and pull the top of the red curve down a little. Our pink sun turned white, and a diver's hand in the same shot barely changed. Use it only on clips with pink highlights: it takes red out of anything bright, including yellow fins.

Check every clip by playing it through

Because white balance changed between takes, a grade copied to the next clip never fit unchanged. Copy the node chain, then set exposure, the RGB Mixer and the midtone balance again on each clip.

We also measured fixed spots on each clip, such as water, sand, reef and a manta's belly, before and after every change. The numbers caught water drifting toward violet, which is hard to see on a laptop screen. But four clips passed every numeric check and still looked wrong when played. So watch each graded clip from start to end, and look at the water as the subject moves away.

Optional: grade in HDR and deliver it to the web

If you deliver HDR, grade on an HDR screen and set the scopes to show nits instead of percent. Two numbers help:

  • HLG reference white is at 75% of the signal, about 203 nits. That's the ceiling for ordinary bright things, like a white tank or sunlit sand. The range above it is for real highlights: sun rays, the surface, the center of a dive-light beam.
  • Underwater, little needs to be bright. In our graded clips, 99% of the picture sits under about 95 nits. We kept the brightest part of a clip under about 230 nits unless it was a sun ray or the surface.
DaVinci Resolve's Color page with a ten-node grade and the RGB parade scope in nits
The Color page on the nurse shark clip: the ten nodes at the top right, the parade scope in nits at the bottom right. Blue sits highest, as it should for water; red is lifted, but nowhere near blue.

For the web, we render:

  • A master: ProRes 422 HQ, Rec.2100 HLG, 3840×2160.
  • For HDR screens: HEVC Main 10 with HLG tags, at 1080p and 720p, made from the master with ffmpeg.
  • For other screens: a second render from Resolve. Duplicate the timeline, turn off automatic color management for the copy, set its output to Rec.709 Gamma 2.4, and render again. Resolve's own conversion gives a better standard picture than converting the HLG file afterward.

On the page, offer the HLG file only to screens that report HDR, with media="(dynamic-range: high)" on its video source. We use HLG rather than PQ because on a screen that ignores the HDR tags, HLG still looks about right, while PQ looks dark and flat.

Summary

  1. Set color management once and the input color space of every clip to Apple Log 2.
  2. Make a first grade with Gain, the Gamma wheel and a playback check.
  3. Keep one node order for every clip, and remove fringes before adding color (Studio).
  4. Rebalance red with the RGB Mixer, and let distant sand stay a little cool.
  5. Pull down the top of the red curve where highlights turn pink.
  6. Redo exposure and color on each clip, and play every clip through before you call it done.

More guides