AnsweredAssumed Answered

imx6 usb camera encode

Question asked by cxy cxy on Dec 7, 2018
Latest reply on Dec 7, 2018 by igorpadykov


   I'm trying to capture a usb camera (/dev/video4)video(YUYV only) through gstreamer.

   I 've try :

   gst-launch-1.0 -v imxv4l2src device=/dev/video4 ! 'video/x-raw,width=(int)640, height=(int)480, format=(string)YUYV ,framerate=30/1' ! imxvideoconvert_ipu ! video/x-raw,format=NV12,width=640,height=480 ! vpuenc_h264  ! matroskamux ! filesink location=test.mp4

   Which command will print an error with "WARNING: erroneous pipeline: could not link imxv4l2src0 to imxvideoconvert_ipu0". I find imxvideoconvert_ipu only support UYVY.

   Is there any other element support convert YUYV to I420 / NV12/ YV12 ?