This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

There's some problems when Captured_720P (v4l2src) -> AVI

Recently,I try to learn gstreamer on TI . when I try to make some avi , there,s something wrong . The following is my commanline:

gst-launch-0.10 v4l2src num-buffers=800 always-copy=false input-src=COMPOSITE ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=480 ! TIVidenc1 codecName=h264enc engineName=codecServer contiguousInputFrame=TRUE bitRate=2000000 framerate=25 rateControlPreset=2 ! avimux ! filesink location=/usr/local/bin/test.avi

And the error is as follow:

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

I know that while use format NV12 ,the commandline is right, but I need the UYVY format, and I want to used it together with TImgenc to take photo . What should I do ?

Thanks