我正在尝试在rasp pi上运行gstreamer,但是得到了这个错误:
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: GStreamer encountered a general resource error.
Additional debug info:
gstmultiudpsink.c(959): gst_multiudpsink_start (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
Failed to bind socket: Unable to create socket: Address family not supported by protocol
Setting pipeline to NULL ...
Freeing pipeline ...
我的配置文件是:
#!/usr/bin/bash
TARGET=192.168.0.170
GST="gst-launch-1.0 -vv"
SRC=v4l2src
FIL1="video/x-raw,width=320,height=240,framerate=5/1"
ENC="rtpvrawpay"
DST="udpsink host=$TARGET port=13375"
PIPELINE="$SRC ! $FIL1 ! $ENC ! $DST"
$GST $PIPELINE
请说明可能出现的问题?
答案 0 :(得分:2)
我遇到了同样的问题,使用了来自http://vontaene.de/raspbian-updates/
的gstreamer包。通过apt-get
升级到gstreamer到版本1.0.9-1解决了它。
答案 1 :(得分:1)
您必须使用以下命令禁用ipv6
:
modeprobe ipv6