【发布时间】:2020-11-28 07:34:05
【问题描述】:
这是我正在尝试的:
gst-launch -v udpsrc port=1234 ! fakesink dump=1
我测试:
gst-launch -v audiotestsrc ! udpsink host=127.0.0.1 port=1234
一切正常,我可以看到来自audiotestsrc的包裹
现在让我们使用网络摄像头源进行测试:
gst-launch -v v4l2src device=/dev/video0 ! queue ! videoscale method=1 ! "video/x-raw-yuv,width=320,height=240" ! queue ! videorate ! "video/x-raw-yuv,framerate=(fraction)15/1" ! queue ! udpsink host=127.0.0.1 port=1234
什么也没有发生,转储中没有包出现。
这是服务器中详细显示的logdump。
有人知道吗?
【问题讨论】:
-
忘了说:例如用 autovideosink 替换 udpsink 我可以看到网络摄像头很好
标签: gstreamer