DTS Discontinuity Error while Playing Media File with RTSP Url
<p>I am playing the media file on RTSP by fetching the streams directly from some server. I am getting DTS discontinuity in stream error. I have tried with both FFMPEG and FFPLAY.</p>

<p><strong>FFMPEG</strong></p>

<p>I am using the following ffmpeg command: </p>

<pre><code>ffmpeg -i rtsp://media:123456@10.10.167.20/41415308b3839f2 -f wav test.wav
</code></pre>

<p>As an output of this command, I am getting the following error:</p>

<p><a href="https://i.stack.imgur.com/cwBZy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cwBZy.png" alt="enter image description here"></a></p>

<p><strong>FFPLAY</strong></p>

<p>I am using the following ffplay command:</p>

<pre><code>ffplay rtsp://media:123456@10.10.167.20/41415308b3839f2
</code></pre>

<p>As an output of this command, I am getting the following error:</p>

<p><a href="https://i.stack.imgur.com/GukO0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GukO0.png" alt="enter image description here"></a></p>

<p>Can anyone please tell me that when this error usually occurs? Is there any reason behind this and any workaround for this? </p>