Picam gst-rtsp to vlc
Tim Müller
tim at centricular.com
Sat Oct 15 15:18:22 UTC 2016
On Sat, 2016-10-15 at 07:43 -0700, henryco wrote:
Hi,
> i'm trying to receive a gst-rtsp stream from a raspberry Pi camera on
> vlc.
>
> On Pi
>
> raspivid -t 0 -w 800 -h 600 -fps 10 -b 4000000 -vf -n -o - | gst-
> launch-1.0
> -v fdsrc ! h264parse ! gdppay ! tcpserversink host=127.0.0.1
> port=5000
>
> followed by
>
> test-launch "( tcpclientsrc host=127.0.0.1 port=5000 ! gdpdepay !
> rtph264pay
> name=pay0 pt=96 )"
> gives message:
> stream ready at rtsp: 127.0.0.1:8554 test
>
> but on client PC, vlc is not able to show the video and thgere are no
> error messages
I would recommend Jan's rpicamsrc element which does roughly the same
as raspivid, but you can use it directly in a GStreamer pipeline. That
way you can just use it in test-launch directly. It has the added
benefit of setting proper timestamps on the buffers.
You can find it here: https://github.com/thaytan/gst-rpicamsrc
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list