AnsweredAssumed Answered

GStreamer - imxv4l2src

Question asked by Erik Raynolds on Jul 28, 2016
Latest reply on Jul 29, 2016 by Erik Raynolds

I want save a video from webcam. I set this pipeline

gst-launch-1.0 imxv4l2src -e -v device=/dev/video1 num-buffers=100 ! vpuenc_h264 ! h264parse ! filesink location=video1.mp4

 

I am getting:

 

root@imx6qpsabreauto:~# gst-launch-1.0 imxv4l2src -e -v device=/dev/video1 num-buffers=100 ! vpuenc_h264 ! h264parse ! filesink location=video1.mp4

====== IMXV4L2SRC: 4.0.8 build on Jun  6 2016 18:59:27. ======

Setting pipeline to PAUSED ...

[INFO]  Product Info: i.MX6Q/D/S

====== VPUENC: 4.0.8 build on Jun  6 2016 18:59:36. ======

        wrapper: 1.0.62 (VPUWRAPPER_ARM_LINUX Build on Jun  6 2016 18:33:35)

        vpulib: 5.4.32

        firmware: 3.1.1.46070

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal data flow error.

Additional debug info:

/mnt/work/Linux/fsl-release-3.14.52-1.1.0_ga/build-x11-full/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)

EOS on shutdown enabled -- waiting for EOS after Error

Waiting for EOS...

New clock: GstSystemClock

Got EOS from element "pipeline0".

EOS received - stopping pipeline...

Execution ended after 0:00:00.001804333

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

root@imx6qpsabreauto:~#

 

Thank you for your help.

Outcomes