concurrent usb recording: 2 works, 3 sources fails

Andre1984 andrevolodin at gmail.com
Wed May 22 05:58:51 UTC 2019


gst-launch-1.0 v4l2src device=/dev/video0 io-mode=3 do-timestamp=true
num-buffers=1 ! image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse
! multifilesink location=camera0_%03d.jpeg v4l2src  device=/dev/video2
io-mode=3 do-timestamp=true num-buffers=1  !
image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse ! multifilesink
location=camera2_%03d.jpeg v4l2src  device=/dev/video4 io-mode=3
do-timestamp=true num-buffers=1  !
image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse!  multifilesink
location=camera4_%03d.jpeg
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src1: No
downstream pool to import from.
Additional debug info:
gstv4l2object.c(4430): gst_v4l2_object_decide_allocation ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src1:
When importing DMABUF or USERPTR, we need a pool to import from
Execution ended after 0:00:00.033670172
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...




what works is:
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 do-timestamp=true
num-buffers=1 ! image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse
! multifilesink location=camera0_%03d.jpeg v4l2src  device=/dev/video2
io-mode=2 do-timestamp=true num-buffers=1  !
image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse ! multifilesink
location=camera2_%03d.jpeg



How to add third camera processing?
Thanks




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list