gst-launch-1.0 videotestsrc num-buffers=2500 ! video/x-raw,width=640,height=480,framerate=25/1 ! queue ! mux. alsasrc num-buffers=4400 ! audioconvert ! audio/x-raw,format=S16LE,rate=7000,channels=2 ! queue ! mux. avimux name=mux ! filesink location=test.avi
IS OK!
-----------------------------------------------------------------------------------------------------------------------------------------------------------
gst-launch-1.0 imxv4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=25/1 ! queue ! mux. alsasrc num-buffers=4400 ! audioconvert ! audio/x-raw,format=S16LE,rate=7000,channels=2 ! queue ! mux. avimux name=mux ! filesink location=test.avi
IS NOT OK, err says:
====== IMXV4L2SRC: 4.1.6 build on Sep 21 2018 11:30:07. ======
WARNING: erroneous pipeline: could not link imxv4l2src0 to queue0
Why i am wrong?
anyone know?
try to add "format=(string)$FORMAT" after "video/x-raw"? FORMAT is what you need, like "format=(string)NV12"