UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-Offs

In the contemporary digital media environment, video encoding is of paramount importance for applications such as streaming and video conferencing. With the increasing demand for higher resolutions and immersive video, optimizing videos for Internet consumption necessitates the use of the latest cod...

Full description

Saved in:
Bibliographic Details
Main Authors: Andoni Salcedo-Navarro, Juan Gutierrez-Aguado, Miguel Garcia-Pineda
Format: Article
Language:English
Published: IEEE 2025-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/10937033/
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849767175059931136
author Andoni Salcedo-Navarro
Juan Gutierrez-Aguado
Miguel Garcia-Pineda
author_facet Andoni Salcedo-Navarro
Juan Gutierrez-Aguado
Miguel Garcia-Pineda
author_sort Andoni Salcedo-Navarro
collection DOAJ
description In the contemporary digital media environment, video encoding is of paramount importance for applications such as streaming and video conferencing. With the increasing demand for higher resolutions and immersive video, optimizing videos for Internet consumption necessitates the use of the latest codecs. Additionally, live event broadcasts require fast and efficient codecs, making GPU codecs essential. This paper analyses the coding efficiency of video encoders on CPUs and GPUs with 4K content. We have selected three families of encoders (H264/AVC, HEVC, and AV1) and have computed the Bjøntegaard Delta (BD) using a set of 15 UHD videos to compare the results of the CPU implementation (libx264, libx265, and librav1e) with their GPU version (h264_nvenc, h265_nvenc, and av1_nvenc) of each family. Besides, we have measured the mean encoding time per frame (as the test videos have different duration). The BD rate analysis shows that the CPU implementations of the codecs for H264 and AV1 (libx264 and librav1e) require in mean more than 20% bitrate (for both metrics PSNR and VMAF) compared to the GPU implementations (h264_nvenc and av1_nvenc). However, the CPU implementation of the H265 (libx265) codec required around 7.5% less bitrate (for both metrics) than the GPU implementation (hevc_nvenc). The encoding times reveal that the mean encoding time per frame for the GPU encoders is very similar (109 ms, 108.39 ms, and 117.77 ms) and they achieve a great time reduction compared to the CPU version (1.3 times faster for H264, 2.35 times faster for HEVC, and 68.14 times faster for AV1). Therefore, the GPU implementations of these encoders reduce the encoding time drastically, specially in the case of AV1, and lead to a noticeable reduction of the bitrate (except for HEVC).
format Article
id doaj-art-ec2e451b51d6489c9299cddd729fd6e2
institution DOAJ
issn 2169-3536
language English
publishDate 2025-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj-art-ec2e451b51d6489c9299cddd729fd6e22025-08-20T03:04:20ZengIEEEIEEE Access2169-35362025-01-0113551155512910.1109/ACCESS.2025.355363410937033UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-OffsAndoni Salcedo-Navarro0https://orcid.org/0009-0000-0347-7996Juan Gutierrez-Aguado1https://orcid.org/0000-0001-5527-8091Miguel Garcia-Pineda2https://orcid.org/0000-0003-2590-6370Department of Computer Science, ETSE-UV, Universitat de València, Valencia, SpainDepartment of Computer Science, ETSE-UV, Universitat de València, Valencia, SpainDepartment of Computer Science, ETSE-UV, Universitat de València, Valencia, SpainIn the contemporary digital media environment, video encoding is of paramount importance for applications such as streaming and video conferencing. With the increasing demand for higher resolutions and immersive video, optimizing videos for Internet consumption necessitates the use of the latest codecs. Additionally, live event broadcasts require fast and efficient codecs, making GPU codecs essential. This paper analyses the coding efficiency of video encoders on CPUs and GPUs with 4K content. We have selected three families of encoders (H264/AVC, HEVC, and AV1) and have computed the Bjøntegaard Delta (BD) using a set of 15 UHD videos to compare the results of the CPU implementation (libx264, libx265, and librav1e) with their GPU version (h264_nvenc, h265_nvenc, and av1_nvenc) of each family. Besides, we have measured the mean encoding time per frame (as the test videos have different duration). The BD rate analysis shows that the CPU implementations of the codecs for H264 and AV1 (libx264 and librav1e) require in mean more than 20% bitrate (for both metrics PSNR and VMAF) compared to the GPU implementations (h264_nvenc and av1_nvenc). However, the CPU implementation of the H265 (libx265) codec required around 7.5% less bitrate (for both metrics) than the GPU implementation (hevc_nvenc). The encoding times reveal that the mean encoding time per frame for the GPU encoders is very similar (109 ms, 108.39 ms, and 117.77 ms) and they achieve a great time reduction compared to the CPU version (1.3 times faster for H264, 2.35 times faster for HEVC, and 68.14 times faster for AV1). Therefore, the GPU implementations of these encoders reduce the encoding time drastically, specially in the case of AV1, and lead to a noticeable reduction of the bitrate (except for HEVC).https://ieeexplore.ieee.org/document/10937033/AV1H264/AVCHEVCNVENCprocessing timePSNR
spellingShingle Andoni Salcedo-Navarro
Juan Gutierrez-Aguado
Miguel Garcia-Pineda
UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-Offs
IEEE Access
AV1
H264/AVC
HEVC
NVENC
processing time
PSNR
title UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-Offs
title_full UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-Offs
title_fullStr UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-Offs
title_full_unstemmed UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-Offs
title_short UHD Video Encoding in CPU Versus GPU: Quality and Performance Trade-Offs
title_sort uhd video encoding in cpu versus gpu quality and performance trade offs
topic AV1
H264/AVC
HEVC
NVENC
processing time
PSNR
url https://ieeexplore.ieee.org/document/10937033/
work_keys_str_mv AT andonisalcedonavarro uhdvideoencodingincpuversusgpuqualityandperformancetradeoffs
AT juangutierrezaguado uhdvideoencodingincpuversusgpuqualityandperformancetradeoffs
AT miguelgarciapineda uhdvideoencodingincpuversusgpuqualityandperformancetradeoffs