I was trying to record a 720p video without CSSU's 'camera-ui', I used 'gst-launch-0.10' command. but I got . . . Code: BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ cd MyDocs ~/MyDocs $ gst-launch-0.10 -v v4l2camsrc device=/dev/video0 ! video/x-raw-yuv,w idth=1280, height=720!dspmp4venc !avimux!filesink location=test.avi Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 /GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, width=(int)1280, height=(int)720, framerate=(fraction)30/1 create_node: dsp node allocate failed sink_setcaps: dsp node creation failed ERROR: from element /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0: streaming task paused, reason not-negotiated (-4) Execution ended after 143585217 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... /GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = NULL Setting pipeline to NULL ... Freeing pipeline ... ~/MyDocs $ What should I do? Anyone can help me? Thanks.
BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ cd MyDocs ~/MyDocs $ gst-launch-0.10 -v v4l2camsrc device=/dev/video0 ! video/x-raw-yuv,w idth=1280, height=720!dspmp4venc !avimux!filesink location=test.avi Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720 /GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, width=(int)1280, height=(int)720, framerate=(fraction)30/1 create_node: dsp node allocate failed sink_setcaps: dsp node creation failed ERROR: from element /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0: streaming task paused, reason not-negotiated (-4) Execution ended after 143585217 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... /GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = NULL Setting pipeline to NULL ... Freeing pipeline ... ~/MyDocs $
gst-launch-0.10 -v v4l2camsrc device=/dev/video0 ! video/x-raw-yuv,width=1280, height=720!dspmp4venc !avimux!filesink location=/home/user/MyDocs/test.avi