[Bug 779642] Bus error occurs when trying to run mp4 file with vaapidecodebin

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 7 23:30:05 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=779642

--- Comment #3 from gurkirpal204 at gmail.com ---
(In reply to Julien Isorce from comment #1)
> Worth to mention that Gurkirpal told me that it does not crash when using
> vaapih264dec. So the difference here is vaapipostproc.
> 
> Gurkirpal, please try:
> 
> A:
> gst-launch-1.0 videotestsrc ! "video/x-raw, format=NV12, width=1280,
> height=720" ! vaapipostproc ! "video/x-raw, format=BGRx, width=1280,
> height=720" ! ximagesink
> 
> B:
> gst-launch-1.0 videotestsrc ! "video/x-raw, format=NV12, width=1280,
> height=720" ! vaapipostproc ! "video/x-raw, format=BGRA, width=1280,
> height=720" ! videoconvert ! ximagesink
> 
> C:
> gst-launch-1.0 videotestsrc ! "video/x-raw, format=NV12, width=1280,
> height=720" ! vaapipostproc ! "video/x-raw, format=RGBA, width=1280,
> height=720" ! videoconvert ! ximagesink
> 
> D:
> gst-launch-1.0 videotestsrc ! "video/x-raw, format=NV12, width=1280,
> height=720" ! vaapipostproc ! "video/x-raw, format=RGBx, width=1280,
> height=720" ! videoconvert ! ximagesink
> 
> E:
> gst-launch-1.0 videotestsrc ! "video/x-raw, format=NV12, width=1280,
> height=720" ! vaapipostproc ! "video/x-raw, format=NV12, width=640,
> height=480" ! videoconvert ! ximagesink
> 
> And let us know if there is one working. Thx!
> 
> This is using vaapi nouveau driver from mesa/gallium but the crash happens
> in gstreamer. At first glance I would say it is a problem in vaapi nouveau
> because it is not as well tested as vaapi intel driver. But since it crashes
> in gstreamer it could still be a pb in gst.

Out of the given pipelines only "E" seems to be working even though I see some
errors:
Pipeline is PREROLLING ...
Got context from element 'vaapipostproc0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
Got context from element 'vaapipostproc0': gst.vaapi.Display=context,
gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx1";
0:00:00.464439479  4880       0xf4ed90 ERROR       vaapivideomemory
gstvaapivideomemory.c:736:gst_video_info_update_from_surface: Cannot create a
VA derived image from surface 0xf4f140
0:00:00.465799491  4880       0xf4ed90 ERROR       vaapivideomemory
gstvaapivideomemory.c:736:gst_video_info_update_from_surface: Cannot create a
VA derived image from surface 0x7fe534003230
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list