Hello,
The following gstreamer command from CSI0 works perfectly:
gst-launch -e mfw_v4lsrc device=/dev/video0 num-buffers=300 ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)UYVY’ ! mfw_ipucsc ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)I420’ ! queue max-size-time=0 ! mfw_vpuencoder codec-type=2 ! queue ! matroskamux ! filesink location=/opt/test.mkv
This one from CSI1 works perfectly too:
gst-launch -e mfw_v4lsrc device=/dev/video1 num-buffers=300 ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)UYVY’ ! mfw_ipucsc ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)I420’ ! queue max-size-time=0 ! mfw_vpuencoder codec-type=2 ! queue ! matroskamux ! filesink location=/opt/test2.mkv
But, if I try to run them simultaneously e.g. :
gst-launch -e mfw_v4lsrc device=/dev/video0 num-buffers=300 ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)UYVY’ ! mfw_ipucsc ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)I420’ ! queue max-size-time=0 ! mfw_vpuencoder codec-type=2 ! queue ! matroskamux ! filesink location=/opt/test.mkv &
gst-launch -e mfw_v4lsrc device=/dev/video1 num-buffers=300 ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)UYVY’ ! mfw_ipucsc ! ‘video/x-raw-yuv,width=640,height=480,framerate=15/1,format=(fourcc)I420’ ! queue max-size-time=0 ! mfw_vpuencoder codec-type=2 ! queue ! matroskamux ! filesink location=/opt/test2.mkv &
what I get are many:
“mxc_ipu_hl_lib.c:956 ipu is busy”
errors and two problematic video file.
Is there any limitation about doing that? If so, is there any workaround or patch fixing this problem?
By the way, the required resistor rework for sync signals is already done.
Best regards,