[FFmpeg-trac] #8196(undetermined:new): ffmpeg X11 grab video too fast

FFmpeg trac at avcodec.org
Tue Dec 10 02:59:34 EET 2019


#8196: ffmpeg X11 grab video too fast
-------------------------------------+-------------------------------------
             Reporter:  fld          |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  x11grab      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by safinaskar):

 I got similar problem one time. I captured screen using x11grab, output
 video had mostly correct fps, but there are fragments with unusually high
 fps. It turned out that such fragments follow periods when my computer is
 in suspend mode. So my guess is so: when computer is suspended, ffmpeg is
 unable to capture frames, and when the computer wakes up, ffmpeg tries to
 "catch up" and thus temporary raises fps. If I remember correctly I fixed
 this by replacing "-r NUMBER" with "-framerate NUMBER"

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8196#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list