Udpsrc gives me trouble - streaming from a GoPro
ff at ffd.se
Wed Nov 1 12:44:10 UTC 2017
I'm trying to set up the following:
I have a GoPro Session 5 which streams from udp://10.5.5.9:8554
I have a raspberry pi 3 that is connected to the GoPro's wifi hotspot
I'd like to stream from the GoPro via the rpi over 4g to a Gstreamer viewer
(in this case QGroundControl) on another computer with a static ip.
I can get this working by means of this tool:
and this command:
ffmpeg -f mpegts -i udp://10.5.5.9:8554 -map 0:0 -c copy -f rtp
Now I'd like to se if I can get better performance using Gstreamer.
I'm trying the following:
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=22.214.171.124 ts-offset=0 name=vrtpsink
And get this error:
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 ():
bind failed: Error binding to address: Cannot assign requested address
Setting pipeline to NULL ...
Freeing pipeline ...
Can someone spare me som knowledge? Thanks!
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel