Record video

little boy 18735165791 at 163.com
Wed Mar 2 05:40:04 UTC 2016


This is my pipeline
gst-launch-1.0 v4l2src num-buffers=500 ! 'video/x-raw,width=320,height=240'
! autovideoconvert ! x264enc tune="zerolatency",threads=4 ! qtmux name=mux !
filesink location=test.mp4 filesrc num-buffers=500 location=lin.mp3 ! mad !
audioconvert ! faac ! mux.

There was a problem

New clock: GstSystemClock
Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 27666' to continue debugging,
Ctrl-C to quit, or Ctrl-\ to dump core

I run:
gdb gst-launch-1.0 27666

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2ebe700 (LWP 16106)]
__memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:793
793	../sysdeps/x86_64/multiarch/memcmp-sse4.S: 没有那个文件或目录.
(gdb) bt
#0  __memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:793
#1  0x00007ffff48c7f2e in x264_cqm_init () from
/usr/local/lib/libx264.so.129
#2  0x00007ffff4934b6e in x264_encoder_open_129 ()
   from /usr/local/lib/libx264.so.129
#3  0x00007ffff4e2b963 in gst_x264_enc_init_encoder (
    encoder=encoder at entry=0x7a3b40) at gstx264enc.c:1549
#4  0x00007ffff4e2dd01 in gst_x264_enc_set_format (video_enc=<optimized
out>, 
    state=<optimized out>) at gstx264enc.c:2006
#5  0x00007ffff54da8c7 in gst_video_encoder_setcaps (caps=0x7fffec014850, 
    encoder=0x7a3b40) at gstvideoencoder.c:647
#6  gst_video_encoder_sink_event_default (encoder=0x7a3b40, 
    event=0x7fffec004580) at gstvideoencoder.c:944
#7  0x00007ffff7b28756 in gst_pad_send_event_unchecked (
    pad=pad at entry=0x796270, event=event at entry=0x7fffec004580, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5377
#8  0x00007ffff7b28e3b in gst_pad_push_event_unchecked (
    pad=pad at entry=0x79a2d0, event=0x7fffec004580, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5053
#9  0x00007ffff7b293f8 in push_sticky (pad=0x79a2d0, ev=0x7ffff2ebc660, 
    user_data=0x7ffff2ebc6c0) at gstpad.c:3651
#10 0x00007ffff7b27482 in events_foreach (pad=pad at entry=0x79a2d0, 
    func=func at entry=0x7ffff7b292a0 <push_sticky>, 
    user_data=user_data at entry=0x7ffff2ebc6c0) at gstpad.c:590


f 0
#0  __memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:793
793	in ../sysdeps/x86_64/multiarch/memcmp-sse4.S
(gdb) info f
Stack level 0, frame at 0x7ffff2ebbd10:
 rip = 0x7ffff70e3c15 in __memcmp_sse4_1
    (../sysdeps/x86_64/multiarch/memcmp-sse4.S:793); saved rip =
0x7ffff48c7f2e
 called by frame at 0x7ffff2ebbd60
 source language asm.
 Arglist at 0x7ffff2ebbd00, args: 
 Locals at 0x7ffff2ebbd00, Previous frame's sp is 0x7ffff2ebbd10
 Saved registers:
  rip at 0x7ffff2ebbd08

Can anyone please help ...

Thanks,
little boy




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Record-video-tp4676126.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list