<p>So I solved this by simply adding an audio stream instead of having "none" selected.  Doing this makes <code>-framedrop</code> (default) work properly.  I left the master clock as default as well (audio) instead of changing it to <code>ext</code>.</p>

CC BY-SA 4.0
2018-08-14T20:42:42.500Z
Did you try "-an" instead of "1:none"?
junkyardsparkle
CC BY-SA 3.0
2017-06-23T12:50:19.557Z
2017-06-30T16:02:42.830Z
2017-06-30T16:02:42.830Z
HDL
<p>I have a Magewell capture device that I'm trying to preview with ffplay.  It works great, except over time the video will become choppy and lag behind the actual live feed.  Right clicking on the ffplay window will sync it back up, however continuously right clicking it is obviously not a good solution.</p>

<p>I am using a command similar to the following to display my capture:</p>

<pre><code>ffplay -f avfoundation -pix_fmt 0rgb -framerate 60 -i "1:none"
</code></pre>

<p>How do I get it to remain synced the entire time?  Viewing ffplay stats shows that there is a buffer that gets filled over time and right clicking clears it.  You can also force this by pausing the stream and unpausing.  I need it to display without filling the buffer at all.</p>

<p>I've tried using this and it helps to some extent, but doesn't completely disable the buffer:</p>

<pre><code>-probesize 32 -sync ext
</code></pre>

<p>With that it takes longer to fill as most frames are dropped if it can't read them fast enough, however it does still fill up over time.</p>

<video><ffmpeg><video-capture>
ffplay - Live capture video gradually lags behind
HDL
# ffplay - Live capture video gradually lags behind

(Asked by: username_0 on 2017-06-23)

I have a Magewell capture device that I'm trying to preview with ffplay.  It works great, except over time the video will become choppy and lag behind the actual live feed.  Right clicking on the ffplay window will sync it back up, however continuously right clicking it is obviously not a good solution.
I am using a command similar to the following to display my capture:
ffplay -f avfoundation -pix_fmt 0rgb -framerate 60 -i "1:none"

How do I get it to remain synced the entire time?  Viewing ffplay stats shows that there is a buffer that gets filled over time and right clicking clears it.  You can also force this by pausing the stream and unpausing.  I need it to display without filling the buffer at all.
I've tried using this and it helps to some extent, but doesn't completely disable the buffer:
-probesize 32 -sync ext

With that it takes longer to fill as most frames are dropped if it can't read them fast enough, however it does still fill up over time.

**Tags:** video, ffmpeg, video-capture


---

## 1 answers

### Answer by username_0 on 2017-06-23. Score: 2 | Accepted answer

So I solved this by simply adding an audio stream instead of having "none" selected. Doing this makes `-framedrop` (default) work properly. I left the master clock as default as well (audio) instead of changing it to `ext`.

> **Comments:**
> **username_1**: Did you try "-an" instead of "1:none"?  

---

