[FFmpeg-trac] #4437(avdevice:open): AVFoundation recording has consistent intermittent frame drops

FFmpeg trac at avcodec.org
Mon Sep 19 14:58:51 EEST 2016

#4437: AVFoundation recording has consistent intermittent frame drops
             Reporter:  LordHDL      |                    Owner:  mateo
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  avfoundation bounty                |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |

Comment (by LordHDL):

 All right so I have yet ''more'' information that might be helpful.  I
 have these 2 videos recorded via Syphon Recorder (couldn't use PixelToy
 because it didn't work with Syphon Inject):

 (Ignore registration prompt and download directly.)


 The first one is very similar to the videos I get when recording using
 ffmpeg.  The second is perfectly smooth.  The difference is in choosing a
 number frame rate versus "As Fast As Possible" in the preferences.  Here
 are their average rates respectively:


 The source in question does not run higher than 60 FPS anyway, so choosing
 "As Fast As Possible" nets every possible frame it can deliver, resulting
 in a perfect video.

 Is there a way to set ffmpeg to record "as fast as possible" with
 AVFoundation screen capture?  I think that may be a good workaround for
 this issue for the time being.

Ticket URL: <https://trac.ffmpeg.org/ticket/4437#comment:41>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list