gst-launch-1.0 capsfilter
Filter pipeline capabilities. More information: https://gstreamer.freedesktop.org/documentation/coreelements/capsfilter.html.
- Filter to only allow greyscale format:
gst-launch-1.0 ! capsfilter caps=video/x-raw,format=GRAY8 !
- Do the same but in shortform:
gst-launch-1.0 ! video/x-raw,format=GRAY8 !
- Limit video capabilities to specific dimensions:
gst-launch-1.0 ! video/x-raw,width=,height= !
- Specify a specific framerate:
gst-launch-1.0 ! video/x-raw,framerate=/1 !
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
