【问题标题】:Gstreamer 1.0 one source and two sink displayGstreamer 1.0 一源二汇展示
【发布时间】:2016-11-18 08:10:50
【问题描述】:

我想通过 v4l2src 从相机捕获图像,然后捕获的图​​像显示在 2 个接收器中,一个是原始图像,一个是处理后的图像。 有谁知道如何做到这一点? 我正在使用 gstreamer 1.0。

【问题讨论】:

    标签: ubuntu gstreamer-1.0


    【解决方案1】:

    您应该查看tee 元素:https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html

    这是一个满足您需求的 gst-launch 示例:

    gst-launch-1.0 -v v4l2src ! tee name=t \
        t. ! queue ! videoscale ! video/x-raw,width=640,height=480 ! \
            videoconvert ! autovideosink \
        t. ! queue ! videoscale ! video/x-raw,width=360,height=240 ! \
            videoconvert ! autovideosink
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-10-22
      • 1970-01-01
      • 1970-01-01
      • 2018-03-26
      • 2023-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多