Streaming GoPro with GStreamer 1.0

Tim Müller tim at centricular.com
Thu Oct 22 08:28:54 PDT 2015


On Thu, 2015-10-22 at 07:36 -0700, nmrony wrote:

Hi,

> We are trying to stream *GoPro Hero 4*.  We are trying this pipeline
> below
> 
> *gst-launch-1.0 -e -v udpsrc port=8554 ! video/mpegts,
> systemstream=\(boolean\)true, packetsize=\(int\)188 ! tsdemux !
> autovideosink*
> 
> Which output is (snip)
> But not showing any *autovideosink* popup.

You will also need a decoder after tsdemux.

Try something like:

gst-launch-1.0 -e -v udpsrc port=8554 ! queue ! decodebin !
videoconvert ! videoscale ! autovideosink

but that will only give you video.

gst-launch-1.0 -e -v udpsrc port=8554 ! queue ! decodebin name=d \
  d. ! queue ! videoconvert ! videoscale ! autovideosink \
  d. ! queue ! audioconvert ! audioresample ! autoaudiosink

should give you video and audio.

Or just:

gst-launch-1.0 -e -v playbin uri=udp://127.0.0.1:8554

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com





More information about the gstreamer-devel mailing list