2

Question? The task is to record simultaneously everything that we see on the monitor and hear from the speakers.

I wrote the following script:

Set the variable:

speaker=alsa_output.pci-[my speakers].analog-stereo.monitor

We write:

ffmpeg -use_wallclock_as_timestamps 1 -f pulse \
-i $speaker -f x11grab -s 1200x900 -r 15 -i :0.0 \
-vcodec qtrle screencast2.mov

The problem is that the sound is recorded with a delay, and of course I need it synchronously. What is the reason? What to fix?

I plowed the entire I> and could not find the answer.

mchid
  • 44,904
  • 8
  • 102
  • 162
Grannik
  • 21

0 Answers0