Open AccessOpen Access


FSpot: Fast and Efficient Video Encoding Workloads Over Amazon Spot Instances

Anatoliy Zabrovskiy1,3, Prateek Agrawal1,2,*, Vladislav Kashansky1, Roland Kersche4, Christian Timmerer1,4, Radu Prodan1

1 University of Klagenfurt, Klagenfurt, 9020, Austria
2 Lovely Professional University, Phagwara, 144411, India
3 Petrozavodsk State University, Petrozavodsk, 185035, Russia
4 Bitmovin, Klagenfurt, 9020, Austria

* Corresponding Author: Prateek Agrawal. Email:

Computers, Materials & Continua 2022, 71(3), 5677-5697.


HTTP Adaptive Streaming (HAS) of video content is becoming an undivided part of the Internet and accounts for most of today's network traffic. Video compression technology plays a vital role in efficiently utilizing network channels, but encoding videos into multiple representations with selected encoding parameters is a significant challenge. However, video encoding is a computationally intensive and time-consuming operation that requires high-performance resources provided by on-premise infrastructures or public clouds. In turn, the public clouds, such as Amazon elastic compute cloud (EC2), provide hundreds of computing instances optimized for different purposes and clients’ budgets. Thus, there is a need for algorithms and methods for optimized computing instance selection for specific tasks such as video encoding and transcoding operations. Additionally, the encoding speed directly depends on the selected encoding parameters and the complexity characteristics of video content. In this paper, we first benchmarked the video encoding performance of Amazon EC2 spot instances using multiple ×264 codec encoding parameters and video sequences of varying complexity. Then, we proposed a novel fast approach to optimize Amazon EC2 spot instances and minimize video encoding costs. Furthermore, we evaluated how the optimized selection of EC2 spot instances can affect the encoding cost. The results show that our approach, on average, can reduce the encoding costs by at least 15.8% and up to 47.8% when compared to a random selection of EC2 spot instances.


Cite This Article

A. Zabrovskiy, P. Agrawal, V. Kashansky, R. Kersche, C. Timmerer et al., "Fspot: fast and efficient video encoding workloads over amazon spot instances," Computers, Materials & Continua, vol. 71, no.3, pp. 5677–5697, 2022.

This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1499


  • 725


  • 0


Share Link