<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - h264 libva capture corrupted results"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77495">77495</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>h264 libva capture corrupted results
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ullysses.a.eoff@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>The libva h264 capture feature in weston generates corrupt results. I'm not
sure where the corruption occurs in the pipeline (i.e. encode or decode) or
which software or hardware component causes the regression. I know I tested
this a while back and it was working at that time. Unfortunately, I've been
unsuccessful in revitalizing the s/w stack that used to work for me... every
rollback I tried still produced the corruption. Is it possible the regression
was caused by a kernel component? I did not try rolling those back. I've
tested and reproduced this issue on Ivybridge and Haswell.
::Steps::
1. Launch weston
2. Start h264 capture with: <mod>+<shift>+<space> q
3. Do stuff (i.e. launch apps, move windows, etc.)
4. Stop h264 capture with: <mod>+<shift>+<space> q
5. Playback capture.h264
$ gst-play-1.0 capture.h264
or
$ gst-launch-1.0 filesrc location=capture.h264 \
! h264decode ! vaapidecode ! vaapisink
6. Transcode capture.h264 to capture.mp4
$ gst-launch-1.0 filesrc location=capture.h264 \
! h264decode ! mp4mux ! filesink location=capture.mp4
::S/W Stack::
kernel: 3.13.6-200.fc20.x86_64
wayland (master) 1.4.91-0-g5e2cfd2
drm (master) libdrm-2.4.52-0-g46d451c
mesa (10.1) heads/10.1-0-g0c6be6e
libva (master) libva-1.2.1-0-g88ed1eb
intel-driver (master) 1.2.2-0-g121e70d
cairo (1.12) heads/1.12-0-g59e2a93
libinput (master) heads/master-0-g9c61146
weston (master) heads/master-0-ga5c3a3c
gstreamer (1.2) heads/1.2-0-gd854327
gst-plugins-base (1.2) heads/1.2-0-g0c9dcac
gst-plugins-good (1.2) heads/1.2-0-g71d318c
gst-plugins-bad (1.2) heads/1.2-0-g1247c42
gst-ffmpeg (1.2) heads/1.2-0-g9946e5b
gstreamer-vaapi (master) tags/0.5.8-0-gc9af9a8</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>