[Wayland-bugs] [Bug 78199] New: h264 libva capture corrupted results in rgb565 format
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 2 09:16:05 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78199
Priority: medium
Bug ID: 78199
Assignee: wayland-bugs at lists.freedesktop.org
Summary: h264 libva capture corrupted results in rgb565 format
Severity: normal
Classification: Unclassified
OS: All
Reporter: ullysses.a.eoff at intel.com
Hardware: Other
Status: NEW
Version: unspecified
Component: weston
Product: Wayland
The libva h264 capture feature in weston generates corrupt results when output
is using rgb565 gbm-format (16bpp). Format xrgb8888 (32bpp) works fine.
::Steps::
1. In weston.ini, set the gbm-format for the output to rgb565, for example:
[output]
name=HDMI1
gbm-format=rgb565
2. Launch weston
3. Start h264 capture with: <mod>+<shift>+<space> q
4. Do stuff (i.e. launch apps, move windows, etc.)
5. Stop h264 capture with: <mod>+<shift>+<space> q
6. Playback capture.h264
$ gst-play-1.0 capture.h264
or
$ gst-launch-1.0 filesrc location=capture.h264 \
! h264parse ! vaapidecode ! vaapisink
7. Transcode capture.h264 to capture.mp4
$ gst-launch-1.0 filesrc location=capture.h264 \
! h264parse ! mp4mux ! filesink location=capture.mp4
Kernel: 3.13.6-200.fc20
Systemd: 212 (rawhide)
wayland (master) 1.4.92-0-g4a4523f
drm (master) libdrm-2.4.52-0-g46d451c
mesa (master) heads/master-0-gd55e5a3
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-g97af5c3
weston (master) 1.4.92-0-gd7d71e8
gstreamer (1.2) heads/1.2-0-gf8c6552
gst-plugins-base (1.2) heads/1.2-0-gcf5f7cf
gst-plugins-good (1.2) heads/1.2-0-g28d65fb
gst-plugins-bad (1.2) heads/1.2-0-g4f01875
gst-ffmpeg (1.2) 1.2.4-0-g72f6cb6
gstreamer-vaapi (master) tags/0.5.8-0-gc9af9a8
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140502/0dd1ef72/attachment.html>
More information about the Wayland-bugs
mailing list