<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi all,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">I have spotted the issue that had been desc</span><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">ribed 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:</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">RTSP server --> gstreamer RTSP server --> RTSP client app.</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><font color="#000000" face="Calibri, Helvetica, sans-serif" size="3">The case can be reproduced on 1.14 (but older version also have the same </font><font color="#000000" face="Calibri, Helvetica, sans-serif"><span style="caret-color: rgb(0, 0, 0);">behavior</span></font><font color="#000000" face="Calibri, Helvetica, sans-serif" size="3">):</font></div>
<div style="background-color: rgb(255, 255, 255);"><font color="#000000" face="Calibri, Helvetica, sans-serif" size="3"><br>
</font></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);">RTSP server</span><br>
<font color="#000000" face="Calibri, Helvetica, sans-serif" size="3"></font></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);">test-launch “( filesrc location=test.264 ! h264parse ! rtph264pay name=pay0 pt=96 )”<br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);"><br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);">RTSP client/server</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);">test-launch “( rtspsrc location=rtsp://127.0.0.1:8554/test <span style="caret-color: rgb(0, 0, 0); color: rgb(51, 51, 51); font-family: "Segoe UI Web (Cyrillic)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal;">protocols=4</span>
! rtph264depay ! rtph264pay name=pay0 pt=96 )” -p 8555<br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);"><br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);">RTSP client</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);">gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8555/test protocols=4 latency=1000 ! rtph264depay ! h264parse ! decodebin ! videoconvert ! autovideosink sync=false<br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);"><br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><span style="caret-color: rgb(0, 0, 0);"><span style="font-family: Calibri, Helvetica, sans-serif;"><span style="font-size: 12pt;"><span style="color: rgb(0, 0, 0);"><span style="background-color: rgb(255, 255, 255);">Here
are other threads of the case that I have found:</span></span></span></span><br>
</span></div>
<div style="background-color: rgb(255, 255, 255);"><a href="http://gstreamer-devel.966125.n4.nabble.com/green-artifacts-at-start-h264-rtsp-tt4668975.html#none" style="caret-color: rgb(0, 0, 0);">https://lists.freedesktop.org/archives/gstreamer-devel/2014-October/049896.html</a><br>
</div>
<div style="background-color: rgb(255, 255, 255);"><a href="https://lists.freedesktop.org/archives/gstreamer-devel/2011-July/032329.html">https://lists.freedesktop.org/archives/gstreamer-devel/2011-July/032329.html</a><br>
</div>
<div style="background-color: rgb(255, 255, 255);"><br>
</div>
<div style="background-color: rgb(255, 255, 255);">Can anybody help me how to get the video stream without loosing first GOP.</div>
<div style="background-color: rgb(255, 255, 255);"><br>
</div>
<div style="background-color: rgb(255, 255, 255);">Best regards,</div>
<div style="background-color: rgb(255, 255, 255);">Oleksii</div>
</body>
</html>