Record video

Sebastian Dröge sebastian at centricular.com
Thu Mar 3 08:01:55 UTC 2016


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 at entry=0x7a3b40) at gstx264enc.c:1549

This looks like it could be a problem with libx264 on your system. Try
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160303/547c5289/attachment.sig>


More information about the gstreamer-devel mailing list