GNOME Bugzilla – Bug 795340
vaapiencode: h264: find best profile in those available breaks encoding with mesa/AMD
Last modified: 2018-06-06 08:45:58 UTC
fa77b2bf vaapiencode: h264: find best profile in those available breaks eg. (The first "ERROR" is normal and seen when things work OK) gst-launch-1.0 videotestsrc num-buffers=100 ! vaapih264enc ! "video/x-h264,profile=baseline,stream-format=byte-stream" ! h264parse ! matroskamux ! filesink location=out.mkv Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Got context from element 'vaapiencodeh264-0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0"; 0:00:00.343825398 31801 0x18869e0 ERROR vaapivideomemory gstvaapivideomemory.c:736:gst_video_info_update_from_surface: Cannot create a VA derived image from surface 0x7f7708002800 ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: No valid frames found before end of stream Additional debug info: gstbaseparse.c(1329): gst_base_parse_sink_event_default (): /GstPipeline:pipeline0/GstH264Parse:h264parse0 ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ...
Thanks for reporting it. The patch on bug 794306 also fix this issue *** This bug has been marked as a duplicate of bug 794306 ***