[FFmpeg-user] Audio/Video slowly desync while using ffmpeg's x11grab

James Darnley james.darnley at gmail.com
Sun Feb 10 11:49:28 CET 2013

On 2013-02-10 10:47, Carl Eugen Hoyos wrote:
>> The command I use to capture is
>> ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 
>> -s 640x480 -i :0.0+256,256 -acodec pcm_s16le 
>> -vcodec libx264 -crf 0 -preset ultrafast 
>> -threads 0 -y Capture.mkv
> (If your cpu really is single-core, I would expect 
> -threads 1 to perform better.)

Fortunately x264 is aware of this too and will use just a single thread.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130210/34bcfde1/attachment.asc>

More information about the ffmpeg-user mailing list