Skip to main content

Full Luma

Attention

This page is not maintained anymore and contains information referring to features or functions from earlier versions of Kdenlive that are deprecated or have been superseded by something else.

The Full (JPEG) luma option refers to video sources with luma recorded outside of the typical broadcast, limited 16 - 235 8-bit range.

It fixes problems when round-tripping video files with luma outside of the 16 - 235 8-bit range.

By default, when we import a video it is handled and displayed based on the 16 - 235 range. That means levels below 15 and those above 235 are compressed to 0 and 255, respectively. Thus shadows get overly dark and highlights saturated in the preview in Kdenlive for camera sources that are full range.

When we render out the project, those levels remain in the final video (compressed shadows and saturated highlights) resulting in a mismatch between the levels in the imported video and the exported video.

Note This only really matters for round-tripping to an external application.

For any playback on DVDs, Blu-ray, and via the likes of Vimeo or Youtube, our video levels in the final rendered output should be in the 16 - 235 range, otherwise we see so called gamma shifts, washed out or saturated playback depending on playback handling.

However, we want to have full control of the levels adjustment in Kdenlive, i.e. 0 - 255 into 16 - 235. Full luma option changes the handling of the files and preview / scopes are based on an alternative YCbCr to RGB calculation.

By setting the full luma on, which should only be done for camera sources known to be full range 0 - 255 or even 16 - 255 such as FS100, Nex5, HV20, HV30 and probably many more consumer cameras. Canon and Nikon DSLR’s too but a little more complicated, we can export video with the levels as imported, BUT and it’s a big but, that is without doing any RGB operations in Kdenlive, so no effects, color correction etc. If any effects are added then the output will be restricted range again.

Sources

The original text for Full Luma was submitted by user Yellow to the now defunct Kdenlive forum. For this documentation it has been lifted from kdenlive.org and adapted to match the overall style. *[RGB]: Red, Green, Blue *[VFX]: Visual Effects *[feathering]: Smoothing or blurring the edges of a feature *[LFO]: Low-Frequency Oscillation *[dB]: decibel *[LUFS]: Loudness Units Full Scale *[AI]: Artificial Intelligence *[LLM]: Large Language Model *[HSV]: Hue, Saturation, Value *[SOP/Sat]: S(lope), O(ffset), P(ower) / SATuration *[CDL]: Color Decision List *[HSL]: Hue, Saturation, Lightness - Using HSL color space is useful for subtle color changes *[px]: pixel *[hh:mm:ss:ff]: hours:minutes:seconds:frames *[Hz]: Hertz *[CIE]: Commission internationale de l'éclairage, French for International Commission on Illumination *[DCI]: Digital Cinema Initiative *[nadir]: direction pointing directly below a particular location *[OS]: Operating System *[decibel]: Unit of measurement (dB) for sound levels *[clipping]: A form of distortion that limits a signal once it exceeds a threshold *[Spectrogram]: Visual representation of the spectrum of frequencies of a signal as it varies with time *[prevent clipping]: Dynamic range compression (DRC)is an audio signal processing operation that reduces the volume of loud sounds or amplifies quiet sounds, thus reducing or compressing an audio signal's dynamic range. *[SNR]: Signal-to-Noise Ratio *[dbFS]: Decibels relative to full scale