This post was updated on .
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: no such file or dictionary. (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@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@entry=0x796270, event=event@entry=0x7fffec004580, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5377 #8 0x00007ffff7b28e3b in gst_pad_push_event_unchecked ( pad=pad@entry=0x79a2d0, event=0x7fffec004580, type=type@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@entry=0x79a2d0, func=func@entry=0x7ffff7b292a0 <push_sticky>, user_data=user_data@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 |
On Di, 2016-03-01 at 21:40 -0800, little boy wrote:
> 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. gst-launch-1.0 does not accept the pipeline as is because of the comma. Which pipeline did you use? > 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@entry=0x7a3b40) at gstx264enc.c:1549 also with only the video part of the pipeline (without qtmux and going to a fakesink), with videotestsrc instead of v4l2src, etc. And running in valgrind is probably also a good idea. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Thanks you!
There is a problem in libx264. Look at this: https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1241772 |
Free forum by Nabble | Edit this page |