Hostname: page-component-76d6cb85b7-92wsb Total loading time: 0 Render date: 2026-07-14T14:35:45.899Z Has data issue: false hasContentIssue false

Constant frame quality control for H.264/AVC

Published online by Cambridge University Press:  01 May 2013

Ching-Yu Wu
Affiliation:
Department of Computer Science and Information Engineering, National Central University, Jhongli City, Taoyuan 32001, Taiwan. Phone: +886-3-4227151 ext.35314
Po-Chyi Su*
Affiliation:
Department of Computer Science and Information Engineering, National Central University, Jhongli City, Taoyuan 32001, Taiwan. Phone: +886-3-4227151 ext.35314
Long-Wang Huang
Affiliation:
Department of Computer Science and Information Engineering, National Central University, Jhongli City, Taoyuan 32001, Taiwan. Phone: +886-3-4227151 ext.35314
Chia-Yang Chiou
Affiliation:
Department of Computer Science and Information Engineering, National Central University, Jhongli City, Taoyuan 32001, Taiwan. Phone: +886-3-4227151 ext.35314
*
Corresponding author: Po-Chyi Su Email: pochyisu@csie.ncu.edu.tw

Abstract

A frame quality control mechanism for H.264/AVC is proposed in this research. The research objective is to ensure that a suitable quantization parameter (QP) can be assigned to each frame so that the target quality of each frame will be achieved. One of the potential application is consistently maintaining  frame quality during the encoding process to facilitate video archiving and/or video surveillance. A single-parameter distortion to quantization (D–Q) model is derived by training a large number of frame blocks. The model parameter can be determined from the frame content before the exact encoding process. Given the target quality for a video frame, we can then select an appropriate QP according to the proposed D–Q model. Model refinement and QP adjustment of subsequent frames can be applied by examining the coding results of previous data. Such quality measurements as peak signal to noise ratio (PSNR) and structural similarity (SSIM) can be employed. The experimental results verify the feasibility of the proposed constant quality video coding framework.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - SA
The online version of this article is published within an Open Access environment subject to the conditions of the Creative Commons Attribution-NonCommercial-ShareAlike license . The written permission of Cambridge University Press must be obtained for commercial re-use.
Copyright
Copyright © The Authors, 2013
Figure 0

Fig. 1. PSNR variation when the fixed QP = 30 is used to encode the video Foreman.

Figure 1

Table 1. The relationship between distortion and QP.

Figure 2

Fig. 2. Partition of a frame into basic units.

Figure 3

Fig. 3. The relationship between ln (α) and β for using (a) PSNR and (b) SSIM as the measurement in I-frames.

Figure 4

Fig. 4. The preprocessed frames of Foreman by (a) resizing and (b) SVD.

Figure 5

Fig. 5. The relationship between the extracted feature and β for (a) PSNR and (b) SSIM in I-frames.

Figure 6

Fig. 6. The relationship between the extracted feature and β for (a) PSNR and (b) SSIM in P-frames.

Figure 7

Fig. 7. The flowchart of the encoding procedure.

Figure 8

Fig. 8. The comparison of coding results of Foreman by using the original model and updated model in the case of (a) PSNR in I-frames, (b) PSNR in P-frames, (c) SSIM in I-frames, and (d) SSIM in P-frames.

Figure 9

Fig. 9. The performances of constant quality (PSNR) video coding of (a) Coastguard, (b) Monitor, (c) Table, (d) Foreman, (e) Mobile, (f) Stefan, (g) News, and (h) Paris.

Figure 10

Fig. 10. The performances of constant quality (SSIM) video coding of (a) Coastguard, (b) Monitor, (c) Table, (d) Foreman, (e) Mobile, (f) Stefan, (g) News, and (h) Paris.

Figure 11

Table 2. Performance comparison of our scheme with [12].

Figure 12

Table 3. Performance comparison of our scheme with [13, 16].

Figure 13

Fig. 11. The performances of constant quality (SSIM) video coding in 4CIF videos: (a) City, (b) Crew, (c) Harbor, and (d) Soccer.

Figure 14

Fig. 12. The performances of constant quality (PSNR) video coding with B-frames (IBBPBBP…) of (a) Coastguard, (b) Monitor, (c) Table, (d) Foreman, (e) Mobile, (f) Stefan, (g) News, and (h) Paris.