Towards an Automatic Parameter-Tuning Framework for Cost Optimization on Video Encoding Cloud

The emergence of cloud encoding services facilitates many content owners, such as the online video vendors, to transcode their digital videos without infrastructure setup. Such service provider charges the customers only based on their resource consumption. For both the service provider and customers, lowering the resource consumption while maintaining the quality is valuable and desirable. Thus, to choose a cost-effective encoding parameter, configuration is essential and challenging due to the tradeoff between bitrate, encoding speed, and resulting quality. In this paper, we explore the feasibility of an automatic parameter-tuning framework, based on which the above objective can be achieved. We introduce a simple service model, which combines the bitrate and encoding speed into a single value: encoding cost. Then, we conduct an empirical study to examine the relationship between the encoding cost and various parameter settings. Our experiment is based on the one-pass Constant Rate Factor method in x264, which can achieve relatively stable perceptive quality, and we vary each parameter we choose to observe how the encoding cost changes. The experiment results show that the tested parameters can be independently tuned to minimize the encoding cost, which makes the automatic parameter-tuning framework feasible and promising for optimizing the cost on video encoding cloud.

[1]  Ricardo L. de Queiroz,et al.  Complexity-constrained H.264 HD video coding through mode ranking , 2009, 2009 Picture Coding Symposium.

[2]  Yuxin Liu,et al.  Complexity Control for Real-Time Video Coding , 2007, 2007 IEEE International Conference on Image Processing.

[3]  Rahul Vanam,et al.  Improved Rate Control and Motion Estimation for H.264 Encoder , 2007, 2007 IEEE International Conference on Image Processing.

[4]  Ashish Jagmohan,et al.  Time-efficient learning theoretic algorithms for H.264 mode selection , 2004, 2004 International Conference on Image Processing, 2004. ICIP '04..

[5]  Richard E. Ladner,et al.  Distortion-Complexity Optimization of the H.264/MPEG-4 AVC Encoder using the GBFOS Algorithm , 2007, 2007 Data Compression Conference (DCC'07).

[6]  Richard E. Ladner,et al.  H.264/MPEG-4 AVC Encoder Parameter Selection Algorithms for Complexity Distortion Tradeoff , 2009, 2009 Data Compression Conference.

[7]  Hyuk-Jae Lee,et al.  A Real-Time H.264/AVC Encoder With Complexity-Aware Time Allocation , 2010, IEEE Transactions on Circuits and Systems for Video Technology.

[8]  Jens-Rainer Ohm,et al.  Rate-Complexity-Distortion Optimization for Hybrid Video Coding , 2011, IEEE Transactions on Circuits and Systems for Video Technology.

[9]  Wen Gao,et al.  Complexity-Constrained H.264 Video Encoding , 2009, IEEE Transactions on Circuits and Systems for Video Technology.