Bug 78100 - [BDW] small size in trancoding on BDW
Summary: [BDW] small size in trancoding on BDW
Status: CLOSED NOTOURBUG
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-30 03:10 UTC by zhenxiang.li
Modified: 2014-05-23 01:50 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description zhenxiang.li 2014-04-30 03:10:23 UTC
Testing env:
Libva:          (master)254f05c124094b544aaa2b92ed3bb17acf56e771
Libva_intel_driver:             (master)da837dc0334e95b77be7389771732494f6f3917a
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)7f5b9edb14245abba7cc1dad430876bee0c2ca75

Command line:
gst-launch-1.0 filesrc location=/home/MP4_h264_nHD_30FPS_580Kbps_AAC_44.1KHz_64Kbps_10sec0.7Mb_BBB-300.MP4 ! qtdemux ! vaapidecode !  vaapiencode_h264 rate-control=cbr bitrate=1000 keyframe-period=30 max-bframes=2 cabac=true ! qtmux faststart=true ! filesink location=/home/enc10.mp4

the size of enc10.mp4 generated on BDW is 196256
I tried the same command on BYT and HSW, the size is 1238520, 1239659
Comment 1 zhenxiang.li 2014-04-30 04:25:39 UTC
I test with gst-010, no reproduce
Comment 2 haihao 2014-05-05 02:44:04 UTC
gst-vaapi 1.0 bug
Comment 3 zhenxiang.li 2014-05-06 01:41:56 UTC
I've got a mistake, this issue is reproduced with PRC's gst-vaapi-010
Comment 4 zhenxiang.li 2014-05-06 08:13:30 UTC
I tried it on another BDW(GT2), no reproduce.
Comment 5 zhixinx.liu 2014-05-12 06:39:53 UTC
it has blocked with Bug 78579, and will continue to investigate this issue after Bug78579 fixed.
Comment 6 zhixinx.liu 2014-05-19 08:17:57 UTC
cannot reproduce this issue with zhenxiang's step. when running test cmd, there are some error message:
"ERROR: from element /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: GStreamer error: negotiation problem.
Additional debug info:
gstvideoencoder.c(1363): gst_video_encoder_chain (): /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0:
encoder not initialized
ERROR: pipeline doesn't want to preroll."

we are checking this with Beauchesne, Gwenole to find out it's our test command using fault or there are some issues in gstream.

But we confirmed it's not libva issue. after running following cmd on BDW and HSW
command 1:
/opt/X11R7/bin/avcenc 640 368 /home/zliu50x/smallsize/mp4.yuv avcenc.264 fb=1000 mode=2
command 2:
gst-launch-1.0 -v filesrc location=/home/zliu50x/smallsize/mp4.yuv ! videoparse format=i420 width=640 height=368 ! vaapiencode_h264 rate-control=cbr keyframe-period=30 max-bframes=2 bitrate=1000 max-bframes=2 cabac=true ! qtmux faststart=true ! filesink location=gst.264
the encoding file's sizes are very close on both BDW and HSW.
Comment 7 zhixinx.liu 2014-05-21 07:54:01 UTC
fill Bug 730494(https://bugzilla.gnome.org/show_bug.cgi?id=730494) to track this issue.
Comment 8 Focus.Luo 2014-05-23 01:50:39 UTC
Closed this issue, traced by the Bug730494.


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.