Atención

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.

How to Produce 4K and 2K Videos for YouTube

This guide shows how to

  1. Producir un video 4K que se adhiera, tanto como sea posible, a los estándares de este formato

  2. Publicar video en YouTube, que soporte resoluciones de hasta 4K, incluyendo 2K

Especificaciones

YouTube is describing quite accurately all the minimum requirements for uploading your material with the YouTube recommended upload encoding settings.

Brevemente, para los casos de 4K y 2K tenemos:

Tipo

Video Bitrate

Mono Audio Bitrate

Stereo Audio Bitrate

5.1. Audio Bitrate

Resolution and Aspect Ratio

2160p (4K)

35-45 Mbps

128 kbps

384 kbps

512 kbps

3840x2160 (16:9)

1440p (2K)

10 Mbps

128 kbps

384 kbps

512 kbps

2560x1440 (16:9)

Nota

Newer versions of Kdenlive already have 2K project profiles (QHD) and 4K project profiles for UHD and DCI with a variety of frame rates. Therefore, the following steps are only needed if your Kdenlive version does not have them (seriously consider an upgrade) or if you want to change certain parameters.

Step 1: Create Custom Project Settings

Under Menu ‣ Project ‣ Project Settings create a new custom project settings as follows.

Para 4K
  1. Tamaño: 3840×2160

  2. Velocidad de fotogramas: 60/1

  3. Proporción de píxel: 1/1

  4. Proporción de imagen: 16/9

  5. Espacio de color: ITU-R BT.709

Para 2K
  1. Tamaño: 2560×1440

  2. Velocidad de fotogramas: 60/1

  3. Proporción de píxel: 1/1

  4. Proporción de imagen: 16/9

  5. Espacio de color: ITU-R BT.709

Notice that the settings for Project Folder, Video Tracks, Audio Tracks and Thumbnail should reflect your personal needs.

Project setting 4K Project setting 2K

Step 2: Create Custom Consumer Profile

We are going to create a total of four profiles: two for 4K and two for 2K. This is necessary because despite their recommendations YouTube will not display videos in 2K nor 4K unless they are rendered at 30fps. Therefore, it is recommended to keep separate profiles for 2K and 4K, one each for 30 and 60fps.

Nota

The profiles have been created for Ubuntu 14.10 64bit, other distributions may have a different default directory for storing consumer profiles.

Under /usr/share/mlt/presets/consumer/avformat/Youtube_Advanced (Linux) or C:\Program Files\kdenlive\share\mlt\presets\consumer\avformat\ (Windows) create the following files:

4K_60fps

description=4K 60fps
f=mp4
frame_rate_num=60
frame_rate_den=1
width=3840
height=2160
progressive=1
vcodec=libx264
vb=40M
g=30
bf=2
acodec=aac
ab=384k
pix_fmt=yuv420p
threads=4
coder=1
movflags=+faststart
meta.preset.extension=mp4
meta.preset.name=4K 60fps

4K_YouTube

description=4K Youtube
f=m4
frame_rate_num=30  <-- Pay attention here (30fps is crucial
frame_rate_den=1
width=3840
height=2160
progressive=1
vcodec=libx264
vb=40M
g=15 <-- Pay attention here (this has to be half the frame rate)
bf=2
acodec=aac
ab=384k
pix_fmt=yuv420p
threads=4
coder=1
movflags=+faststart
meta.preset.extension=mp4
4meta.preset.name=4K Youtube

2K_60fps

description=2K 60fps
f=mp4
frame_rate_num=60
frame_rate_den=1
width=2560
height=1440
progressive=1
vcodec=libx264
vb=10M
g=30
bf=2
acodec=aac
ab=384k
pix_fmt=yuv420p
threads=4
coder=1
movflags=+faststart
meta.preset.extension=mp4
meta.preset.name=2K 60fps

2K_YouTube

description=2K YouTube
f=mp4
frame_rate_num=30 <-- Pay attention here (30fps is crucial)
frame_rate_den=1
width=2560
height=1440
progressive=1
vcodec=libx264
vb=10M
g=15 <-- Pay attention here (this has to be half the frame rate)
bf=2
acodec=aac
ab=384k
pix_fmt=yuv420p
threads=4
coder=1
movflags=+faststart
meta.preset.extension=mp4
meta.preset.name=2K YouTube

Step 3: Create Custom Rendering Profile

In the Rendering window create a new profile.

rendering-profile

En el diálogo del Perfil ingresar los siguientes valores:

Para procesar 4K a 60fps

Parámetro

Valor

Destino

File rendering

Group

MP4

Nombre del perfil

4K 60fps

Extensión

mp4

Parámetros

properties=4K_60fps vb=%quality+”k” ab=%audiobitrate+”k”

Calidades de video

35000,40000,45000

Calidad predeterminada

40000

Tasas de bits de audio

384,256,192,160,128

Tasa de bits de audio predeterminada

256

Para procesar 4K estándar para YouTube (30fps)

Parámetro

Valor

Destino

File rendering

Group

MP4

Nombre del perfil

4K Youtube

Extensión

mp4

Parámetros

properties=4K_YouTube vb=%quality+”k” ab=%audiobitrate+”k”

Calidades de video

35000,40000,45000

Calidad predeterminada

40000

Tasas de bits de audio

384,256,192,160,128

Tasa de bits de audio predeterminada

256

Para procesar 2K a 60fps

Parámetro

Valor

Destino

File rendering

Group

MP4

Nombre del perfil

2K 60fps

Extensión

mp4

Parámetros

properties=2K_60fps vb=%quality+”k” ab=%audiobitrate+”k”

Calidades de video

10000

Calidad predeterminada

10000

Tasas de bits de audio

384,256,192,160,128

Tasa de bits de audio predeterminada

256

Para procesar 2K estándar para YouTube (30fps)

Parámetro

Valor

Destino

File rendering

Group

MP4

Nombre del perfil

2K YouTube

Extensión

mp4

Parámetros

properties=2K_YouTube vb=%quality+”k” ab=%audiobitrate+”k”

Calidades de video

10000

Calidad predeterminada

10000

Tasas de bits de audio

384,256,192,160,128

Tasa de bits de audio predeterminada

256

rendering profile 4K

To see the results of using the above project and render profiles watch this video.

Notas

Fuentes

This How-to was written and published in the KDE Kdenlive forum on February 8th, 2015 by user marcozambi. It was adapted slightly to fit the style of this documentation.