Vol.71, No.3, 2022, pp.5677-5697, doi:10.32604/cmc.2022.023630
OPEN ACCESS
ARTICLE
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:
Received 14 September 2021; Accepted 18 November 2021; Issue published 14 January 2022
Abstract
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.
Keywords
EC2 spot instance; encoding time prediction; adaptive streaming; video transcoding; clustering; HTTP adaptive streaming; MPEG-DASH; cloud computing; optimization; Pareto front
Cite This Article
Zabrovskiy, A., Agrawal, P., Kashansky, V., Kersche, R., Timmerer, C. et al. (2022). FSpot: Fast and Efficient Video Encoding Workloads Over Amazon Spot Instances. CMC-Computers, Materials & Continua, 71(3), 5677–5697.
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.