Author Topic: FFGrab4Laz = How to record with FFmpeg and Lazarus  (Read 10054 times)


  • Full Member
  • ***
  • Posts: 222
Re: FFGrab4Laz = How to record with FFmpeg and Lazarus
« Reply #15 on: March 03, 2021, 02:48:23 pm »
So it is probably caused by the CPU load...
It's quite easy to differ, where this AudioLatency comes from:

If You hear the Sound asynchron, while watching the Stream, it's the AudioLatency of Your System.
To improve that, You can:
- optimize Your SystemSettings for Audio (e.g. Priority)
- lower the AudioQuality in Your SystemSettings (SampleFormat, SampleRate)
- use a better/faster SoundCard and/or use a better/faster SoundDriver

If You hear the Sound synchron, but the recorded File is asynchron, it's the CPU-Load.
In this Case, You have to try around to optimize the FFmpeg-CommandLine for Your PC.

To check the AudioLatency on Windows, I use the 'DPC Latency Checker v1.4.0' by Thesycon.
It's not available any more on the Thesycon-Site, but it can still be downloaded, e.g. here.
« Last Edit: March 03, 2021, 02:54:11 pm by metis »
Life could be so easy, if there weren't those f*** Details.


TinyPortal © 2005-2018