GStreamer Fallbackswitch plugin

Dirtec dirtech at covarians.eu
Mon Jul 11 15:27:08 UTC 2022


Hello,

I am trying to use the fallbackswitch plugin with nvarguscamerasrc on a 
dual camera video recording pipelin.

The goal is to keep the pipeline working when one camera is disconnected 
(LI-IMX390 camera on NVidia Jetson NX)

I run the following pipeline :

gst-launch-1.0 -v \
nvarguscamerasrc sensor-id=0 name=video_element_0 ! 
'video/x-raw(memory:NVMM),width=1920,height=1080,format=NV12,framerate=30/1' 
! fallbackswitch name=s ! queue ! nvv4l2h265enc control-rate=0 profile=1 
! h265parse ! queue ! mpegtsmux name=mux ! filesink location="test.ts" 
name=filesink_element \
videotestsrc ! 
'video/x-raw,width=1920,height=1080,format=NV12,framerate=30/1' ! s.


But I get the following error message :

WARNING: erroneous pipeline: could not link videotestsrc0 to s, s can't 
handle caps video/x-raw, width=(int)1920, height=(int)1080, 
format=(string)NV12, framerate=(fraction)30/1

Any idea ?


Frederic


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220711/4052ef8f/attachment.htm>


More information about the gstreamer-devel mailing list