Hi,
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 ?
Hi cxy
one can try other options described in sect.7.3.15 Video conversion
attached Linux Guide.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------