RTSP Server test-launch question
Sebastian Dröge
sebastian at centricular.com
Fri Jun 6 02:28:18 PDT 2014
On Fr, 2014-05-30 at 11:55 +0100, Joel Holdsworth wrote:
> Hi Tim,
>
> Thanks for your hints. I compiled GStreamer 1.3.2 and plugins from
> source, and this fixed this issue and a couple of others.
>
> But now I have a new problem!
>
> I'm trying to connect to a CCTV video encoding device on the LAN via
> RTSP. But since the upgrade rtspsrc has become nearly unusable.
>
> So doing this...
>
> gst-launch-0.10 rtspsrc location=rtsp://192.168.1.51:8554/ufirststream !
> application/x-r tp,payload=96 ! rtph264depay ! decodebin ! autovideosink
>
> ...works 10 times out of 10, but doing this...
>
> gst-launch-1.0 rtspsrc location=rtsp://192.168.1.51:8554/ufirststream !
> application/x-r tp,payload=96 ! rtph264depay ! decodebin ! autovideosink
>
> ...only works 2 times in 10. I put in the payload=96 filter, because
> there is some bundled metadata that I wanted to make sure was being
> discarded.
>
> The RTSP session gets set up, and I can see many incoming UDP RTP
> packets in wireshark, but these are never being played. Mostly the video
> window never appears.
>
> I tried tweaking the parameters a little, and so far the only parameter
> I've found that makes any difference is setting drop-on-latency=true,
> which sets gives me a corrupted mess at ~1FPS.
>
> The encoder device uses live555 as it's RTSP server, and it works
> reliably via VLC.
>
> Perhaps there's some issue with the device's RTSP server implementation,
> but arguably GStreamer should be tolerant of it.
>
> Any hints about the best way to track down the issue?
Try running gst-launch-1.0 with -v to see what exactly is built there,
and if that doesn't help yet the debug logs should be able to help. You
can enable them by setting e.g. GST_DEBUG=6 in the environment.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140606/42c302e7/attachment.sig>
More information about the gstreamer-devel
mailing list