Table of contents

GStreamer

%3 cluster_6bab6027_c883_44d8_b521_120de5051468 GStreamer cluster_6e79a655_6aaf_4a40_a62e_2d3462768578 Examples _50df1ef7_cc86_4265_99db_c2c872a345da Gstreamer tutorial _65c28129_4eda_4a27_a953_745949b50268 gst-launch-1.0 manual _900f391e_726a_40ba_b9c6_73139b2ab7e0 Tee video to file descriptor _a1bf6ab5_9014_4df7_bd32_c7d9642b3432 Test video to window _df029c47_e72e_471e_b1de_67e0ede33e5e Loopback video from camera to window _4994460c_7ec1_4549_b7d3_49626449279e Video __0:cluster_6bab6027_c883_44d8_b521_120de5051468->_4994460c_7ec1_4549_b7d3_49626449279e

gst-launch-1.0 manual

  • Cli tool to build pipelines

  • General structure: 'gst-launch-1.0' + video processing steps connected by '!'

  • Note that the '!' character in bash is used for event designators and word designators, thus expanding into historic commands or arguments.

    • *Make sure that the '!' between video processing steps are surrounded by spaces ' ', escaped '\!' or quoted "!"*

Examples

Loopback video from camera to window

gst-launch-1.0 v4l2src ! videoconvert ! xvimagesink

Test video to window

gst-launch-1.0 videotestsrc ! ximagesink

Tee video to file descriptor

gst-launch-1.0 videotestsrc ! tee name=splitter ! queue ! ximagesink \
                                      splitter. ! queue ! fdsink  fd=1 \
    | pv >> /dev/null