GNOME Bugzilla – Bug 771508
[gst-vaapi][vp9][encoder] encoder errors with cropped 2K yuv content
Last modified: 2017-07-17 16:57:51 UTC
This pipeline results in an error when encoding 2K content with particular (8 pixel non-aligned) 2K resolution gst-launch-1.0 -e filesrc location=./someyuv_2048x858.I420 blocksize=2635776 ! video/x-raw, format=I420, width=2048, height=858, framerate=30/1, pixel-aspect-ratio=1/1 ! y4menc ! y4mdec ! vaapivp9enc rate-control=cqp keyframe-period=300 ref-pic-mode=1 ! webmmux ! filesink location=./gstvp9enc_mode1ref.webm From the error log: 0:00:00.343707212 32394 0x1adab20 ERROR vaapi gstvaapiencoder.c:347:gst_vaapi_encoder_put_frame: failed to encode frame (status = -1) 0:00:00.343772163 32394 0x1adab20 ERROR vaapiencode gstvaapiencode.c:558:gst_vaapiencode_handle_frame: failed to encode frame 0 (status -1)
Thanks for reporting, Most probalby an issue with the resolution handling.. We will have a look, but not sure whether we can include it in 1.10 release.
Sure, I am also investigating this but wanted to let gstreamer-vaapi community know about it. After the release is a safer bet.
The commit in https://github.com/01org/intel-vaapi-driver/pull/214 fixes this issue. I confirmed this issue is fixed with the patch in the driver. We can close this.
Following Hyunjun comment, this is a problem in the Intel's driver, thus closing as NOTGNOME.