【发布时间】:2011-03-31 20:19:30
【问题描述】:
我正在尝试使用 OpenCV 和 gstreamer 流式传输我的网络摄像头...首先我使用命令行进行测试:
gst-launch v4l2src ! ffmpegcolorspace ! theoraenc ! rtptheorapay ! udpsink host=localhost port=5000 sync=false -v
然后我尝试使用此命令行查看流式传输:
gst-launch udpsrc port=5000 caps="video/x-raw-yuv, format=(fourcc)I420, framerate=(fraction)30/1, width=(int)640, height=(int)480, interlaced=(boolean)false" ! rtptheoradepay ! theoradec ! ximagesink
但我收到一个错误:无法将 udpsrc0 链接到 rtptheoradepay0,也无法将 udpsrc0 链接到 rtptheoradepay0
然后我尝试使用 vlc 来查看我使用 rtp://@localhost:5000 从网络摄像头获得的信息,但什么也没发生...
我做错了什么???
我正在运行 Ubuntu 10.10,其中包含从 git 存储库编译的 gstreamer 和插件...
提前致谢!!
【问题讨论】:
标签: ubuntu streaming gstreamer