Hi,
I change to MJPEG format.
From,
gst-launch-1.0 \
v4l2src device=/dev/video0 ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_0 \
v4l2src device=/dev/video1 ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_1 \
v4l2src device=/dev/video2 ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_2 \
v4l2src device=/dev/video3 ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_3 \
nvstreammux name=m width=480 height=270 batch-size=64 batched-push-timeout=40000 live-source=1 ! \
nvmultistreamtiler rows=2 columns=2 width=1920 height=1080 ! nvdsosd ! nvegltransform ! nveglglessink sync=0
To,
gst-launch-1.0 \
v4l2src device=/dev/video0 ! image/jpeg ! jpegdec ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_0 \
v4l2src device=/dev/video1 ! image/jpeg ! jpegdec ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_1 \
v4l2src device=/dev/video2 ! image/jpeg ! jpegdec ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_2 \
v4l2src device=/dev/video3 ! image/jpeg ! jpegdec ! videoconvert ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA, width=480, height=270, framerate=10/1" ! m.sink_3 \
nvstreammux name=m width=480 height=270 batch-size=64 batched-push-timeout=40000 live-source=1 ! \
nvmultistreamtiler rows=2 columns=2 width=1920 height=1080 ! nvdsosd ! nvegltransform ! nveglglessink sync=0
But, it cause same error even though it was possible before.
There is no way to use multiple webcams?
Thanks.