Rendering

Rendering is the process where the edited clips are saved into a single complete video clip. During the rendering process the video can be compressed and converted to a number of different video formats (aka codecs).

The rendering dialog is brought up from the render button media-record from selecting Project ‣ Render menu item or by the Ctrl + Enter shortcut.

Rendering Dialog

Changed in version 22.12.

File rendering dialog 22.12

Download New Render Profiles

Rendering Preset Categories

File rendering categories - ver 22.04

Kdenlive offers many different rendering presets to choose from. The rendering presets are grouped into categories. See picture Above.

Full Project

Full Project radio button is the default setting. Kdenlive render from the first clip until the last clip in the timeline.

Selected Zone

Selected Zone radio button, Kdenlive will only render that portion of the project which has a selected zone created for it. See Monitors.

Guide Zone

render guide zone 22-04

Guide zone radio button makes use of Guides to define a region of the project that is to be rendered. See Rendering Using Guides and Rendering Scripts.

Guide Multi-Export

New in version 22.04.

render guide multi export 22-04

Guide Multi-Export radio button makes use of Guides categories to be rendered.

render guide multi-export example 22-04

The selection of guide categories indicates which guides categories will be considered for rendering. In the example above, there are the following options:

  • “All Categories”: This leads to four files:

  • projectname-begin.mp4 (from 00:00:00 to “guide1”)

  • projectname-guide1.mp4 (from “guide1” to “guide2”)

  • projectname-guide2.mp4 (from “guide2” to “guide3”)

  • projectname-guide3.mp4 (from “guide3” to the end)

  • “Category 0 (purple)”: This leads to three files:

  • projectname-begin.mp4 (from 00:00:00 to “guide1”)

  • projectname-guide1.mp4 (from “guide1” to “guide2”)

  • projectname-guide2.mp4 (from “guide2” to the end)

  • “Category 1 (blue)”: This leads to two files:

  • projectname-begin.mp4 (from 00:00:00 to “guide3”)

  • projectname-guide3.mp4 (from “guide3” to the end)

  • If guides are behind the last timeline clip, they are ignored.

  • If a guide sits right at the beginning of the timeline, the name of that guide is used instead of “begin”.

  • If two guides have the same name, an underscore and a number will be added to the file name.

More Option

More Option show you more options for rendering.

Render Overlay

Kdenlive_Render_overlay

This option overlays a time code or frame count over the rendered video. This will put the overlay over the entire rendered project. Alternatively you can use the Dynamic Text effect to overlay selected regions of the video.

render overlay result

Export Metadata

Check this to have the metadata which has been entered under Project Settings Dialog placed into the metadata of the rendered file.

Metadata tab of Project Settings

And this is the metadata on the resulting clip (rendered with Export Metadata checked).

Kdenlive_Clip_properties_metadata_res
$ ffprobe dog_rotated_meta_data.mp4
Metadata:
major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
title           : Bailey
encoder         : Lavf53.21.1
copyright       : VSF

Export Audio Checkbox

This is an unusual one. Instead of a normal on/off checkbox toggle, the Export Audio checkbox cycles among three choices.

As if that weren’t confusing enough, the Export audio (automatic) option may appear different depending on your combination of distribution, desktop environment and theme. See three examples below:

Regardless of how the checkbox on the Export audio (automatic) option may appear on your installation, rest assured that when that option is showing, it is enabled.

So what do the three options mean?

Export audio option of the render dialog (automatic)

Export audio (automatic) means detect if an audio track is present and write the audio track if found

Export audio option of the render dialog (active)

Export audio, when checked, means write an audio track in the rendered file even if there is no audio track to write.

Export audio option of the render dialog (not active)

Export audio, when unchecked, means do not write an audio track in the rendered file.

The difference in behavior between enabling Export audio versus Export audio (automatic) can be seen in the situation where you have a video on the timeline but there is no audio track on the timeline and the video in the video track also does not have an audio track. An example of such a situation is shown in the screenshot below.

Kdenlive_Video_with_no_audio

In this situation, if you render with Export audio (automatic), the rendered file will not have an audio track (Result 1 on screenshot below). But if you render with Export Audio checked, then the rendered file will contain an audio track – the track will however be empty (Result 2 on screenshot below).

Kdenlive_Render_export_audio_auto_vs_just_checked2

FFprobe on file generated from an audio-less track using Export audio (automatic). Note only one stream – Stream #0.0 – a video stream. Kdenlive automatically detected there was not an audio track and so it did not write one.

$ ffprobe dog_rotated_exp_audio_auto.mp4
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf53.21.1
Duration: 00:00:03.62, start: 0.000000, bitrate: 12592 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 12587 kb/s, 27.83 fps, 27.83 tbr, 30k tbn, 55.66 tbc

FFprobe on file generated from an audio-less track using Export audio checked. Note two streams – Stream #0.0 and Stream #0.1 – the latter being an aac audio track. We forced Kdenlive to write an audio track even though there was not any source audio to write.

$ ffprobe dog_rotated_exp_audio.mp4
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf53.21.1
  Duration: 00:00:03.62, start: 0.000000, bitrate: 12598 kb/s

Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 12587 kb/s, 27.83 fps, 27.83 tbr, 30k tbn, 55.66 tbc
Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 2 kb/s

In cases where there is an audio track …

Kdenlive_Video_plus_Audio_in_seperate_tracks

Rendering with Export audio unchecked will produce a file with no audio track – result 4 in the screenshot above. Rendering with Export audio (automatic) (result 3 in the screenshot above) or with Export audio checked will produce files with Audio tracks.

Encoder Threads

Encoder options of the render dialog

Determines the value of Encoding threads passed to melt. For encoding to certain codecs, namely MPEG-2, MPEG-4, H.264, and VP8, kdenlive can use more than one thread and thus make use of multiple cores. Increase this number to take advantage of this feature on multi-core machines. See melt doco - threads and melt FAQ on multi-threading.

Create Custom Render Presets

kdenlive_custom_render_presets

document-new Creates a new preset based on the project profile.

edit-download Downloading additional user created presets.

document-save-as Save the selected preset under a new name.

document-edit Save the preset under the current name i.e. replace it.

document-new document-save-as document-edit Will open the Save Render Preset dialog (also shown in the screenshot below) and the Parameters section will be filled in with the render parameters of the preset that you had selected when you clicked either of the document-new or document-save-as or document-edit button. You can edit values in the parameters and save your own custom render preset.

Creating new groups: When you save a preset and enter a group name that does not yet exist, the group will be created.

Dialog to edit render presets

The parameters are not limited by the UI, you can add custom parameters in the box Additional Parameters under the tab Other.

The parameters in the rendering presets are melt parameters. For an explanation of their meaning, check the melt documentation or type melt -help in a command prompt.

See also Render Profile Parameters.

Rendering In Batch mode

If you have a lot of rendering jobs to do, you can use Kdenlive to create rendering scripts which you can accumulate and then execute in batch mode overnight. See Rendering Using Guides and Rendering Scripts.

Alternatively, once you have submitted a rendering job on a project and it is up and running in the Job Queue, you can drag the render window out of the way and edit the project some more or load a new project and render that one too. The second render job submitted will go into the Job Queue. Editing the project after a render job is submitted will not change the settings on that job.

Kdenlive_Rendering_job_queue

Variable Bit Rate - earlier Versions

Warning

The instructions of this section are probably out-dated please help us to improve the documentation! See Get involved

File rendering dialog Variable Bit Rate - ver 0.9.10

When a variable bitrate (VBR) profile is selected, the File Size section displays a drop down for choosing the Video quality you want. This quality figure is a codec-dependent number representing the quality of the video that will be rendered. Generally, lower numbers mean higher quality video and larger file sizes (e.g. x264, MPEG2, VPx), but some codecs use opposite order (e.g. Theora). Profiles provided with Kdenlive offer these numbers ordered from best quality (almost lossless) to lower quality (still not degrading too much). The exact file size that is produced can not be predicted when using the VBR method. The idea behind this is that you specify a certain quality of video that you want through the entire video and the encoding optimizes bitrate to give you that constant quality, lowering data size for low action scenes and using more bits for high action scenes.

Example: 1min 55 seconds of 720 x 576 H.264 iPhone footage rendered at quality 15 with the H.264/AAC High Profile would produce a file size of 186 Mb. Whereas rendering the same footage at quality quality 20 produced an 83Mb file.

Constant Bit Rate - earlier Versions

Warning

The instructions of this section are probably out-dated please help us to improve the documentation! See Get involved

File rendering dialog Constant Bit Rate - ver 0.9.10

When a constant bitrate (CBR) profile is selected, the File Size section displays a drop down for choosing the Video bitrate you want. This is similar to the version <=0.9.8 behaviour of Kdenlive. You select the video bitrate you want and the video is encoded at that video bitrate across its entire length.

File rendering dialog - ver 0.9.8