Bridging Efficiency and Scalability in FFmpeg-Based Multimedia Transcoding: A Performance Benchmarking of Parallelization Strategies

Video transcoding is a fundamental process in the distribution and consumption of multimedia content, where efficiency and performance are crucial. In this context, FFmpeg has established itself as one of the most widely used tools, thanks to its versatility and its widespread adoption in professional and research environments. This paper conducts a comparative study of three versions of FFmpeg, with the aim of analyzing the effect of introduced improvements on transcoding time and computational resource consumption. To this end, three UHD videos were used as test cases and processed on two computers with different hardware configurations. The impact of different configuration parameters was also evaluated, including the use of encoding presets (medium, ultrafast, and veryslow) and the number of threads used. Based on measurements of processing time and CPU usage in various scenarios, this study provides a detailed overview of the behavior of FFmpeg under different versions and configurations. The results allow optimization strategies to be identified that depend on both the software version and the characteristics of the available hardware, offering useful guidelines for selecting appropriate configurations in video transcoding applications. The analysis reveals a trade-off: FFmpeg v7 achieves the shortest transcoding times when few threads are assigned to each encoder, with reductions of more than 50% at one thread per encoder, whereas older versions (v4/v6) show higher relative parallel efficiency and lower cumulative CPU occupancy. Under the evaluated x86 CPU and multi-resolution UHD configurations, diminishing returns appear between three and seven to ten threads per encoder, depending on the platform, and at two to three threads when video filters are applied, while the PSNR is identical across all versions.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-12-02
DOI
https://doi.org/10.3390/electronics15235659
Primary Topic
Video Coding and Compression Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Bridging Efficiency and Scalability in FFmpeg-Based Multimedia Transcoding: A Performance Benchmarking of Parallelization Strategies

David Jiménez, Javier Serrano, Alberto del Río, Álvaro Llorente et al.
Electronics
Video Coding and Compression Technologies
article

Bridging Efficiency and Scalability in FFmpeg-Based Multimedia Transcoding: A Performance Benchmarking of Parallelization Strategies

David Jiménez, Javier Serrano, Alberto del Río, Álvaro Llorente, Ruth Donezar
article en

Abstract

Video transcoding is a fundamental process in the distribution and consumption of multimedia content, where efficiency and performance are crucial. In this context, FFmpeg has established itself as one of the most widely used tools, thanks to its versatility and its widespread adoption in professional and research environments. This paper conducts a comparative study of three versions of FFmpeg, with the aim of analyzing the effect of introduced improvements on transcoding time and computational resource consumption. To this end, three UHD videos were used as test cases and processed on two computers with different hardware configurations. The impact of different configuration parameters was also evaluated, including the use of encoding presets (medium, ultrafast, and veryslow) and the number of threads used. Based on measurements of processing time and CPU usage in various scenarios, this study provides a detailed overview of the behavior of FFmpeg under different versions and configurations. The results allow optimization strategies to be identified that depend on both the software version and the characteristics of the available hardware, offering useful guidelines for selecting appropriate configurations in video transcoding applications. The analysis reveals a trade-off: FFmpeg v7 achieves the shortest transcoding times when few threads are assigned to each encoder, with reductions of more than 50% at one thread per encoder, whereas older versions (v4/v6) show higher relative parallel efficiency and lower cumulative CPU occupancy. Under the evaluated x86 CPU and multi-resolution UHD configurations, diminishing returns appear between three and seven to ten threads per encoder, depending on the platform, and at two to three threads when video filters are applied, while the PSNR is identical across all versions.

ElectronicsVol. 15(23)
Information Processing and Telecommunications Center (ES), Universidad Politécnica de Madrid (ES)
Video Coding and Compression Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon