我尝试使用流式传输和OpenCV的GStreamer的我的摄像头......对于这第一个我测试使用此命令行:GStreamer的RTP流媒体网络摄像头
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来看看我从摄像头全光照得g rtp:// @ localhost:5000但是没有发生...
我做错了什么?
我运行Ubuntu 10.10在GStreamer和混帐repositorie编译插件...
在此先感谢!