[FFmpeg-user] ffmpeg - avfoundation Audio stutters / sounds broken with screen capture [sample, config, output included]

Moritz Barsnick barsnick at gmx.net
Sun Apr 26 12:14:45 CEST 2015

Hi Kevin,

On Sat, Apr 25, 2015 at 20:42:12 -0700, kevin wrote:
> The recorded audio is stuttering, breaks, or there is short bursts.
> ffmpeg -f avfoundation -i "1:0" -r 25  -c:v libx264 -preset fast -crf 22
> -c:a libfdk_aac  -b:a 128k -ar 44100 -s 640x480 screen.mp4

What happens to the audio if you disable the capturing of video?
(Something like "-vn".) Just an idea of something to test.

Furthermore, instead of using "-r", avfoundation should recently
support the input option "-framerate" (to be set before "-i"). This has
nothing to do with your issue.

I'm not at all sure any of this will help you though. I'm just thinking
out loud.


More information about the ffmpeg-user mailing list