On 2/11/15, 10:05 AM, Alfonso Tamés wrote:
The pipeline (similar to yours but using the gst1.0-fsl-plugin imxv4l2src) 
works for me:
gst-launch-1.0 imxv4l2src ! 
video/x-raw,format=I420,width=1280,height=720,framerate=30/1 ! imxvpuenc_h264 
bitrate=2000 ! h264parse ! mp4mux ! filesink location=video.mp4


Are you sure, that pipeline segfaults immediately for me:

root@wandboard-quad:~# gst-launch-1.0 imxv4l2src ! 
video/x-raw,format=I420,width=1280,height=720,framerate=30/1 ! imxvpuenc_h264 
bitrate=2000 ! h264parse ! mp4mux ! filesink location=video.mp4
.....
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal 
data flow error.
Additional debug info:
/opt/yocto/master_egl/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933):
 gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.093394334
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Caught SIGSEGV
#0  0x76c89498 in waitpid () from /lib/libpthread.so.0
#1  0x76cb3b64 in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0
#2  0x0000b4e0 in ?? ()


It does on my end when I use imxv4l2src from Carlos's gstreamer plugins. It does not when use the plugin of the same name from gst1.0-fsl-plugin.

John
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to