Bug 75590 - [BDW][H264Enc] H264 encoded file has different size when encoding under the same condition
Summary: [BDW][H264Enc] H264 encoded file has different size when encoding under the s...
Status: CLOSED INVALID
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 03:27 UTC by ZhaoShengyan
Modified: 2014-03-28 02:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description ZhaoShengyan 2014-02-28 03:27:41 UTC
Testing Env:
==================================
BIOS:
BDW2: stepping 2 (BIOS stepping C) (id=0x1606 (rev 04)), Lynx Point 00 (A0 stepping) and Host bridge id=0x1604 (rev 04) 2Cores/4Thread, CPU Genuine Intel(R) CPU 0000 @ 1.20GHz, GT1 200MHz; BIOS version: BDW-EIR1.86C.0053.R01.13112042022; KSC version: V1.05; 
Arch: x86_64
Kernel_version: 3.13.0_drm-intel-nightly_1be8f2_20140225+
Libdrm: (master)libdrm-2.4.52-4-gc5de5abbd90333fe1359283fb3a5e457b0f389f3
Mesa: (master)73c78c514f8db0605c0deb85382003d0f66b5525
Xserver: (master)xorg-server-1.15.0-631-g0f10cfd4b903d4db293ec47c8a9a0d8b33965803
Xf86_video_intel: (master)2.99.910-68-gff49944928c7399527b11bb0da7699711591c21a
Libva: (staging)8be6d274d931d8041934efa63caaee75a5984755
Libva_intel_driver: (staging)bd630edd844b88ea543a027654db296ff7da16cd
Ffmpeg: (master)fff526230148b3a67c04c328eecb16efac654e68
Mplayer: (hwaccel-vaapi)1923fa10ed77bbf8408f2ce312d85a97dab1f0f3
Glib: (master)e7bde4acf4499d353780b696435e1a43dee66c54
Gstreamer10: (1.0)4e880d4d1e151ea64f83c28b5c3e1bbc06c57903
Gst_plugins_base10: (1.0)2dd3f028c1e6dea799d7496639f53220818b20b1
Gst_plugins_good10: (1.0)643d425f51f81b56deec16c01162637546708ee5
Gst_plugins_bad10: (1.0)0587ab41b4f9979e9cfc11011ed5c970569ee3d3
Gst_plugins_ugly10: (1.0)c7c911b8320576429e4a4234a1e29ec7436e6814
Gst_plugins_vaapi10: (master)e52d394b9e1e7124a141cc26675068e6fc2446a9
Testing Steps:
==================================
1. Writing 4 scripts, named encode1.sh, encode2.sh, encode3.sh, encode4.sh, which only output name different.
The content for encode1.sh is as follows:
#!/bin/bash
source /root/media_tools/gst10.env
rm -rf /root/.cache/gstreamer-1.0/
rm -rf '/root/.gstreamer-0.10/*'
gst-launch-1.0 -v filesrc location=/root/media_tools/encoder/encoderbitstreams/1080p_blue_sky.yuv 'Unable to render embedded object: File (' videoparse format=i420 width=1920 height=1080 ') not found.' vaapiencode_h264 rate-control=cqp bitrate=0 keyframe-period=30 max-bframes=2 init-qp=28 num-slices=0 cabac=false dct8x8=false 'Unable to render embedded object: File (' qtmux faststart=true ') not found.' filesink location=/tmp/1080p_blue_sky.yuv1.264
For encode2.sh, only changed at output "filesink location=/tmp/1080p_blue_sky.yuv2.264", the situation is the same with encode3.sh and encode4.sh.
2. Start 4 terminal and run following command at each of the terminals:
. encode1.sh
. encode2.sh
. encode3.sh
. encode4.sh
We found BDW02 can concurrent encoding 4 streams, but the size of the 4 streams are different:
14555275 1080p_blue_sky.yuv1.264
14520283 1080p_blue_sky.yuv2.264
14696860 1080p_blue_sky.yuv3.264
14676573 1080p_blue_sky.yuv4.264
Comparing with IVB with the same command, we got the same output:
12241818 1080p_blue_sky.yuv1.264
12241818 1080p_blue_sky.yuv2.264
B.T.W. We played the 4 different sized output streams with mplayer, they can play normally.
Reproduce Rate:
==================================
100%
Comment 1 ykzhao 2014-03-03 01:40:23 UTC
I can't reproduce this bug. So this bug will be marked as "invalid" and closed.

Thanks.
    Yakui
Comment 2 ykzhao 2014-03-28 02:55:51 UTC
This bug will be 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.