[FFmpeg-user] x11grab video stalls every 30 seconds in screencapture

hirschhornsalz gupiez at gmail.com
Wed Dec 11 01:52:56 CET 2013


If the stall happens exactly every 30 seconds, it is most likely from the
linux kernel, which does a dirty page writeback if a page gets older than 30
seconds.
If the amount of memory written in 30 sec is to big, the writeback may last
significantly longer the a frame (33 msec) and you lose frames.

You can try either


for a writeback every second (possibly a even lower value)
or, if you have lots of RAM (more than the size of the screencast)



for completely avoiding writeback fpr 10 minutes worth of screencast.





--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/x11grab-video-stalls-every-30-seconds-in-screencapture-tp4651242p4662670.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list