[Bug 769268] nvenc segfault after setting wrong width or height

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 26 05:40:31 UTC 2016


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

--- Comment #13 from kapsa at man.poznan.pl ---
Pipeline like this will crash:

gst-launch-1.0 -e videotestsrc !
video/x-raw,width=1919,height=1080,framerate=30/1 ! videoconvert ! videoscale !
nvh264enc ! h264parse ! queue ! mpegtsmux name=mux ! filesink location=test.ts
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'nvh264enc0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 2882' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.

x264 returns error:

gst-launch-1.0 -e videotestsrc !
video/x-raw,width=1919,height=1080,framerate=30/1 ! videoconvert ! videoscale !
x264enc ! h264parse ! queue ! mpegtsmux name=mux ! filesink location=test.ts
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstX264Enc:x264enc0: Can not
initialize x264 encoder.
Additional debug info:
gstx264enc.c(1587): gst_x264_enc_init_encoder ():
/GstPipeline:pipeline0/GstX264Enc:x264enc0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

-- 
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