[FFmpeg-user] x11grab video stalls every 30 seconds in screencapture
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Jun 7 11:31:32 CEST 2013
Star Brilliant <b13253 <at> gmail.com> writes:
> > ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768
> > -i :0.0 -acodec libvorbis -ar 44100 -vcodec libx264
> > -preset ultrafast -gp 0 -threads 0 ffg4.mkv
> I have been experiencng this problem as well. After it
> stalls, the video and audio lost sync.
Could you test with -threads 1 ?
That should at least improve the situation.
Is it fine if you record a (very) small resolution?
Generally, please always add your command line and
complete, uncut console output.
More information about the ffmpeg-user