2013-08-17 144 views
1

我試圖運行銼刀PI的GStreamer,但得到這個錯誤:的GStreamer 1.0樹莓PI

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 

請有什麼建議可能是錯的?

回答

1

您在使用本命令禁用ipv6

modeprobe ipv6 
2

我有同樣的問題,使用的GStreamer包從http://vontaene.de/raspbian-updates/。通過apt-get升級到gstreamer到版本1.0.9-1爲我解決了它。