[root@armadillo840-0 (ttySC2) /home/ftp/pub]# cat Armadiilo_jpeg.sh #!/bin/bash gst-launch-1.0 -e v4l2src device=/dev/video0 num-buffers=10 \ ! video/x-raw,format=NV12,width=640,height=480,framerate=30/1 \ ! acmjpegenc ! multifilesink location=/sd/mnt/output%d.jpeg [root@armadillo840-0 (ttySC2) /home/ftp/pub]# sh -x ./Armadiilo_jpeg.sh + gst-launch-1.0 -e v4l2src device=/dev/video0 num-buffers=10 ! video/x-raw,format=NV12,width=640,height=480,framerate=30/1 ! acmjpegenc ! multifilesink location=/sd/mnt/output%d.jpeg Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error. Additional debug info: gstbasesrc.c(2812): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming task paused, reason not-negotiated (-4) EOS on shutdown enabled -- waiting for EOS after Error Waiting for EOS... .Caught interrupt -- handling interrupt. Interrupt: Stopping pipeline ... Interrupt while waiting for EOS - stopping pipeline... Execution ended after 12768461747 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... [root@armadillo840-0 (ttySC2) /home/ftp/pub]# ls /sd/mnt [root@armadillo840-0 (ttySC2) /home/ftp/pub]#