相同编码参数HEVC视频重压缩检测
Detection of double compression for HEVC videos with the same coding parameters
- 2020年25卷第5期 页码:879-889
收稿:2019-07-19,
修回:2019-10-24,
录用:2019-10-31,
纸质出版:2020-05-16
DOI: 10.11834/jig.190381
移动端阅览

浏览全部资源
扫码关注微信
收稿:2019-07-19,
修回:2019-10-24,
录用:2019-10-31,
纸质出版:2020-05-16
移动端阅览
目的
2
视频重压缩是视频取证技术的重要辅助性手段。目前,不同编码参数进行压缩的高效视频编码(high efficiency video coding,HEVC)视频重压缩检测已经取得较高的准确度,而在前后采用相同编码参数压缩过程中,HEVC视频重压缩操作的痕迹非常小,检测难度大。为此,提出了在相同编码参数下基于视频质量下降机制的视频重压缩检测算法。
方法
2
在经过多次相同编码参数压缩后,可以观察到视频的质量趋于不变,利用视频质量下降程度可以区分单压缩视频和重压缩视频。本文提出I帧预测单元模式(intra-coded picture prediction unit mode,IPUM)和P帧预测单元模式(predicted picture prediction unit mode,PPUM)两类视频特征,即分别从I帧和P帧中的亮度分量(Y)提取预测单元(prediction unit,PU)的模式。从待测视频中提取IPUM和PPUM特征,将HEVC视频以相同的编码参数压缩3次,每次提取上述特征。由于I帧、P帧中不同尺寸的PU数量相差较大,应选取数量较多的PU作为统计特征。统计平均每一I帧、P帧在相同位置第
n
次压缩和第
n
+1次压缩不同的PU模式,构成6维特征集送入支持向量机(support vector machine,SVM)进行分类。
结果
2
本文方法在CIF(common intermediate format)数据集、720p数据集、1 080p数据集的平均检测准确度分别为95.45%,94.8%,95.53%。在不同的图像组(group of pictures,GOP)和帧删除的情况下均具有较好的表现。
结论
2
本文方法利用在相同位置连续两次压缩不同的PU模式数来揭示视频质量下降的规律,具有较高的准确度,且在不同情况下均有较好表现。
Objective
2
Multimedia forensics and copyright protection have become hot issues in the society. The widespread use of portable cameras
mobile phones
and surveillance cameras has led to an explosive growth in the amount of digital video data. Although people enjoy the convenience given by the popularity of digital multimedia
they also experience considerable security problems. Double compression for digital video file is a necessary procedure for malicious video content modification. The detection for double compression is also an important auxiliary measure for video content forensics. Content-tampered video inevitably undergo two or more re-compression operations. If the video test is judged to have undergone multiple re-compressions
it is more likely to undergo content tampering operation. At present
high efficiency video coding (HEVC) video double compression detection with different coding parameters achieves high accuracy. However
in the compression process with the same coding parameters
the trace of HEVC video double compression is very small and the detection is considerably more difficult. For most attackers
their concern is focused on the modification of video content. With the video stream containing the video parameter set and the image parameter set
the video editing software generally uses the same parameters for re-compression as default setting. This study proposes a detection algorithm for video double compression with the same coding parameters. The proposed algorithm is based on the video quality degradation mechanism.
Method
2
After multiple compression times with the same coding parameters
the video quality tends to be unchanged. The single compressed and double compressed videos can be distinguished by the degree of video quality degradation. Video coding is based on rate-distortion optimization to balance the bitrate and distortion to choose the optimal parameters for the encoder. When the video is compressed with the same coding parameters
the trace of video re-compression operations is extremely little because of the slight changes in division mode of the coding unit to the prediction unit (PU) and the little influence on the distribution of PU size type. Thus
the double compression with the same parameters is more difficult to detect. Given that the transform quantization coding process of each coding unit is independent
the quantization error and its distribution characteristics are independent
too. The discontinuous boundaries of adjacent blocks will affect the mode selection of intra-prediction. In the process of motion compensation prediction
the predicted values of adjacent
blocks come from different positions of different images
which results in the numerical discontinuity of the predicted residual at the block boundary. It will affect the selection of motion vectors predicted between frames and reference pictures. This study proposes a detection algorithm based on two kinds of video features: the I frame PU mode (intra-coded picture prediction unit mode
IPUM) and the P frame PU mode (predicted picture prediction unit mode
PPUM). These video features are extracted from the luminance component (Y) in I frame and P frame
respectively. First
the IPUM and PPUM features are extracted from the tested HEVC videos. Then
the video is compressed three times with the same coding parameters. In this study
the above features are repetitively extracted for each compressing time. A larger number of PU should be selected as the statistical feature because the numbers of PU of different sizes in I frame and P frame are quite different. Finally
the average different PU modes of the
n
th compression and the (
n
+1)th compression of each I frame and P frame at the same position are counted to form a 6-dimensional feature set
which is sent to a support vector machine (SVM) for classification.
Result
2
The experiment is composed of three resolution video sets: common intermediate format (CIF) (352×288 pixels)
720p (1 280×720 pixels)
and 1 080p (1 920×1 080 pixels). To increase the number of video samples
each test sequence is clipped into smaller video clips. Each video clip contains 100 frames. If the video exceeds 1 000 frames
only the first 1 000 frames are considered to generate the samples in our experiments. Accordingly
a total of 132 CIF-video sequence segments
87 720p-video sequence segments
and 98 1080p-video sequence segments are obtained. For each set
4/5 positive samples and their corresponding negative samples are randomly selected as the training set
while the rest are used as the test set. The binary classification is applied by using the SVM classifier with radial basis function kernel. The optimized parameters
gamma and cost
are determined by using grid search with fivefold cross validation. The final detection accuracy values are collected by averaging the accuracy results from 30 repetitions of the experimental test
where the training and testing data are randomly selected for each time. Considering the computational complexity of the experiment
the repetition of re-compression for each experimental test is especially important. With the increase in the times of re-compression
the computational complexity of video encoding and decoding will increase linearly. However
the classification accuracy is not significantly improved. Thus
the repetition of re-compression is finally adjusted to three. The average detection accuracies for the different video test datasets
CIF
720p
and 1 080p
are 95.45%
94.8%
and 95.53%
respectively. In addition
video compression is usually affected by coding parameters. Group of pictures (GOP) is the basic coding unit of video compression. The interval of GOP has a significant impact on video quality owing to the error propagation in the inter-coding process. In the CIF dataset
the detection accuracy of this method with different GOP reaches more than 90%. With the increase of GOP
the detection accuracy will decline slightly. The final experimental test is regarding frame deletion
which is a common operation of video tampering. In the CIF dataset
the detection accuracy of video re-compression with 10 consecutive deleted frames can maintain above 88%
which means the proposed method is robust to frame deletion.
Conclusion
2
In this study
the law of video quality degradation is revealed by the changed number of different PU modes in the same position of I frame and P frame. In sum
our proposed method clearly performs well in different test situations. The detection accuracy of the proposed method can reach high rates of different GOP settings
video resolutions
and frame deletion rate.
Bian S, Li H L, Gu T J and Kot A C. 2019. Exposing video compression history by detecting transcoded HEVC videos from AVC coding. Symmetry, 11(1):#67[DOI:10.3390/sym11010067]
Chang C C and Lin C J. 2011. LIBSVM:a library for support vector machines. ACM Transactions on Intelligent Systems and Technology (TIST), 2(3):#27[DOI:10.1145/1961189.1961199]
Chen W B, Yang G B, Chen R C and Zhu N B. 2011. Digital video passive forensics for its authenticity and source. Journal on Communications, 32(6):177-183
陈威兵, 杨高波, 陈日超, 朱宁波. 2011.数字视频真实性和来源的被动取证.通信学报, 32(6):177-183[DOI:10.3969/j.issn.1000-436X.2011.06.024]
Costanzo A and Barni M. 2016. Detection of double AVC/HEVC encoding//Proceedings of the 24th European Signal Processing Conference. Budapest: IEEE: 2245-2249[ DOI: 10.1109/EUSIPCO.2016.7760648 http://dx.doi.org/10.1109/EUSIPCO.2016.7760648 ]
Elrowayati A A, Abdullah M F L, Manaf A A and Alfagi A S. 2017. Tampering detection of double-compression with the same quantization parameter in HEVC video streams//Proceedings of the 7th IEEE International Conference on Control System, Computing and Engineering. Penang: IEEE: 174-179[ DOI: 10.1109/ICCSCE.2017.8284400 http://dx.doi.org/10.1109/ICCSCE.2017.8284400 ]
Feng C H, Xu Z Q, Zheng X H and Jiang L. 2014. Digital visual media forensics. Journal on Communications, 35(4):155-165
冯春晖, 徐正全, 郑兴辉, 蒋力. 2014.数字可视媒体取证.通信学报, 35(4):155-165[DOI:10.3969/j.issn.1000-436x.2014.04.018]
He P S, Jiang X H, Sun T F and Wang S L. 2017. Detection of double compression in MPEG-4 videos based on block artifact measurement. Neurocomputing, 228:84-96[DOI:10.1016/j.neucom.2016.09.084]
Huang M L, Wang R D, Xu J, Xu D W and Li Q. 2016. Detection of double compression for HEVC videos based on the co-occurrence matrix of DCT coefficients//Proceedings of the 14th International Workshop on Digital Watermarking. Tokyo: Springer: 61-71[ DOI: 10.1007/978-3-319-31960-5_6 http://dx.doi.org/10.1007/978-3-319-31960-5_6 ]
Jia R S, Li Z H, Zhang Z Z and Li D D. 2016. Double HEVC compression detection with the same QPs based on the PU numbers//Proceedings of the 3rd Annual International Conference on Information Technology and Applications. Hangzhou: EDP Sciences: #02010[ DOI: 10.1051/itmconf/20160702010 http://dx.doi.org/10.1051/itmconf/20160702010 ]
Jiang X H, He P S, Sun T F, Xie F and Wang S L. 2018. Detection of double compression with the same coding parameters based on quality degradation mechanism analysis. IEEE Transactions on Information Forensics and Security, 13(1):170-185[DOI:10.1109/TIFS.2017.2745687]
Jiang X H, Xu Q, Sun T F, Li B and He P S. 2019. Detection of HEVC double compression with the same coding parameters based on analysis of intra coding quality degradation process. IEEE Transactions on Information Forensics and Security, 15:250-263[DOI:10.1109/TIFS.2019.2918085]
Lainema J, Bossen F, Han W J, Min J and Ugur K. 2012. Intra coding of the HEVC standard. IEEE Transactions on Circuits and Systems for Video Technology, 22(12):1792-1801[DOI:10.1109/TCSVT.2012.2221525]
Li H and Chao H Y. Gitl HEVC/H.265 Analyzer[EB/OL ] . (2016-12-09)[2019-05-18 ] . https://github.com/lheric/GitlHEVCAnalyzer https://github.com/lheric/GitlHEVCAnalyzer
Li Q, Wang R D and Xu D W. 2019. Detection of double compression in HEVC videos based on TU size and quantised DCT coefficients. IET Information Security, 13(1):1-6[DOI:10.1049/iet-ifs.2017.0555]
Li Z H, Jia R S, Zhang Z Z, Liang X Y and Wang J W. 2017. Double HEVC compression detection with different bitrates based on co-occurrence matrix of PU types and DCT coefficients//Proceedings of the 4th Annual International Conference on Information Technology and Applications. Guangzhou: EDP Sciences: #01020[ DOI: 10.1051/itmconf/20171201020 http://dx.doi.org/10.1051/itmconf/20171201020 ]
Liang X Y, Li Z H, Yang Y Y, Zhang Z Z and Zhang Y. 2018. Detection of double compression for HEVC videos with fake bitrate. IEEE Access, 6:53243-53253[DOI:10.1109/ACCESS.2018.2869627]
Sullivan G J, Ohm J R, Han W J and 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[DOI:10.1109/TCSVT.2012.2221191]
Xu J Y, Su Y T and Liu Q Z. 2013. Detection of double MPEG-2 compression based on distributions of DCT coefficients. International Journal of Pattern Recognition and Artificial Intelligence, 27(1):#1354001[DOI:10.1142/S0218001413540013]
Xu Q Y, Sun T F, Jiang X H and Dong Y. 2017. HEVC double compression detection based on SN-PUPM feature//Proceedings of the 16th International Workshop on Digital Watermarking. Magdeburg: Springer: 3-17[ DOI: 10.1007/978-3-319-64185-0_1 http://dx.doi.org/10.1007/978-3-319-64185-0_1 ]
Yang R, Luo W Q and Huang J W. 2013. Multimedia forensics. Science China:Information Science, 43(12):1654-1672
杨锐, 骆伟祺, 黄继武. 2013.多媒体取证.中国科学:信息科学, 43(12):1654-1672[DOI:10.1360/N112013-00059]
Yao Y, Hu W T, Ren Y Z and Weng S W. 2018. Detection and localization of digital video regional tampering. Journal of Image and Graphics, 23(6):779-791
姚晔, 胡伟通, 任一支, 翁韶伟. 2018.数字视频区域篡改的检测与定位.中国图象图形学报, 23(6):779-791[DOI:10.11834/jig.170453]
Zhang Z Z, Hou J J, Zhang Y, Ye J Y and Shi Y Q. 2017. Detecting multiple H.264/AVC compressions with the same quantisation parameters. IET Information Security, 11(3):152-158[DOI:10.1049/iet-ifs.2015.0361]
相关文章
相关作者
相关机构
京公网安备11010802024621