1

我正在尝试在 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

请提出什么问题?

4

2 回答 2

2

我有同样的问题,使用来自http://vontaene.de/raspbian-updates/. 升级到 gstreamerapt-get到版本 1.0.9-1 为我解决了这个问题。

于 2013-08-19T18:32:37.610 回答
1

您必须ipv6使用以下命令禁用:

modeprobe ipv6
于 2013-08-18T08:48:54.953 回答