Skip to main content
Log in

Video transcoding at the edge: cost and feasibility perspective

  • Published:
Cluster Computing Aims and scope Submit manuscript

Abstract

The developments in smartphones, high data rates, and substantial video data traffic have increased the burden on cellular networks. Consequently, this burden significantly affects the Quality of Experience of the cellular users leading to an increased network delay for the diverse video content requests. To accommodate the requests from different users with varying requirements, one of the promising solutions is to cache videos in the near vicinity of users and transcode them online. The online transcoding is performed at the edge level of the cellular network to minimize the network delay and use the bandwidth efficiently. However, the feasibility of online transcoding is significantly affected by various factors, such as the codecs, configurations of virtual machines, the cost incurred, and estimated time to complete the transcoding task, among other parameters. Although online transcoding is discussed in the literature adequately, few studies discuss the feasibility of online transcoding while considering all the aforementioned critical parameters. This study examined the effects of a diverse range of critical parameters on the feasibility of online transcoding. We performed extensive simulations on the local machine environment to study various possible factors affecting online transcoding in detail. We then transcoded the same videos on Amazon Elastic Cloud Computing (EC2) Virtual Machines (VMs) to further study realistic cloud settings with fine-tuned configurations. Our experiments show the superior performance of some codecs and the effects of machine configurations on transcoding tasks duration. We aim to provide a benchmark for practitioners and researchers considering online transcoding in real-time multimedia applications.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20

Similar content being viewed by others

Data availability

Enquiries about data availability should be directed to the authors.

Notes

  1. https://support.google.com/youtube/answer/1722171.

  2. https://faq.dailymotion.com/hc/en-us/articles/115008879507-Video-Specifications.

  3. https://vimeo.zendesk.com/hc/en-us/articles/360056550451-Video-and-audio-compression-guidelines.

  4. https://1drv.ms/u/s!AqNUame0WsVKj-oGPMsqiaPDajOMKQ?e=EyebL8.

  5. https://media.xiph.org/.

  6. https://support.google.com/youtube/answer/2853702?hl=en&ref_topic=9257892.

  7. https://developers.google.com/media/vp9/settings/vod/.

  8. https://pern-my.sharepoint.com/:u:/g/personal/syed_4301979_talmeez_pk/EbgtlPLSxjpEtt2nppM4osYBm6so3UVx5N9H9-fEl9IjmA?e=DpIvlX.

  9. https://pern-my.sharepoint.com/:f:/g/personal/syed_4301979_talmeez_pk/EgVvrH9KnUBErac_aV_0SSkBIxb1-67rjFS1lAVHpB_OZw?e=yBCwP2.

References

  1. Agrawal, P., Zabrovskiy, A., Ilangovan, A., Timmerer, C., Prodan, R.: Fastttps: fast approach for video transcoding time prediction and scheduling for http adaptive streaming videos. Clust. Comput. 24(3), 1605–1621 (2021)

    Article  Google Scholar 

  2. Ahmad, I., Wei, X., Sun, Y., Zhang, Y.Q.: Video transcoding: an overview of various techniques and research issues. IEEE Trans. Multimed. 7(5), 793–804 (2005)

    Article  Google Scholar 

  3. Amazon: Amazon elastic transcoder. https://aws.amazon.com/elastictranscoder/

  4. Baccour, E., Erbad, A., Mohamed, A., Bilal, K., Guizani, M.: Proactive video chunks caching and processing for latency and cost minimization in edge networks. In: 2019 IEEE Wireless Communications and Networking Conference (WCNC), pp. 1–7. IEEE (2019)

  5. Barman, N., Martini, M.G.: H. 264/mpeg-avc, h. 265/mpeg-hevc and vp9 codec comparison for live gaming video streaming. In: 2017 Ninth International Conference on Quality of Multimedia Experience (QoMEX), pp. 1–6. IEEE (2017)

  6. Bilal, K., Baccour, E., Erbad, A., Mohamed, A., Guizani, M.: Collaborative joint caching and transcoding in mobile edge networks. J. Netw. Comput. Appl. 136, 86–99 (2019)

    Article  Google Scholar 

  7. Bilal, K., Erbad, A.: Edge computing for interactive media and video streaming. In: 2017 Second International Conference on Fog and Mobile Edge Computing (FMEC), pp. 68–73. IEEE (2017)

  8. Bilal, K., Erbad, A.: Impact of multiple video representations in live streaming: a cost, bandwidth, and QOE analysis. In: 2017 IEEE International Conference on Cloud Engineering (IC2E), pp. 88–94. IEEE (2017)

  9. Bilal, K., Erbad, A., Hefeeda, M.: Crowdsourced multi-view live video streaming using cloud computing. IEEE Access 5, 12635–12647 (2017)

    Article  Google Scholar 

  10. Bilal, K., Erbad, A., Hefeeda, M.: Qoe-aware distributed cloud-based live streaming of multisourced multiview videos. J. Netw. Comput. Appl. 120, 130–144 (2018)

    Article  Google Scholar 

  11. Brown, G.: Mobile edge computing use cases and deployment options. Juniper White Paper pp. 1–10 (2016)

  12. Chen, X., Xu, C., Wang, M., Wu, Z., Yang, S., Zhong, L., Muntean, G.M.: A universal transcoding and transmission method for livecast with networked multi-agent reinforcement learning. In: IEEE INFOCOM 2021-IEEE Conference on Computer Communications, pp. 1–10. IEEE (2021)

  13. Cheng, R., Wu, W., Lou, Y., Chen, Y.: A cloud-based transcoding framework for real-time mobile video conferencing system. In: 2014 2nd IEEE International Conference on Mobile Cloud Computing, Services, and Engineering, pp. 236–245. IEEE (2014)

  14. De Cock, J., Mavlankar, A., Moorthy, A., Aaron, A.: A large-scale video codec comparison of x264, x265 and libvpx for practical VOD applications. In: Applications of Digital Image Processing XXXIX, vol. 9971, p. 997116. International Society for Optics and Photonics (2016)

  15. Dutta, S., Taleb, T., Frangoudis, P.A., Ksentini, A.: On-the-fly qoe-aware transcoding in the mobile edge. In: 2016 IEEE Global Communications Conference (GLOBECOM), pp. 1–6. IEEE (2016)

  16. Farhad, S., Bappi, M.S.I., Ghosh, A.: Dynamic resource provisioning for video transcoding in IAAS cloud. In: 2016 IEEE 18th International Conference on High Performance Computing and Communications, IEEE 14th International Conference on Smart City, IEEE 2nd International Conference on Data Science and Systems (HPCC/SmartCity/DSS), pp. 380–384. IEEE (2016)

  17. Gao, G., Wen, Y., Westphal, C.: Dynamic resource provisioning with QoS guarantee for video transcoding in online video sharing service. In: Proceedings of the 24th ACM international conference on Multimedia, pp. 868–877 (2016)

  18. Gao, G., Zhang, W., Wen, Y., Wang, Z., Zhu, W.: Towards cost-efficient video transcoding in media cloud: insights learned from user viewing patterns. IEEE Trans. Multimed. 17(8), 1286–1296 (2015)

    Article  Google Scholar 

  19. Gao, G., Zhang, W., Wen, Y., Wang, Z., Zhu, W., Tan, Y.P.: Cost optimal video transcoding in media cloud: Insights from user viewing pattern. In: 2014 IEEE International Conference on Multimedia and Expo (ICME), pp. 1–6. IEEE (2014)

  20. Guo, H., Liu, J., Zhang, J., Sun, W., Kato, N.: Mobile-edge computation offloading for ultradense IoT networks. IEEE Internet Things J. 5(6), 4977–4988 (2018)

    Article  Google Scholar 

  21. He, Q., Zhang, C., Liu, J.: Crowdtranscoding: online video transcoding with massive viewers. IEEE Trans. Multimed. 19(6), 1365–1375 (2017)

    Article  Google Scholar 

  22. Heikkinen, A., Sarvanko, J., Rautiainen, M., Ylianttila, M.: Distributed multimedia content analysis with mapreduce. In: 2013 IEEE 24th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), pp. 3497–3501. IEEE (2013)

  23. Index, C.V.N.: global mobile data traffic forecast update, 2017–2022. Cisco White paper (2019)

  24. Jokhio, F., Deneke, T., Lafond, S., Lilius, J.: Bit rate reduction video transcoding with distributed computing. In: 2012 20th euromicro international conference on parallel, distributed and network-based processing, pp. 206–212. IEEE (2012)

  25. Kim, M., Han, S., Cui, Y., Lee, H., Cho, H., Hwang, S.: Clouddmss: robust hadoop-based multimedia streaming service architecture for a cloud computing environment. Clust. Comput. 17(3), 605–628 (2014)

    Article  Google Scholar 

  26. Lee, D.H., Dovrolis, C., Begen, A.C.: Caching in http adaptive streaming: friend or foe? In: Proceedings of Network and Operating System Support on Digital Audio and Video Workshop, p. 31. ACM (2014)

  27. Li, X., Salehi, M.A., Bayoumi, M., Tzeng, N.F., Buyya, R.: Cost-efficient and robust on-demand video transcoding using heterogeneous cloud services. IEEE Trans. Parallel Distrib. Syst. 29(3), 556–571 (2017)

    Article  Google Scholar 

  28. Mach, P., Becvar, Z.: Mobile edge computing: a survey on architecture and computation offloading. IEEE Commun. Surv. Tutor. 19(3), 1628–1656 (2017)

    Article  Google Scholar 

  29. Mengzhe, L., Xiuhua, J., Xiaohua, L.: Analysis of h. 265/hevc, h. 264 and vp9 coding efficiency based on video content complexity. In: 2015 IEEE International Conference on Computer and Communications (ICCC), pp. 420–424. IEEE (2015)

  30. Pääkkönen, P., Heikkinen, A., Aihkisalo, T.: Online architecture for predicting live video transcoding resources. J. Cloud Comput. 8(1), 1–24 (2019)

    Article  Google Scholar 

  31. Pedersen, H.A., Dey, S.: Enhancing mobile video capacity and quality using rate adaptation, ran caching and processing. IEEE/ACM Trans. Netw. 24(2), 996–1010 (2015)

    Article  Google Scholar 

  32. Shuja, J., Bilal, K., Alasmary, W., Sinky, H., Alanazi, E.: Applying machine learning techniques for caching in next-generation edge networks: a comprehensive survey. J. Netw. Comput. Appl. 181, 103005 (2021). https://doi.org/10.1016/j.jnca.2021.103005

    Article  Google Scholar 

  33. Tange, O., et al.: Gnu parallel-the command-line power tool. USENIX Mag. 36(1), 42–47 (2011)

    Google Scholar 

  34. Tran, T.X., Hajisami, A., Pandey, P., Pompili, D.: Collaborative mobile edge computing in 5g networks: new paradigms, scenarios, and challenges. IEEE Commun. Mag. 55(4), 54–61 (2017)

    Article  Google Scholar 

  35. Tran, T.X., Pandey, P., Hajisami, A., Pompili, D.: Collaborative multi-bitrate video caching and processing in mobile-edge computing networks. In: 2017 13th Annual Conference on Wireless On-Demand Network Systems and Services (WONS), pp. 165–172. IEEE (2017)

  36. Tran, T.X., Pompili, D.: Octopus: a cooperative hierarchical caching strategy for cloud radio access networks. In: 2016 IEEE 13th International Conference on Mobile Ad Hoc and Sensor Systems (MASS), pp. 154–162. IEEE (2016)

  37. Vetro, A., Christopoulos, C., Sun, H.: Video transcoding architectures and techniques: an overview. IEEE Signal Process. Mag. 20(2), 18–29 (2003)

    Article  Google Scholar 

  38. Wang, F., Liu, J., Chen, M.: Calms: cloud-assisted live media streaming for globalized demands with time/region diversities. In: 2012 Proceedings IEEE INFOCOM, pp. 199–207. Citeseer (2012)

  39. Wu, Y., Wu, C., Li, B., Lau, F.: vskyconf: Cloud-assisted multi-party mobile video conferencing. In: Proceedings of the Second ACM SIGCOMM Workshop on Mobile Cloud Computing, pp. 33–38. ACM (2013)

  40. Zhao, Y., Jiang, H., Zhou, K., Huang, Z., Huang, P.: Meeting service level agreement cost-effectively for video-on-demand applications in the cloud. In: IEEE INFOCOM 2014-IEEE Conference on Computer Communications, pp. 298–306. IEEE (2014)

  41. Zhu, Y., He, Q., Liu, J., Li, B., Hu, Y.: When crowd meets big video data: cloud-edge collaborative transcoding for personal livecast. IEEE Trans. Netw. Sci. Eng. 7(1), 42–53 (2018)

    Article  Google Scholar 

Download references

Acknowledgements

This publication was made possible by NPRP Grant 8-519-1-108 from the Qatar National Research Fund (a member of the Qatar Foundation). The findings achieved herein are solely the responsibility of the author(s) Syed Muhammad Ammar Hassan Bukhari, Kashif Bilal, Aiman Erbad, Amr Mohamed, and Mohsen Guizani.

Funding

This publication was made possible by NPRP Grant 8-519-1-108 from the Qatar National Research Fund (a member of the Qatar Foundation).

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to this study.

Corresponding author

Correspondence to Kashif Bilal.

Ethics declarations

Conflict of interest/Competing interests

NA.

Informed consent

NA.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bukhari, S.M.A.H., Bilal, K., Erbad, A. et al. Video transcoding at the edge: cost and feasibility perspective. Cluster Comput 26, 157–180 (2023). https://doi.org/10.1007/s10586-022-03558-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-022-03558-7

Keywords

Navigation