Bug 85262 - [SNB|IVB|BYT|HSW|BDW|BSW][Media][Encode]garbage on screen when playing 4k video file that encoded by avcenc
Summary: [SNB|IVB|BYT|HSW|BDW|BSW][Media][Encode]garbage on screen when playing 4k vid...
Status: RESOLVED FIXED
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-10-21 01:30 UTC by zhixinx.liu
Modified: 2015-11-23 17:03 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description zhixinx.liu 2014-10-21 01:30:16 UTC
playing 4k video file get garbage data on screen. and the 4k video file was generated by avcenc.
Not regression issue, even old version can reproduce this issue.

Reproduce Step:
1.run command "/opt/X11R7/bin/avcenc 3840 2160 /home/PnP_Stream/4k_2013.yuv 4k_2013_avc.h264 qp=30 mode=2" to get a 4k video h264 file.
2.run command "mplayer -vo vaapi -va vaapi ./4k_2013_avc.h264 -fps 30" to play video file.
3.you can see garbage on screen

using gst-launch-1.0 cannot find this issue. command:
gst-launch-1.0 -v filesrc location=/home/PnP_Stream/4k_2013.yuv ! videoparse format=i420 width=3840 height=2160 !  vaapiencode_h264 rate-control=cqp keyframe-period=30 max-bframes=2 init-qp=30 cabac=true ! qtmux faststart=true ! filesink location=./4k_2013.264
Comment 1 zhixinx.liu 2014-10-28 05:58:26 UTC
using libyami encode tool also cannot reproduce this issue.

test command:
yamiencode -i /home/PnP_Stream/4k_2013.yuv -W 3840 -H 2160 -o 4k.264 -s i420
Comment 2 haihao 2015-11-23 17:03:30 UTC
cases issue. The issue was fixed on staging branch years ago and was cherry-picked to master branch this yes. 

commit 6712547f112e008335e637d009d714bc7debab79
Author: Xiang, Haihao <haihao.xiang@intel.com>
Date:   Tue Sep 10 12:22:39 2013 +0800

    avcenc: support large source file


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.