H264 vs H265 for YouTube: Which Codec to use at 1080p, 1440p & 4K
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
😲 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.
📊 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.
🙌 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.265
💡render times
💡DaVinci Resolve
💡Modern Warfare 2
💡bit rate
💡VLC Media Player
💡Microsoft Store
💡vmaf
💡upscaling
💡YouTube
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
h.264 or h.265 which codec should you
use for rendering your videos for
YouTube to answer this question in
today's video we are going to look at
the difference in render times and we're
also going to look at the actual visual
quality of the final product on YouTube
when rendered either in h.264 or h.265
now the outcome of this analysis might
actually surprise you quite a bit
because even though h.265 or hevc is
definitely the superior codec that
produces the same visual quality with a
smaller file size this doesn't always
translate into the best possible quality
on YouTube because this highly depends
on the resolution that you're rendering
in now before diving right into results
for today's video I want to mention that
all of the tests I have performed using
DaVinci Resolve the free version as
since version 17 something something
DaVinci Resolve supports rendering using
h.265 moreover the I'm using for these
tests comes from Modern Warfare version
2 so I've used gaming footage at 60fps
however the results that I'm showing in
this video should hopefully also be
applicable for other type of footage
such as Talking Heads GoPro or Drone
footage and with having said that let's
start with our render times now
generally speaking you would expect the
render times to actually decrease when
going from h.264 to h.265 now while this
is generally true for most people it
also sort of depends on the type of
Hardware that you're using to render
your videos you see when you render
using h.264 you will use 100 of your CPU
or rather all of your threads that you
have available to render that video that
also translates into extremely high
temperatures when for instance you have
a 3900k on the other hand if you render
using h.265 then most of this work is
actually done on the GPU and therefore
your CPU isn't really doing too much but
then again if you have a beastly CPU
like the 3900k with 32 threads then
going from that to rendering on your GPU
isn't actually going to provide you with
much of an improvement in render speeds
so for my system you can see the render
times that I'm getting for a sample one
minute clip without any edits or any
overlays or any effects on this graph
right now now for this video I'm going
to be using these three different
resolutions that you see here 1080P
1440p and 2160p or 4K the orange bars on
this Plot show the render times for a
one minute sample clip of each of these
resolutions in h.264 whereas the blue
bars represent the same clip but
rendered at age 265 as you can see in
this very idealized case I actually do
get Improvement in render speeds when
moving from h264 to h.265 however as I
mentioned before this is a very
idealized case as there are no cuts no
overlays no text no effect Supply to the
clips whatsoever and therefore I also
like to talk about what I'm seeing when
actually rendering a proper clip out and
here results are a little bit varied as
you can see rendering this project here
took roughly 30 seconds longer using
h.265 compared to h.264 then again I
should definitely mention at this point
that these results are highly sensitive
to the type of harder that they're using
and more specifically they're going to
be hugely different if you have a CPU
that has much less threads compared to
the 3900k for example when I repeat the
exact same test on my 7700k you can see
that I'm gaining roughly 60 to 70 speed
improvements by going from h.264 to
h.265
by the way natively it's not possible to
play back hevc videos in Windows a
workaround is to Simply use the VLC
Media planner which then allows you to
actually play back your hevc video clips
however if you're using DaVinci Resolve
to edit your videos you are likely still
not going to be able to play back your
videos as you will get this media
offline warning so to fix this go to the
Microsoft store search for the hevc
video extension pay the one dollar that
this costs and install the extension
after which you'll see that the video
will play back just fine in DaVinci
Resolve now if so far you've found any
value whatsoever from this video then I
would highly appreciate it if you guys
could smash that like And subscribe to
the channel currently only five and a
half percent of people that are watching
my content are also subscribed so if
you're enjoying these super deep dive
videos where I'm showing actual data to
prove a point then please consider
subscribing it would mean the absolute
world to me if you could grow this
community even further
but let's shift gears now and talk about
the actual visual quality of the video
after you've uploaded it to YouTube so
for this I have performed a bunch of
different render tests using h.264 and
h.265 at various different resolutions
and various different bit rates I
uploaded all of these videos onto
YouTube then re-downloaded them and
analyze them using vmaf or video
multi-method assessment Fusion which
kind of combines different quality
metrics into just one number and it's a
very nice and convenient way to compare
the quality of two different video
sources
so on this graph once again the Orange
Line represents rendering using h.264
and the blue line rendering using h.265
you can see the different rendering
bitrates on the horizontal axis and the
corresponding visual quality on the
vertical axis with a higher value
representing a better visual quality
as expected at 4K h.265 always produces
the higher visual quality when compared
to h.264 rendered at the same bit rate
now quite interestingly you can achieve
the exact same visual quality on YouTube
with h.265 when decreasing your bit rate
by 40 megabits per second of course this
relationship isn't completely linear and
I'd have to kind of extend the graph
both to the left and the right to give
you this information for all different
kinds of bit rates but generally
speaking if you're rendering 4K videos
for YouTube you should definitely always
stick to h.265 both for the better
visual quality on YouTube and
potentially lower render times depending
on your system stepping down the
resolution to 1440p we can see pretty
much the same behavior by the way if you
look at these graphs and think that
these could be very handy in order to
figure out the best possible bit rate to
render your YouTube videos at to get the
highest possible visual quality then you
would be just right and that's actually
something that I've covered in one of my
past videos where I talked about the
best bit rates depending on your
resolution you can check it out Linked
In the card right now and I'm actually
also working on updating that video with
actually better data and that is
actually using 4K footage natively in
order to do my tests so returning to
this plant we can see that once again
h.265 is far superior over h.264 at
1440p and will basically always result
in higher visual quality on YouTube now
the gap between these two curves
slightly decreased compared to 4K we can
see that the visual quality of a 70
megabits render at h.264 is roughly
equivalent to a 45 megabit render at
h.265
so roughly speaking you can decrease
your bit rate by 25 megabits and still
have the same visual quality as it had
with the higher bit rate in h.264
however generally speaking I would
always recommend to increase your bit
rate as far as possible in order to be
able to make use of the much better
looking video quality on YouTube when
rendering at an even higher bit rate
finally let's decrease our resolution
once again to 1080P and here results
look
completely different I was actually
getting this graph and was very confused
till h.265 was far far worse than h.264
by a pretty significant margin actually
so I was a bit skeptical and therefore
decided to re-record a one minute
segment in Warzone 2 once again at 1080p
rendered it at different bit rates in
h264 and h265 uploaded it to YouTube
redownloaded everything and analyzed it
and that's what happened so once again
definitely not what I would have
expected so I re-rendered the h.265 once
again the exact same clip uploaded again
and then it looked like this
so essentially what I'm thinking happens
is that the much more compressed h.265
video Simply doesn't contain enough
information to provide a good h.264
re-encode on YouTube also this isn't
just a random outcome of the vmaf
computation as when I visually compare
the h.264 render to the h.265 render
after downloading the clips from YouTube
you can see that the h.264 is actually
vastly Superior in terms of visual
Clarity compared to the h.265 render now
frankly I find it a bit concerning that
at 1080p it seems to be a little bit
random as to whether you're getting good
or bad quality on YouTube when you
upload your h.265 videos in 1080P so if
having said all of this my conclusion
would be that if you have to render your
videos in 1080P then I would actually
not recommend to use h.265 and use h.264
instead however instead of actually
uploading 1080 footage you should really
consider to upscale your footage to
1440p and render it in that resolution
in order to make sure that you can
actually make use of the vp9 codec on
YouTube now I'll make sure to include
the visual quality that you can expect
when upscaling a 1080p clip to 1440p or
even 4K in this video where I'll talk
about the best possible bitrate to use
when rendering videos for YouTube in
different resolutions so I hope you got
value from this video thank you so much
for watching have a wonderful day and
I'll see you guys in the next video
تصفح المزيد من مقاطع الفيديو ذات الصلة
5.0 / 5 (0 votes)