Lossing first GOP when RTSP proxy server is used

Karbachevskyi Oleksii oleksii.karbachevskyi at outlook.com
Fri Apr 27 14:40:28 UTC 2018


Hi all,

I have spotted the issue that had been described in gstreamer-devel list several times. It is about getting grey/green video during first GOP if video is transmitted by RTSP via intermediate server as following:

RTSP server --> gstreamer RTSP server --> RTSP client app.

The case can be reproduced on 1.14 (but older version also have the same behavior):

RTSP server
test-launch “( filesrc location=test.264 ! h264parse ! rtph264pay name=pay0 pt=96 )”

RTSP client/server
test-launch “( rtspsrc location=rtsp://127.0.0.1:8554/test protocols=4 ! rtph264depay ! rtph264pay name=pay0 pt=96 )” -p 8555

RTSP client
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8555/test protocols=4 latency=1000 ! rtph264depay ! h264parse ! decodebin ! videoconvert ! autovideosink sync=false

​​​​Here are other threads of the case that I have found:
https://lists.freedesktop.org/archives/gstreamer-devel/2014-October/049896.html<http://gstreamer-devel.966125.n4.nabble.com/green-artifacts-at-start-h264-rtsp-tt4668975.html#none>
https://lists.freedesktop.org/archives/gstreamer-devel/2011-July/032329.html

Can anybody help me how to get the video stream without loosing first GOP.

Best regards,
Oleksii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180427/fc678f2b/attachment.html>


More information about the gstreamer-devel mailing list