Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-14T20:42:42.500Z
Answers.Text: Did you try "-an" instead of "1:none"?
Answers.UserDisplayName: junkyardsparkle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-23T12:50:19.557Z
Answers.LastActivityDate: 2017-06-30T16:02:42.830Z
Answers.LastEditDate: 2017-06-30T16:02:42.830Z
Answers.UserDisplayName: HDL
Body: <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>
  
Tags: <video><ffmpeg><video-capture>
Title: ffplay - Live capture video gradually lags behind
UserDisplayName: HDL
ThreadText: # 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"?  
  
  ---
  
  