[FFmpeg-user] 'ALSA buffer xrun' errors only when running as systemd

Ram Shaffir ram at ram.sh
Thu Jul 2 15:48:59 EEST 2020


> ALSA xruns happen when ffmpeg does not read/write the audio device frequently enough and the hardware buffer fills/dries up.

> I suspect the difference lies in Linux giving different priorities to processes detected as interactive and processes detected as background.

Thank you! I will try to find out how to set a higher priority for my service.


More information about the ffmpeg-user mailing list