Bug 55348 - [gst-vaapi] MPEG2 decoding-Lost frames when decoding sony-ct1.bits
Summary: [gst-vaapi] MPEG2 decoding-Lost frames when decoding sony-ct1.bits
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jocelyn Li
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-26 07:00 UTC by Du Yan
Modified: 2012-12-28 06:16 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Du Yan 2012-09-26 07:00:36 UTC
Environment:
--------------
libva:
commit a78128ac9a52b7567296e076c3cd9e5b7ea640ad
Author: Jonathan Bian <jonathan.bian@intel.com>
Date:   Sun Sep 16 21:26:00 2012 -0700


intel-driver:
commit eb5f7f88fbd9085c3346a6b00698cef091e2ece2
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Wed Aug 29 18:37:25 2012 +0200


gstreamer-vaapi :
commit 49dd2800459af462c608ef3bfabd6fb6093711e0
Author: Wind Yuan <feng.yuan@intel.com>
Date:   Fri Sep 21 17:03:35 2012 +0800


Bug Info:
--------------
There are 60 frames with sony-ct1.bits file, only 44 frames can be decoded.


Reproduce steps:
----------------
1. xinit &
2. gst-launch-0.10 playbin2 video-sink="vaapisink sync=false" uri=file:///home/MPEG2_conformance/bitstreams/Sarnof_Streams/sony-ct1.bits

Issue can be reproduced with the below files:

sony-ct2.bits
tcela-10.bits
tcela-14.bits
tcela-9.bits
Comment 1 Du Yan 2012-10-15 03:04:40 UTC
Issue still can be reproduced

libva:
commit 86484495155e65fd8ac33ed3ede43fb42defd966
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Tue Oct 9 06:21:59 2012 +0200


intel driver:
commit f557dd6ad06c31bcf787468e804c948ecc4cf39b
Author: Zhao Halley <halley.zhao@intel.com>
Date:   Fri Sep 21 10:30:55 2012 +0800


gstreamer-vaapi:
commit 49dd2800459af462c608ef3bfabd6fb6093711e0
Author: Wind Yuan <feng.yuan@intel.com>
Date:   Fri Sep 21 17:03:35 2012 +0800
Comment 2 Gwenole Beauchesne 2012-10-22 15:42:43 UTC
Hi, how do you count the number of decoded frames? Feng normally fixed this issue and this was propagated to git master branch.
Comment 3 cc 2012-10-23 01:24:37 UTC
(In reply to comment #2)
> Hi, how do you count the number of decoded frames? Feng normally fixed this
> issue and this was propagated to git master branch.

we add "printf("  %s, %s, %d\n", __FILE__, __FUNCTION__, __LINE__)" in the
function "vaPutSurface", i.e., play a 50-frames MP4 file with gst-launch, and
there are less than 50 vaPutSurface print in log.
Comment 4 Du Yan 2012-11-14 03:05:39 UTC
Libva (staging) c59c512df262cdc44fb6e9101621f246eda176df
Inter-driver (staging) 3bd6f3b3611dd9a39a3075f82cf938fa08e22884
Gst-vaapi (qa) e7d517323fd98608918de1211dc42f795b48765f

Platfrom: IVB
Issue can be reproduced.
Comment 5 Du Yan 2012-11-19 02:51:05 UTC
Issue has fixed in gstream-vaapi master branch(cb0da4ed7acbb51f2d5dba34c0b37b2c5ad8bff4), 
but still can be reproduced in qa branch.
Comment 6 Du Yan 2012-12-03 03:11:55 UTC
platform: SNB IVB
libva: (staging) 38c94cd922473095814ed9a9f99ad98fcc9c285d
inter-driver: (staging) c0ef9d99df37ae45589fecb898727be495e50304

Test with the latest gstream-vaapi code in qa branch, Issue can't be reproduced.


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.