gst-launch-1.0-capsfilter
Filter pipeline capabilities. tldr-pages
On several platforms
Several platforms
Filter to only allow greyscale format
gst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=GRAY8 ! videoconvert ! autovideosinkIdentifyDo the same but in shortform
gst-launch-1.0 videotestsrc ! video/x-raw,format=GRAY8 ! videoconvert ! autovideosinkIdentifyLimit video capabilities to specific dimensions
gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480 ! videoconvert ! autovideosinkIdentifySpecify a specific framerate
gst-launch-1.0 videotestsrc ! video/x-raw,framerate=30/1 ! videoconvert ! autovideosinkIdentify