如何将GStreamer的Udpsrc设置为来自GoPro的远程UDP流

如何将GStreamer的Udpsrc设置为来自GoPro的远程UDP流,udp,streaming,gstreamer,gopro,Udp,Streaming,Gstreamer,Gopro,嘿 我正在尝试设置以下内容: #!/bin/bash gst-launch-1.0 -v \ rtpbin name=rtpbin \ udpsrc uri=udp://10.5.5.9:8554 \ ! queue \ ! avenc_h264_omx bitrate=500000 \ ! "video/x-h264,profile=high" \ ! h264parse \ ! queue max-size-bytes=10000000 \ ! rtph264pay pt=96 confi

我正在尝试设置以下内容:

#!/bin/bash

gst-launch-1.0 -v \
rtpbin name=rtpbin \
udpsrc uri=udp://10.5.5.9:8554 \
! queue \
! avenc_h264_omx bitrate=500000 \
! "video/x-h264,profile=high" \
! h264parse \
! queue max-size-bytes=10000000 \
! rtph264pay pt=96 config-interval=1 \
! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 \
! udpsink port=5000 host=94.234.203.109 ts-offset=0 name=vrtpsink
rtpbin.send_rtcp_src_0 \
! rtpbin.recv_rtcp_sink_0
我有一个GoPro课程5,从udp://10.5.5.9:8554 我有一个树莓皮3连接到GoPro的wifi热点 我想通过RPIover4G从GoPro传输到另一台具有静态ip的计算机上的Gstreamer查看器(在本例中为QGroundControl)

我可以通过这个工具来实现这一点:

这个命令是:

ffmpeg -f mpegts -i udp://10.5.5.9:8554 -map 0:0 -c copy -f rtp 
udp://94.234.203.109:5000
现在我想看看是否可以使用Gstreamer获得更好的性能

我正在尝试以下方法:

#!/bin/bash

gst-launch-1.0 -v \
rtpbin name=rtpbin \
udpsrc uri=udp://10.5.5.9:8554 \
! queue \
! avenc_h264_omx bitrate=500000 \
! "video/x-h264,profile=high" \
! h264parse \
! queue max-size-bytes=10000000 \
! rtph264pay pt=96 config-interval=1 \
! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 \
! udpsink port=5000 host=94.234.203.109 ts-offset=0 name=vrtpsink
rtpbin.send_rtcp_src_0 \
! rtpbin.recv_rtcp_sink_0
并获取以下错误:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Could not get/set settings from/on resource.
Additional debug info:
gstudpsrc.c(1548): gst_udpsrc_open (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: bind failed: Error binding to address: Cannot assign requested address
Setting pipeline to NULL ...
Freeing pipeline ...
有人能给我一些知识吗?谢谢