Compression Ratio Analysis for Surveillance Video Analytics Datasets Using H.264 and H.265 Standards

Main Article Content

Kholidiyah Masykuroh

Abstract

Penelitian ini bertujuan untuk menganalisis pengaruh nilai kuantisasi terhadap rasio kompresi standar video H.264 dan H.265 dalam konteks dataset analitik video surveillance. Meningkatnya penggunaan layanan video yang mencapai 80% dari total lalu lintas internet telah menjadikan efisiensi kompresi video sangat penting, terutama dalam aplikasi surveillance. Untuk mengatasi masalah ini, penelitian ini menggunakan perangkat lunak FFmpeg pada sistem operasi Ubuntu untuk menguji berbagai nilai kuantisasi (26 dan 36) serta preset (veryslow dan ultrafast) pada sepuluh video dari berbagai sumber, termasuk rekaman CCTV dan video dari perpustakaan Matlab. Selain itu, penelitian ini mengusulkan metode kuantisasi dan teknik pengkodean yang berbeda untuk meningkatkan efisiensi kompresi. Hasil penelitian menunjukkan bahwa preset veryslow dengan nilai kuantisasi 36 memberikan hasil kompresi terbaik untuk kedua standar kompresi. Pengujian penggunaan Constant Rate Factor (CRF) juga menunjukkan rasio kompresi yang lebih baik dibandingkan kompresi lossless. Temuan ini memiliki implikasi praktis yang signifikan bagi aplikasi analitik video, terutama dalam mengurangi penggunaan bandwidth selama transmisi video. Penelitian ini menyarankan bahwa standar H.265 umumnya memberikan rasio kompresi yang lebih baik dibandingkan H.264, dengan nilai kuantisasi 36 sebagai pilihan optimal untuk menghasilkan bitstream yang lebih kecil tanpa mengorbankan kualitas video secara signifikan.

Article Details

Section
Telecommunication
Author Biography

Kholidiyah Masykuroh, Department of Telecommunication Engineering, Telkom University, Jl. DI Panjaitan No. 128, Purwokerto, 53147, Indonesia

Kholidiyah Masykuroh has served as a Teaching Staff member at the Faculty of Telecommunication and Electrical Engineering, Telkom University (Purwokerto, Indonesia) since September 2019.

References

Alam, A., Khalid, S., Khan, M. N., Afridi, T. H., Ullah, I., & Lee, Y.-K. (2020). Video Big Data Analytics in the Cloud: Research Issues and Challenges (arXiv:2011.02694). arXiv. http://arxiv.org/abs/2011.02694

Arora, S., Bhatia, K., & Amit, V. (2016). Storage optimization of video surveillance from CCTV camera. 2016 2nd International Conference on Next Generation Computing Technologies (NGCT), 710–713. https://doi.org/10.1109/NGCT.2016.7877503

Bellard, F., & Niedermayer, M. (2024). FFmpeg [Computer software]. https://johnvansickle.com/ffmpeg/

Choi, H., & Bajic, I. V. (2022). Scalable Video Coding for Humans and Machines. 2022 IEEE 24th International Workshop on Multimedia Signal Processing (MMSP), 1–6. https://doi.org/10.1109/MMSP55362.2022.9949576

Du, K., Pervaiz, A., Yuan, X., Chowdhery, A., Zhang, Q., Hoffmann, H., & Jiang, J. (2020). Server-Driven Video Streaming for Deep Learning Inference. Proceedings of the Annual Conference of the ACM Special Interest Group on Data Communication on the Applications, Technologies, Architectures, and Protocols for Computer Communication, 557–570. https://doi.org/10.1145/3387514.3405887

Du, K., Zhang, Q., Arapin, A., Wang, H., Xia, Z., & Jiang, J. (2022). AccMPEG: Optimizing Video Encoding for Video Analytics.

Galteri, L., Bertini, M., Seidenari, L., & Del Bimbo, A. (2018). Video Compression for Object Detection Algorithms. 2018 24th International Conference on Pattern Recognition (ICPR), 3007–3012. https://doi.org/10.1109/ICPR.2018.8546064

Gong, S., Liu, C., Ji, Y., Zhong, B., Li, Y., & Dong, H. (2019). Advanced Image and Video Processing Using MATLAB (Vol. 12). Springer International Publishing. https://doi.org/10.1007/978-3-319-77223-3

Ki, S., Bae, S.-H., Kim, M., & Ko, H. (2018). Learning-Based Just-Noticeable-Quantization- Distortion Modeling for Perceptual Video Coding. IEEE Transactions on Image Processing, 27(7), 3178–3193. https://doi.org/10.1109/TIP.2018.2818439

Kim, I.-K., Lee, S., Piao, Y., & Chen, J. (2014). Coding efficiency comparison of new video coding standards: HEVC vs VP9 vs AVS2 video. 2014 IEEE International Conference on Multimedia and Expo Workshops (ICMEW), 1–6. https://doi.org/10.1109/ICMEW.2014.6890700

Kim, Y., Jeong, H., Yu, J., Kim, Y., Lee, J., Jeong, S. Y., & Kim, H. Y. (2024). End-to-End Learnable Multi-Scale Feature Compression for VCM. IEEE Transactions on Circuits and Systems for Video Technology, 34(5), 3156–3167. https://doi.org/10.1109/TCSVT.2023.3302858

Klingler, N. (2023). Video Analytics in Practical AI Applications. Computer Vision. https://viso.ai/computer-vision/video-analytics-ultimate-overview/

Li, B., Akbari, M., Liang, J., & Wang, Y. (2020). Deep Learning-Based Image Compression with Trellis Coded Quantization. 2020 Data Compression Conference (DCC), 13–22. https://doi.org/10.1109/DCC47342.2020.00009

Mao, Q., Yang, T., Zhang, Y., Wang, Z., Wang, M., Wang, S., & Ma, S. (2023). Extreme Image Compression using Fine-tuned VQGANs (arXiv:2307.08265). arXiv. http://arxiv.org/abs/2307.08265

Metkar, S., & Talbar, S. (2013). Motion Estimation Techniques for Digital Video Coding. Springer India. https://doi.org/10.1007/978-81-322-1097-9

O’Byrne, M., Sugrue, M., Vibhoothi, & Kokaram, A. (2022). Impact of Video Compression on the Performance of Object Detection Systems for Surveillance Applications. 2022 18th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), 1–8. https://doi.org/10.1109/AVSS56176.2022.9959476

Otani, A., Hashiguchi, R., Omi, K., Fukushima, N., & Tamaki, T. (2022). Performance Evaluation of Action Recognition Models on Low Quality Videos. IEEE Access, 10, 94898–94907. https://doi.org/10.1109/ACCESS.2022.3204755

Qadir, S., & Kist, A. A. (2013). Video-aware measurement-based admission control. 2013 Australasian Telecommunication Networks and Applications Conference (ATNAC), 178–182. https://doi.org/10.1109/ATNAC.2013.6705377

Reich, C., Debnath, B., Patel, D., Prangemeier, T., Cremers, D., & Chakradhar, S. (2024). Deep Video Codec Control for Vision Models (arXiv:2308.16215). arXiv. http://arxiv.org/abs/2308.16215

Rerabek, M., Hanhart, P., Korshunov, P., & Ebrahimi, T. (2015). Quality evaluation of HEVC and VP9 video compression in real-time applications. 2015 Seventh International Workshop on Quality of Multimedia Experience (QoMEX), 1–6. https://doi.org/10.1109/QoMEX.2015.7148088

Richardson, I. E. (2010). The H.264 Advanced Video Compression Standard (1st ed.). Wiley. https://doi.org/10.1002/9780470989418

Richardson, I. E. G. (2003). H.264 and MPEG-4 video compression: Video coding for next generation multimedia. Wiley.

Rippel, O., Nair, S., Lew, C., Branson, S., Anderson, A. G., & Bourdev, L. (2018). Learned Video Compression (arXiv:1811.06981). arXiv. http://arxiv.org/abs/1811.06981

Sieber, C., Blenk, A., Hinteregger, M., & Kellerer, W. (2015). The cost of aggressive HTTP adaptive streaming: Quantifying YouTube’s redundant traffic. 2015 IFIP/IEEE International Symposium on Integrated Network Management (IM), 1261–1267. https://doi.org/10.1109/INM.2015.7140478

Sullivan, G. J., Ohm, J.-R., Han, W.-J., & Wiegand, T. (2012). Overview of the High Efficiency Video Coding (HEVC) Standard. IEEE Transactions on Circuits and Systems for Video Technology, 22(12), 1649–1668. https://doi.org/10.1109/TCSVT.2012.2221191

Sun, Y., Jiang, J., Sekar, V., Zhang, H., Lin, F., & Wang, N. (2014). Using Video-Based Measurements to Generate a Real-Time Network Traffic Map. Proceedings of the 13th ACM Workshop on Hot Topics in Networks, 1–7. https://doi.org/10.1145/2670518.2673870

Thyagarajan, K. S. (2010). Still Image and Video Compression with MATLAB (1st ed.). Wiley. https://doi.org/10.1002/9780470886922

Uhrina, M., Frnda, J., Sevcik, L., & Vaculik, M. (2014). Impact of H.264/AVC and H.265/HEVC Compression Standards on the Video Quality for 4K Resolution. Advances in Electrical and Electronic Engineering, 12(4), 368–376. https://doi.org/10.15598/aeee.v12i4.1216

Usman, M. A., Usman, M. R., & Shin, S. Y. (2017). Quality assessment for wireless capsule endoscopy videos compressed via HEVC: From diagnostic quality to visual perception. Computers in Biology and Medicine, 91, 112–134. https://doi.org/10.1016/j.compbiomed.2017.10.007

Valin, J.-M., & Terriberry, T. B. (2015). Perceptual Vector Quantization For Video Coding. 941009. https://doi.org/10.1117/12.2080529

Vitek, S., Krasula, L., Klima, M., Hvezda, V., & Martinez, M. H. (2013). Influence of HEVC compression on event detection in security video sequences. 2013 47th International Carnahan Conference on Security Technology (ICCST), 1–6. https://doi.org/10.1109/CCST.2013.6922066

Wang, Y., Wang, W., Zhang, J., Jiang, J., & Chen, K. (n.d.). Bridging the Edge-Cloud Barrier for Real-time Advanced Vision Analytics.

Wiegand, T., Sullivan, G. J., Bjontegaard, G., & Luthra, A. (2003). Overview of the H.264/AVC video coding standard. IEEE Transactions on Circuits and Systems for Video Technology, 13(7), 560–576. https://doi.org/10.1109/TCSVT.2003.815165

Wiki. (2023). H.264 Video Encoding Guide. https://trac.ffmpeg.org/wiki/Encode/H.264

Winkler, S. (2009). Video quality measurement standards — Current status and trends. 2009 7th International Conference on Information, Communications and Signal Processing (ICICS), 1–5. https://doi.org/10.1109/ICICS.2009.5397585

Wu, F. (2015). Advances in Visual Data Compression and Communication. CRC Press.

Xu, J., Fookes, C., & Sridharan, S. (2016). Automatic Event Detection for Signal-based Surveillance (arXiv:1612.01611). arXiv. http://arxiv.org/abs/1612.01611

Xu, J., Zhou, B., Zhang, C., Ke, N., Jin, W., & Hao, S. (2018). The impact of bitrate and GOP pattern on the video quality of H.265/HEVC compression standard. 2018 IEEE International Conference on Signal Processing, Communications and Computing (ICSPCC), 1–5. https://doi.org/10.1109/ICSPCC.2018.8567817

Zhang, B., Jin, X., Ratnasamy, S., Wawrzynek, J., & Lee, E. A. (2018). AWStream: Adaptive wide-area streaming analytics. Proceedings of the 2018 Conference of the ACM Special Interest Group on Data Communication, 236–252. https://doi.org/10.1145/3230543.3230554

Zhong, C., & Reibman, A. R. (2018). Prediction system for activity recognition with compressed video. Electronic Imaging, 30(2), 254-1-254–256. https://doi.org/10.2352/ISSN.2470-1173.2018.2.VIPC-254

Zhu, J., Chen, Z., Hao, Z., Chang, S., Zhang, L., Wang, D., Lu, H., Luo, B., He, J.-Y., Lan, J.-P., Chen, H., & Li, C. (2023). Tracking Anything in High Quality (arXiv:2307.13974). arXiv. http://arxiv.org/abs/2307.13974