我试图让Gstreamer视频流在云上的Ubuntu 14.04上运行,但是当我尝试以以下方式发送管道
gst-launch-1.0 -v videotestsrc! theoraenc!天哪! udpsink 主机= 127.0.0.1端口= 8080
流式传输从日志开始。
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, width=(int)320, height=(int)240, framerate=(fraction)30/1, format=(string)I420, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstTheoraEnc:theoraenc0.GstPad:sink: caps = video/x-raw, width=(int)320, height=(int)240, framerate=(fraction)30/1, format=(string)I420, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstTheoraEnc:theoraenc0.GstPad:src: caps = video/x-theora, streamheader=(buffer)
在我正在运行的本地PC的Receiver机器上
gst-launch-1.0 udpsrc uri = udp://127.0.0.1:8080 caps =“ video / x-raw,宽度=(int)320,高度=(int)240,帧率=(分数)30/1,格式=(字符串)I420,像素长宽比=(分数)1/1,隔行-mode =(string)progressive“ ! theoraenc!天哪!自动视频接收器
但是如果显示
Unable to init server: Could not connect to 127.0.0.1: Connection refused
(gst-launch-1.0:18088): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk
Setting pipeline to PAUSED ...
还尝试将URL加载到VLC播放器中,因为rtp://127.0.0.1:8080仍然没有运气。 有人可以让我知道我要去哪里了吗,我是第一次与Gstream打交道。我们将尽力帮助您。