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
- David Jiménez (ORCID: https://orcid.org/0000-0002-7382-4276)
- Javier Serrano (ORCID: https://orcid.org/0000-0003-2111-187X)
- Alberto del Río (ORCID: https://orcid.org/0000-0002-6832-4381)
- Álvaro Llorente (ORCID: https://orcid.org/0000-0001-8737-2402)
- Ruth Donezar
Institutions
- Information Processing and Telecommunications Center (ES)
- Universidad Politécnica de Madrid (ES)
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