Bug 62849 - [HSW] I/IPB MPEG2 encoding: the gap is more than 3DB compare with windows data
Summary: [HSW] I/IPB MPEG2 encoding: the gap is more than 3DB compare with windows data
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: ykzhao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 06:42 UTC by Du Yan
Modified: 2013-08-14 06:09 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Du Yan 2013-03-28 06:42:28 UTC
Test Environment
---------------------------
Libva: (staging) 2e11d2273b2974a7d1959cbcaf8db5b8e9aedd9e
Intel-driver: (staging) e943ff5ca164adfc38bb7c21ad28e454d9eb25b9


Bug Info:
----------------------
Intra frame/ P frame /B frame: the gap is more than 3DB compare with windows MPEG2 encoding data
Comment 1 Liu Tienan 2013-06-14 02:02:53 UTC
There is the same bug on master branch 

FILENAME	        QP	YSNR	        REALBITRATE
1080p_blue_sky.yuv	4	45.13625	134475
1080p_blue_sky.yuv	8	40.86401	71551
1080p_blue_sky.yuv	12	38.61037	49000
1080p_blue_sky.yuv	16	37.01179	39166
1080p_blue_sky.yuv	20	35.61716	31193
1080p_blue_sky.yuv	24	34.49092	25961
1080p_blue_sky.yuv	28	33.56823	22134
1080p_blue_sky.yuv	32	32.8528	        19919
1080p_blue_sky.yuv	36	32.13335	17632
1080p_blue_sky.yuv	40	31.50338	15875
1080p_blue_sky.yuv	44	30.95096	14402
1080p_blue_sky.yuv	48	30.43276	13227


Test Environment:
-------------------------
Platfrom:IVB
Libva:          (master)ffb82f3a85e424b869c2c1ce48251b3305e2cd61
Libva_intel_driver:             (master)01f7c2c6c5ae6321f3b3cfebc89f73dcb50b30af
Comment 2 Yang Lianyue 2013-06-20 02:49:45 UTC
The issue is exist with I/IPB frame MEPG2 encoding on HSW.

I frame MPEG2 encoding, the gaps of all files are more than 3DB compare with windows MPEG2 encoding data.
Files the gaps are more than 3DB (FAIL):
SOCCER_704x576_30_orig_02.yuv
MOBILE_352x288_30_orig_01.yuv
1080p_blue_sky.yuv
720p5994_parkrun_ter.yuv
stockholm_1280x720_604.yuv
CITY_704x576_30_orig_01.yuv
iceage_720x576_491.yuv

IPB frame MPEG2 encoding, the gaps of 6 files are more than 3DB compare with windows data. 
Files the gaps are more than 3DB (FAIL):
SOCCER_704x576_30_orig_02.yuv
MOBILE_352x288_30_orig_01.yuv
1080p_blue_sky.yuv
720p5994_parkrun_ter.yuv
CITY_704x576_30_orig_01.yuv
iceage_720x576_491.yuv

Files the gaps are less than 3DB (PASS):
stockholm_1280x720_604.yuv
Comment 3 Yang Lianyue 2013-06-20 02:54:13 UTC
(In reply to comment #2)
> The issue is exist with I/IPB frame MEPG2 encoding on HSW.

I frame MPEG2
> encoding, the gaps of all files are more than 3DB compare with windows MPEG2
> encoding data.
Files the gaps are more than 3DB (FAIL):
> SOCCER_704x576_30_orig_02.yuv
MOBILE_352x288_30_orig_01.yuv
> 1080p_blue_sky.yuv
720p5994_parkrun_ter.yuv
stockholm_1280x720_604.yuv
> CITY_704x576_30_orig_01.yuv
iceage_720x576_491.yuv

IPB frame MPEG2
> encoding, the gaps of 6 files are more than 3DB compare with windows data. 
> Files the gaps are more than 3DB (FAIL):
SOCCER_704x576_30_orig_02.yuv
> MOBILE_352x288_30_orig_01.yuv
1080p_blue_sky.yuv
720p5994_parkrun_ter.yuv
> CITY_704x576_30_orig_01.yuv
iceage_720x576_491.yuv

Files the gaps are less
> than 3DB (PASS):
stockholm_1280x720_604.yuv

Test Environment:
-------------------------
Platfrom:        HSW
Libva:           (master)ffb82f3a85e424b869c2c1ce48251b3305e2cd61
Intel_driver:    (master)01f7c2c6c5ae6321f3b3cfebc89f73dcb50b30af
Comment 4 Yang Lianyue 2013-07-01 07:42:44 UTC
The files are from windows MPEG2 encoding data with IPB.
You can download the vedio file from
"/media/encode_mpeg2_win7_64/" under Media repo.
Comment 5 ykzhao 2013-08-13 08:43:30 UTC
Based on the latest test result, it seems that the PSNR gap is less than 3db for most cases except that the gap is slightly more than 3db for one video clip under some CQP.(about 3.5db).

IMO this bug can be marked as resolved although the gap is slightly more than 3db for the specific case.

Thanks.
    Yakui
Comment 6 Ouping Zhang 2013-08-13 08:48:46 UTC
QP ranged from 34 to 48, PSNR < 3 db, about 3.5.
so the issue is closed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.