1
我想通过v4l2src从摄像头捕获图像,然后捕获的图像显示在2个接收器,一个是原始图像,一个是处理图像。 有谁知道如何做到这一点? 我正在使用gstreamer 1.0。Gstreamer 1.0一个源和两个接收显示
我想通过v4l2src从摄像头捕获图像,然后捕获的图像显示在2个接收器,一个是原始图像,一个是处理图像。 有谁知道如何做到这一点? 我正在使用gstreamer 1.0。Gstreamer 1.0一个源和两个接收显示
这里是一个GST推出例如适合您的需要:
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