H264 vs H265 for YouTube: Which Codec to use at 1080p, 1440p & 4K

Game Guides
13 May 202310:09

Summary

TLDREl script explora las diferencias entre los códecs H.264 y H.265 para videos en YouTube, comparando tiempos de renderizado y calidad visual. Aunque H.265 ofrece menor tamaño de archivo y mejor calidad, el rendimiento en YouTube varía según la resolución. Los test con DaVinci Resolve muestran que H.265 mejora la calidad en 4K y 1440p, pero a 1080p, H.264 supera a H.265 en claridad. Se recomienda usar H.264 para 1080p y escalar a 1440p para aprovechar H.265.

Takeaways

  • 😲 H.265 (HEVC) es el códec superior que ofrece la misma calidad visual con un tamaño de archivo más pequeño, pero no siempre es la mejor opción para YouTube dependiendo de la resolución.
  • 🔍 El análisis muestra que la calidad en YouTube puede variar significativamente entre H.264 y H.265 según la resolución de video.
  • 🕰 Los tiempos de renderizado pueden disminuir al pasar de H.264 a H.265, pero esto depende del tipo de hardware utilizado.
  • 🖥️ La renderización con H.264 utiliza todo el CPU disponible, lo que puede generar temperaturas altas, mientras que H.265 usa principalmente la GPU.
  • 📊 En un caso ideal sin ediciones, H.265 mejora los tiempos de renderización, pero con ediciones reales, los resultados varían.
  • 💻 Para reproducir archivos HEVC en Windows, se puede usar VLC Media Player o instalar una extensión en el Microsoft Store para DaVinci Resolve.
  • 📈 El análisis de calidad visual después de la subida a YouTube utiliza la herramienta VMAF para comparar la calidad de los videos.
  • 🎥 En 4K, H.265 siempre ofrece una mejor calidad visual que H.264 al mismo bitrate.
  • 🔍 Al disminuir la resolución a 1440p, H.265 sigue siendo superior, pero la diferencia en calidad visual se reduce ligeramente.
  • 📱 En 1080p, H.265 puede resultar en peor calidad visual en comparación con H.264 después de ser re-codificado por YouTube.
  • 🔄 Si se trabaja con 1080p, se recomienda usar H.264 en lugar de H.265, y considerar escalar la resolución a 1440p o 4K para aprovechar el códec VP9 en YouTube.

Q & A

  • ¿Cuál es la diferencia principal entre los códecs H.264 y H.265?

    -El códec H.265 (HEVC) es el más avanzado y produce la misma calidad visual con un tamaño de archivo más pequeño que H.264. Sin embargo, esto no siempre se traduce en la mejor calidad posible en YouTube, dependiendo de la resolución de renderizado.

  • ¿Qué programa se usó para realizar las pruebas en el script?

    -Se utilizó DaVinci Resolve, específicamente la versión gratuita desde la versión 17, que admite el renderizado usando H.265.

  • ¿Qué tipo de contenido se utilizó para las pruebas en el video?

    -Se utilizaron imágenes de juego de 'Modern Warfare 2' a 60 fps, pero los resultados también deberían ser aplicables a otros tipos de contenido, como videos de charlas, GoPro o drones.

  • ¿Cuál es la relación entre el uso del CPU y el GPU en el renderizado de videos con H.264 y H.265?

    -Con H.264, se utiliza el 100% de los hilos del CPU, lo que puede generar temperaturas altas. Con H.265, la mayoría del trabajo se realiza en la GPU, lo que reduce la carga en el CPU.

  • ¿Cómo varía el tiempo de renderizado al cambiar de H.264 a H.265 según el hardware utilizado?

    -El tiempo de renderizado puede disminuir al cambiar a H.265, pero esto depende del tipo de hardware. Por ejemplo, con un procesador potente como el 3900k, no hay una mejora significativa, mientras que con un procesador con menos hilos, como el 7700k, se puede obtener una mejora considerable en la velocidad de renderizado.

  • ¿Cómo se puede reproducir un video HEVC en Windows sin modificaciones?

    -Para reproducir videos HEVC en Windows, se puede usar el reproductor multimedia VLC, que es compatible con este formato.

  • ¿Qué extensión de Microsoft Store se necesita para reproducir videos HEVC en DaVinci Resolve?

    -Se necesita la extensión HEVC Video Extension, que cuesta un dólar y permite la reproducción de videos HEVC en DaVinci Resolve.

  • ¿Qué herramienta se utilizó para analizar la calidad visual de los videos después de subirlos a YouTube?

    -Se utilizó VMAF (Video Multi-Method Assessment Fusion), que combina diferentes métricas de calidad en un solo número para comparar la calidad de dos fuentes de video.

  • ¿Cuál es la recomendación para renderizar videos en 4K para YouTube según el script?

    -Para videos en 4K, se recomienda siempre usar H.265, ya que ofrece una mejor calidad visual en YouTube y posiblemente tiempos de renderizado más bajos, dependiendo del sistema.

  • ¿Qué ocurre con la calidad visual de los videos H.265 en comparación con H.264 cuando se renderiza en 1080p para YouTube?

    -En 1080p, los videos H.265 pueden tener una calidad visual significativamente peor que los de H.264 después de ser re-codificados por YouTube, lo que puede ser problemático debido a la falta de información en el archivo comprimido de H.265.

  • ¿Qué recomendación se hace al final del script para renderizar videos en 1080p para YouTube?

    -Si se tiene que renderizar videos en 1080p, se recomienda no usar H.265 y en su lugar, utilizar H.264. También se sugiere escalar el contenido a 1440p y renderizar en esa resolución para aprovechar el códec VP9 en YouTube.

Outlines

00:00

😲 Comparación de Codecs H.264 y H.265 para YouTube

El primer párrafo explora cuál codec, H.264 o H.265, deberías usar al renderizar tus videos para YouTube. Se analiza la diferencia en tiempos de render y la calidad visual en la plataforma. Aunque H.265 ofrece mejores resultados en términos de calidad y tamaño de archivo, esto no siempre se traduce en la mejor calidad en YouTube, dependiendo de la resolución de renderización. Los tests se realizaron utilizando DaVinci Resolve, versión 17, con footage de Modern Warfare 2 a 60fps, pero los resultados deberían ser aplicables a otros tipos de footage. Se discuten los tiempos de render, que generalmente disminuyen al pasar de H.264 a H.265, aunque esto depende del hardware utilizado. Se muestran los tiempos de render para clips de una minuto en resoluciones 1080p, 1440p y 2160p (4K), obtenidos tanto en H.264 como en H.265. Además, se menciona una solución para la reproducción de archivos HEVC en Windows usando VLC Media Player y la extensión HEVC en la Microsoft Store para DaVinci Resolve.

05:01

📊 Análisis de Calidad Visual de H.264 vs H.265 en YouTube

El segundo párrafo se enfoca en el análisis de la calidad visual de los videos renderizados en H.264 y H.265 después de ser subidos a YouTube. Se utilizó el Video Multi-Method Assessment Fusion (VMAF) para comparar la calidad. En resoluciones 4K y 1440p, H.265 siempre ofrece una mejor calidad visual que H.264 al mismo bitrate, permitiendo reducir el bitrate en un 40% para H.265 y mantener la misma calidad visual que H.264. Se sugiere que para videos en 4K, siempre se debe usar H.265. A 1440p, H.265 sigue siendo superior, permitiendo disminuir el bitrate en un 25% y mantener la calidad. Sin embargo, a 1080p, los resultados son inesperados, con H.265 mostrando una calidad visual significativamente peor que H.264. Se especula que la alta compresión de H.265 no proporciona suficiente información para una buena re-codificación en YouTube. Se sugiere que para 1080p, en lugar de usar H.265, se debería escalar la resolución a 1440p y renderizar en esa resolución para aprovechar el códec VP9 en YouTube. Se promete incluir la calidad visual esperada al escalar de 1080p a 1440p o 4K en un futuro video sobre las mejores tasas de bits para renderizar videos para YouTube en diferentes resoluciones.

10:01

🙌 Conclusión y Agradecimiento

El tercer y último párrafo es un agradecimiento por la visualización del video y una despedida cordial, con la promesa de vernos en el próximo video. Se refleja la intención del creador de proporcionar valor en cada contenido y se alude a la importancia de la interacción y el crecimiento de la comunidad de seguidores.

Mindmap

Keywords

💡h.264

h.264 es un códec de compresión de video que permite la transmisión y almacenamiento de videos en una variedad de formatos y dispositivos. En el video, se utiliza para comparar su rendimiento y calidad visual con el códec h.265. Se menciona que, aunque consume más CPU, ofrece una buena calidad visual, especialmente en resoluciones 1080P.

💡h.265

h.265, también conocido como HEVC, es un códec de video más reciente que ofrece una mejor eficiencia en la compresión, lo que resulta en archivos más pequeños con la misma calidad visual. En el script, se destaca cómo este códec puede mejorar la calidad de video en YouTube, especialmente en resoluciones 4K y 1440p, pero puede tener desempeños variables en 1080P.

💡render times

El término 'render times' se refiere al tiempo que toma convertir una escena o un proyecto en un video listo para ser visto. En el video, se analiza cómo los tiempos de renderizado varían entre los códecs h.264 y h.265, dependiendo del hardware utilizado y la resolución del video.

💡DaVinci Resolve

DaVinci Resolve es una estación de trabajo de edición de video profesional que se utiliza en el script para realizar las pruebas de renderizado. La versión gratuita desde la 17 es compatible con el códec h.265, lo que permite a los usuarios aprovechar las ventajas de este formato en sus proyectos.

💡Modern Warfare 2

Modern Warfare 2 es un videojuego que se menciona en el script como fuente del material de prueba utilizado en las pruebas de renderizado. Los clips de juego a 60fps se emplean para comparar la calidad y el tiempo de renderizado de los códecs h.264 y h.265.

💡bit rate

La 'bit rate' es la cantidad de datos que se transmiten por segundo en un flujo de audio o video. En el video, se explora cómo diferentes tasas de bits afectan la calidad visual del video en YouTube, siendo fundamental para entender la relación entre compresión y calidad en los códecs h.264 y h.265.

💡VLC Media Player

VLC Media Player es un reproductor multimedia gratuito y de código abierto que se menciona en el script como una solución para la reproducción de archivos HEVC en Windows, donde el soporte nativo es limitado.

💡Microsoft Store

El Microsoft Store es la tienda en línea de Microsoft donde se pueden encontrar aplicaciones y extensiones, como la extensión HEVC mencionada en el script para solucionar problemas de reproducción de videos HEVC en Windows.

💡vmaf

VMAF, o Video Multi-Method Assessment Fusion, es una herramienta utilizada en el script para medir y comparar la calidad visual de los videos. Combina diferentes métricas de calidad en una sola puntuación, facilitando la comparación entre los resultados de renderizado de h.264 y h.265.

💡upscaling

El 'upscaling' es el proceso de aumentar la resolución de un video sin perder calidad. En el video, se sugiere como una estrategia para mejorar la calidad de los videos en YouTube al renderizar en resoluciones más altas, como 1440p o 4K, en lugar de 1080P.

💡YouTube

YouTube es la plataforma de video más popular del mundo donde se suben y visualizan los videos analizados en el script. El rendimiento y la calidad de los códecs h.264 y h.265 se miden en función de cómo se ven los videos después de haber sido subidos a esta plataforma.

Highlights

Comparing H.264 and H.265 codecs for video rendering for YouTube.

Analyzing render times and visual quality differences.

H.265's advantage in producing higher visual quality with smaller file sizes.

The impact of resolution on codec performance on YouTube.

Using DaVinci Resolve for tests, including free version support for H.265.

Hardware dependency on render times for H.264 and H.265.

CPU vs GPU usage in rendering with H.264 and H.265.

Render time results for 1080P, 1440p, and 2160p resolutions.

Unexpected render time results for H.265 in certain conditions.

The necessity of VLC Media Player for HEVC video playback on Windows.

Microsoft Store HEVC video extension to resolve playback issues in DaVinci Resolve.

Using VMAF for objective video quality assessment after YouTube upload.

H.265's consistent higher visual quality at 4K resolution.

Bit rate adjustments for equivalent visual quality between H.264 and H.265.

The diminishing gap in visual quality between H.264 and H.265 at 1440p.

Unexpected poor visual quality of H.265 at 1080p resolution on YouTube.

Recommendation against using H.265 for 1080p video rendering.

Suggestion to upscale 1080p footage to 1440p for better codec utilization.

Upcoming video on optimal bitrates for different YouTube resolutions.

Transcripts

play00:00

h.264 or h.265 which codec should you

play00:04

use for rendering your videos for

play00:06

YouTube to answer this question in

play00:08

today's video we are going to look at

play00:10

the difference in render times and we're

play00:12

also going to look at the actual visual

play00:14

quality of the final product on YouTube

play00:17

when rendered either in h.264 or h.265

play00:21

now the outcome of this analysis might

play00:24

actually surprise you quite a bit

play00:25

because even though h.265 or hevc is

play00:30

definitely the superior codec that

play00:32

produces the same visual quality with a

play00:34

smaller file size this doesn't always

play00:37

translate into the best possible quality

play00:39

on YouTube because this highly depends

play00:42

on the resolution that you're rendering

play00:43

in now before diving right into results

play00:45

for today's video I want to mention that

play00:48

all of the tests I have performed using

play00:49

DaVinci Resolve the free version as

play00:52

since version 17 something something

play00:55

DaVinci Resolve supports rendering using

play00:57

h.265 moreover the I'm using for these

play01:01

tests comes from Modern Warfare version

play01:03

2 so I've used gaming footage at 60fps

play01:05

however the results that I'm showing in

play01:07

this video should hopefully also be

play01:09

applicable for other type of footage

play01:10

such as Talking Heads GoPro or Drone

play01:13

footage and with having said that let's

play01:16

start with our render times now

play01:18

generally speaking you would expect the

play01:20

render times to actually decrease when

play01:22

going from h.264 to h.265 now while this

play01:26

is generally true for most people it

play01:28

also sort of depends on the type of

play01:30

Hardware that you're using to render

play01:32

your videos you see when you render

play01:34

using h.264 you will use 100 of your CPU

play01:39

or rather all of your threads that you

play01:41

have available to render that video that

play01:43

also translates into extremely high

play01:45

temperatures when for instance you have

play01:47

a 3900k on the other hand if you render

play01:50

using h.265 then most of this work is

play01:54

actually done on the GPU and therefore

play01:56

your CPU isn't really doing too much but

play01:59

then again if you have a beastly CPU

play02:01

like the 3900k with 32 threads then

play02:04

going from that to rendering on your GPU

play02:07

isn't actually going to provide you with

play02:09

much of an improvement in render speeds

play02:12

so for my system you can see the render

play02:14

times that I'm getting for a sample one

play02:16

minute clip without any edits or any

play02:18

overlays or any effects on this graph

play02:21

right now now for this video I'm going

play02:23

to be using these three different

play02:24

resolutions that you see here 1080P

play02:27

1440p and 2160p or 4K the orange bars on

play02:32

this Plot show the render times for a

play02:35

one minute sample clip of each of these

play02:37

resolutions in h.264 whereas the blue

play02:39

bars represent the same clip but

play02:42

rendered at age 265 as you can see in

play02:45

this very idealized case I actually do

play02:47

get Improvement in render speeds when

play02:49

moving from h264 to h.265 however as I

play02:53

mentioned before this is a very

play02:54

idealized case as there are no cuts no

play02:57

overlays no text no effect Supply to the

play03:00

clips whatsoever and therefore I also

play03:03

like to talk about what I'm seeing when

play03:05

actually rendering a proper clip out and

play03:08

here results are a little bit varied as

play03:10

you can see rendering this project here

play03:12

took roughly 30 seconds longer using

play03:15

h.265 compared to h.264 then again I

play03:18

should definitely mention at this point

play03:20

that these results are highly sensitive

play03:22

to the type of harder that they're using

play03:24

and more specifically they're going to

play03:27

be hugely different if you have a CPU

play03:29

that has much less threads compared to

play03:31

the 3900k for example when I repeat the

play03:35

exact same test on my 7700k you can see

play03:38

that I'm gaining roughly 60 to 70 speed

play03:41

improvements by going from h.264 to

play03:44

h.265

play03:45

by the way natively it's not possible to

play03:48

play back hevc videos in Windows a

play03:51

workaround is to Simply use the VLC

play03:53

Media planner which then allows you to

play03:55

actually play back your hevc video clips

play03:58

however if you're using DaVinci Resolve

play04:00

to edit your videos you are likely still

play04:02

not going to be able to play back your

play04:04

videos as you will get this media

play04:05

offline warning so to fix this go to the

play04:08

Microsoft store search for the hevc

play04:11

video extension pay the one dollar that

play04:14

this costs and install the extension

play04:16

after which you'll see that the video

play04:18

will play back just fine in DaVinci

play04:19

Resolve now if so far you've found any

play04:22

value whatsoever from this video then I

play04:25

would highly appreciate it if you guys

play04:26

could smash that like And subscribe to

play04:28

the channel currently only five and a

play04:30

half percent of people that are watching

play04:32

my content are also subscribed so if

play04:35

you're enjoying these super deep dive

play04:36

videos where I'm showing actual data to

play04:38

prove a point then please consider

play04:40

subscribing it would mean the absolute

play04:42

world to me if you could grow this

play04:44

community even further

play04:45

but let's shift gears now and talk about

play04:48

the actual visual quality of the video

play04:50

after you've uploaded it to YouTube so

play04:53

for this I have performed a bunch of

play04:55

different render tests using h.264 and

play04:58

h.265 at various different resolutions

play05:00

and various different bit rates I

play05:03

uploaded all of these videos onto

play05:05

YouTube then re-downloaded them and

play05:07

analyze them using vmaf or video

play05:10

multi-method assessment Fusion which

play05:12

kind of combines different quality

play05:15

metrics into just one number and it's a

play05:18

very nice and convenient way to compare

play05:20

the quality of two different video

play05:22

sources

play05:23

so on this graph once again the Orange

play05:25

Line represents rendering using h.264

play05:27

and the blue line rendering using h.265

play05:30

you can see the different rendering

play05:32

bitrates on the horizontal axis and the

play05:34

corresponding visual quality on the

play05:36

vertical axis with a higher value

play05:38

representing a better visual quality

play05:41

as expected at 4K h.265 always produces

play05:44

the higher visual quality when compared

play05:46

to h.264 rendered at the same bit rate

play05:49

now quite interestingly you can achieve

play05:52

the exact same visual quality on YouTube

play05:54

with h.265 when decreasing your bit rate

play05:58

by 40 megabits per second of course this

play06:01

relationship isn't completely linear and

play06:03

I'd have to kind of extend the graph

play06:04

both to the left and the right to give

play06:07

you this information for all different

play06:08

kinds of bit rates but generally

play06:10

speaking if you're rendering 4K videos

play06:12

for YouTube you should definitely always

play06:15

stick to h.265 both for the better

play06:17

visual quality on YouTube and

play06:19

potentially lower render times depending

play06:22

on your system stepping down the

play06:24

resolution to 1440p we can see pretty

play06:27

much the same behavior by the way if you

play06:28

look at these graphs and think that

play06:30

these could be very handy in order to

play06:32

figure out the best possible bit rate to

play06:34

render your YouTube videos at to get the

play06:37

highest possible visual quality then you

play06:39

would be just right and that's actually

play06:41

something that I've covered in one of my

play06:43

past videos where I talked about the

play06:45

best bit rates depending on your

play06:46

resolution you can check it out Linked

play06:48

In the card right now and I'm actually

play06:50

also working on updating that video with

play06:53

actually better data and that is

play06:55

actually using 4K footage natively in

play06:58

order to do my tests so returning to

play07:00

this plant we can see that once again

play07:02

h.265 is far superior over h.264 at

play07:06

1440p and will basically always result

play07:09

in higher visual quality on YouTube now

play07:12

the gap between these two curves

play07:13

slightly decreased compared to 4K we can

play07:16

see that the visual quality of a 70

play07:18

megabits render at h.264 is roughly

play07:22

equivalent to a 45 megabit render at

play07:24

h.265

play07:26

so roughly speaking you can decrease

play07:27

your bit rate by 25 megabits and still

play07:30

have the same visual quality as it had

play07:33

with the higher bit rate in h.264

play07:35

however generally speaking I would

play07:37

always recommend to increase your bit

play07:39

rate as far as possible in order to be

play07:41

able to make use of the much better

play07:44

looking video quality on YouTube when

play07:46

rendering at an even higher bit rate

play07:48

finally let's decrease our resolution

play07:50

once again to 1080P and here results

play07:53

look

play07:55

completely different I was actually

play07:57

getting this graph and was very confused

play08:00

till h.265 was far far worse than h.264

play08:06

by a pretty significant margin actually

play08:09

so I was a bit skeptical and therefore

play08:11

decided to re-record a one minute

play08:14

segment in Warzone 2 once again at 1080p

play08:17

rendered it at different bit rates in

play08:19

h264 and h265 uploaded it to YouTube

play08:22

redownloaded everything and analyzed it

play08:24

and that's what happened so once again

play08:27

definitely not what I would have

play08:28

expected so I re-rendered the h.265 once

play08:32

again the exact same clip uploaded again

play08:35

and then it looked like this

play08:37

so essentially what I'm thinking happens

play08:39

is that the much more compressed h.265

play08:41

video Simply doesn't contain enough

play08:44

information to provide a good h.264

play08:47

re-encode on YouTube also this isn't

play08:49

just a random outcome of the vmaf

play08:51

computation as when I visually compare

play08:54

the h.264 render to the h.265 render

play08:57

after downloading the clips from YouTube

play08:59

you can see that the h.264 is actually

play09:02

vastly Superior in terms of visual

play09:04

Clarity compared to the h.265 render now

play09:08

frankly I find it a bit concerning that

play09:10

at 1080p it seems to be a little bit

play09:13

random as to whether you're getting good

play09:15

or bad quality on YouTube when you

play09:17

upload your h.265 videos in 1080P so if

play09:21

having said all of this my conclusion

play09:22

would be that if you have to render your

play09:25

videos in 1080P then I would actually

play09:28

not recommend to use h.265 and use h.264

play09:32

instead however instead of actually

play09:35

uploading 1080 footage you should really

play09:37

consider to upscale your footage to

play09:39

1440p and render it in that resolution

play09:42

in order to make sure that you can

play09:44

actually make use of the vp9 codec on

play09:47

YouTube now I'll make sure to include

play09:49

the visual quality that you can expect

play09:50

when upscaling a 1080p clip to 1440p or

play09:54

even 4K in this video where I'll talk

play09:57

about the best possible bitrate to use

play09:58

when rendering videos for YouTube in

play10:01

different resolutions so I hope you got

play10:03

value from this video thank you so much

play10:04

for watching have a wonderful day and

play10:06

I'll see you guys in the next video

Rate This

5.0 / 5 (0 votes)

相关标签
CodecsYouTubeRenderCalidadH.264H.265HEVCDaVinci ResolveGamingBitrateVMAF
您是否需要英文摘要?