[Bug 768059] Not able to play the RTSP stream in VLC or mplayer,

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 28 09:59:30 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768059

--- Comment #10 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Abu Abdulla from comment #9)

> what doesn't:
> ** gst-rtsp on Raspian (1.4.4 or 1.8.2)
> ** rpicamsrc on Raspian (latest image 27-5-16)/Ubuntu Mate (16.04). I have
> opened a ticket:
> https://github.com/thaytan/gst-rpicamsrc/issues/51
> ** adding h264parse will not make it works in Ubuntu Mate:
> $raspivid -n -vf -fl -t 0 -w 640 -h 480 -b 1200000 -fps 20 -pf baseline -o -
> | gst-launch-1.0 -v fdsrc do-timestamp=true ! h264parse ! gdppay !
> tcpserversink host=192.168.1.5 port=5000 | ./test-launch "( tcpclientsrc
> host=192.168.1.5 port=5000 ! h264parse ! gdpdepay ! rtph264pay
> config-interval=1 name=pay0 pt=96 )"
> ** adding h264parse for rpicamsrc  is not also not working:
> $./test-launch "( rpicamsrc bitrate=1000000 ! h264parse ! rtph264pay
> config-interval=1 name=pay0 pt=96 )"

How do all these not work?

> regarding the quality/latency. there is a lag of almost 5 seconds. in
> addition VLC is not working with the stream from gst-rtsp. Only mplayer is
> working with me. in addition Android internal player API (videoView) is not
> working with gst-rtsp, it works with live555 stream. live555 stream latency
> is less than 1 sec latency.

How does it not work with VLC or Android? "Not working" is nothing we can work
with really.

I assume something like this works fine in both?

$./test-launch "( videotestsrc is-live=true ! x264enc tune=zerolatency !
h264parse ! rtph264pay name=pay0 pt=96 )"

> I tried as well to receive it using gstreamer but still latency is 5 s:
> $gst-launch-1.0 rtspsrc location=rtsp://192.168.1.5:8554/test  latency=0 !
> decodebin ! autovideosink -vvv

Whenever you do such hacks with going via a TCP socket (or a fd) without any
additional means to handle synchronisation, you lose meaningful ways of
synchronization and timestamping. I'm not surprised if you get insane latencies
or other problems. (Also don't set latency on rtspsrc to 0, it should be the
value that reflects your network's jitter)

Let's get rpicamsrc working and then we can look into the latency problems, if
there still are any.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list