the command line :
gst-launch-0.10 v4l2src num-buffers=200 input-src=COMPOSITE always-copy=true ! video/x-raw-yuv,width=640,height=480,framerate=25/1 ! tee name=t t.! TIVidenc1 codecName=h264enc engineName=codecServer contiguousInputFrame=true bitRate=25600 framerate=25 iColorSpace=NV12 resolution=640*480 rateControlPreset=2 encodingPreset=1 ! avimux ! filesink location=/usr/local/bin/test.avi sync=false async=false t.! TIImgenc1 resolution=640*480 iColorSpace=UYVY oColorSpace=YUV422P qValue=75 engineName=codecServer ! filesink location=/usr/local/bin/output.jpg sync=false async=false
and then the message it output:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Video input device did not accept new frame rate setting.
Additional debug info:
v4l2src_calls.c(342): gst_v4l2src_set_capture (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstTIVidenc1:tividenc10: failed to create video encoder: h264enc
Additional debug info:
gsttividenc1.c(1272): gst_tividenc1_codec_start (): /GstPipeline:pipeline0/GstTIVidenc1:tividenc10
Execution ended after 187005332 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...