After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772567 - vaapih264enc only works with I420, YV12 and NV12
vaapih264enc only works with I420, YV12 and NV12
Status: RESOLVED DUPLICATE of bug 769266
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-07 13:30 UTC by Florent Thiéry
Modified: 2016-10-08 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test script (1016 bytes, text/x-python)
2016-10-07 13:30 UTC, Florent Thiéry
Details
test script with vaapipostproc (1.01 KB, text/x-python)
2016-10-07 13:33 UTC, Florent Thiéry
Details

Description Florent Thiéry 2016-10-07 13:30:29 UTC
Created attachment 337167 [details]
test script

While vaapih264enc advertises many formats in it's sinks supported formats, the following pipeline crashes with an Internal data stream error with most (except I420, YV12 and NV12).

gst-launch-1.0 videotestsrc ! video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)30/1 ! vaapih264enc rate-control=2 bitrate=20000 keyframe-period=30 ! fakesink

Success: ['I420', 'YV12', ' NV12']
Fail: ['YUY2', 'UYVY', 'AYUV', 'RGBx', 'BGRx', 'xRGB', 'xBGR', 'RGBA', 'BGRA', 'ARGB', 'ABGR', 'RGB', 'BGR', 'Y41B', 'Y42B', 'YVYU', 'Y444', 'v210', 'v216', 'NV21', 'NV16', 'NV61', 'NV24', 'GRAY8', 'GRAY16_BE', 'GRAY16_LE', 'v308', 'IYU2', 'RGB16', 'BGR16', 'RGB15', 'BGR15', 'UYVP', 'A420', 'RGB8P', 'YUV9', 'YVU9', 'IYU1', 'ARGB64', 'AYUV64', 'r210', 'I420_10LE', 'I420_10BE', 'I422_10LE', 'I422_10BE', 'Y444_10LE', 'Y444_10BE', 'GBR', 'GBR_10LE', 'GBR_10BE', 'NV12_64Z32', 'A420_10LE', 'A420_10BE', 'A422_10LE', 'A422_10BE', 'A444_10LE', 'A444_10BE', 'P010_10LE', 'P010_10BE']
Comment 1 Florent Thiéry 2016-10-07 13:32:35 UTC
When adding vaapipostproc, a little more colorspaces work

Success: ['I420', 'YV12', ' NV12', 'YUY2', 'UYVY', 'RGBx', 'BGRx']
Fail: ['AYUV', 'xRGB', 'xBGR', 'RGBA', 'BGRA', 'ARGB', 'ABGR', 'RGB', 'BGR', 'Y41B', 'Y42B', 'YVYU', 'Y444', 'v210', 'v216', 'NV21', 'NV16', 'NV61', 'NV24', 'GRAY8', 'GRAY16_BE', 'GRAY16_LE', 'v308', 'IYU2', 'RGB16', 'BGR16', 'RGB15', 'BGR15', 'UYVP', 'A420', 'RGB8P', 'YUV9', 'YVU9', 'IYU1', 'ARGB64', 'AYUV64', 'r210', 'I420_10LE', 'I420_10BE', 'I422_10LE', 'I422_10BE', 'Y444_10LE', 'Y444_10BE', 'GBR', 'GBR_10LE', 'GBR_10BE', 'NV12_64Z32', 'A420_10LE', 'A420_10BE', 'A422_10LE', 'A422_10BE', 'A444_10LE', 'A444_10BE', 'P010_10LE', 'P010_10BE']
Comment 2 Florent Thiéry 2016-10-07 13:33:00 UTC
Created attachment 337171 [details]
test script with vaapipostproc
Comment 3 Tim-Philipp Müller 2016-10-07 15:05:20 UTC
I thought this had been fixed - if not then there's at least a bug about it already :)
Comment 4 Víctor Manuel Jáquez Leal 2016-10-08 09:57:31 UTC
Hi Florent!

Thanks for reporting this, but as Tim slightly mentioned, it is an already reported bug. Let keep the first report to track this issue.

*** This bug has been marked as a duplicate of bug 769266 ***