GNOME Bugzilla – Bug 794812
vaapienc rejecting caps on Baytrail platform
Last modified: 2018-03-29 14:29:58 UTC
Running the following pipeline: gst-launch-1.0 videotestsrc ! vaapih264enc ! matroskamux ! fakesink This worked with gstreamer 12.4, but upgrading to 14.0 the pipeline won't preroll on a Baytrail platform. Adding the following caps will make it work: gst-launch-1.0 videotestsrc ! vaapih264enc ! video/x-h264 ! matroskamux ! fakesink Log can be found here: https://gist.github.com/half2me/3c848ef5b25058e6fb743c17ba7668df
When upgrading from 12.4 to 14.0, everything was upgraded. Gstreamer and all the plugins including gst-vaapi.
The capsfilter in the working case should be with profile=high, according to what was written on IRC before.
(In reply to Sebastian Dröge (slomo) from comment #2) > The capsfilter in the working case should be with profile=high, according to > what was written on IRC before. Ah, my bad. Yes, the pipeline that fixed the problem (as suggested on IRC by tim) was: gst-launch-1.0 videotestsrc ! vaapih264enc ! video/x-h264,profile=high ! matroskamux ! fakesink
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. But thanks for log! I really need it, since I cannot reproduce it with my kabylake *** This bug has been marked as a duplicate of bug 794306 ***