我正在尝试在 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
请提出什么问题?