Get mjpeg udp stream from actioncam HX-A1
Tim Müller
tim at centricular.com
Wed Apr 13 10:01:54 UTC 2016
On Wed, 2016-04-13 at 09:14 +0000, MICHON Anthony wrote:
Hi,
> C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0.exe udpsrc port=1234
> ...
> ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
> Internal data flow error.
> ...
> streaming task paused, reason not-linked (-1)
Your pipeline is incomplete. The source will just receive data and try
to push the data to the next element but there is no next element.
You could try if this works:
gst-play-1.0 udp://127.0.0.1:1234
This should work if the stream is typefindable (i.e. MPEG-TS over UDP).
For RTP maybe the cam has an in-built RTSP server you can connect to to
set up the streaming?
Otherwise you'll need a manual pipeline, something like
udpsrc caps=application/x-rtp,media=video,encoding-name=JPEG,clock-
rate=90000 ! rtpjitterbuffer latency=200 ! rtpjpegdepay ! queue !
decodebin ! videoconvert ! videoscale ! autovideosink
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list