[FFmpeg-user] Video/Audio speed reduces when recording started

Mayuresh mayuresh.kshirsagar at gmail.com
Mon Aug 21 06:07:53 EEST 2017


Hi Gurus,

I have connected my bluetooth device to my mac (AirPods) and try to record
the mic as well as a running youtube video by running the command:

ffmpeg -f avfoundation -video_size 640x480 -framerate 30
-video_device_index  0 -i ":2" outsf.avi

However when I start the recording I see 2 problems:
1. The sound thats coming in the airpods has gaps - like it stops for a
couple of milli seconds
2. The speed of the running youtube autio/video reduces to 1/2 or even lower

What am I doing wrong?

If I use the built-in audio and mic, the recording runs fine without any
problem.

I am using the soundflower 2ch to capture and redirect the output to the
recording input, and have created the aggregate devices and multi-output
devices.

Let me know.

Thanks,
Mayuresh


More information about the ffmpeg-user mailing list