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

2020-07-02 Thread Ram Shaffir
> 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 tr

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

2020-07-02 Thread Nicolas George
Ram Shaffir (12020-07-02): > In the last few weeks, I’m struggling to figure out the reason for why > my ffmpeg command that works well when running in the console but has > ALSA buffer xrun errors when it runs as a systemd service in RPI, > until now I don’t know for sure where the problem is, is

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

2020-07-02 Thread Ram Shaffir
Hello, In the last few weeks, I’m struggling to figure out the reason for why my ffmpeg command that works well when running in the console but has ALSA buffer xrun errors when it runs as a systemd service in RPI, until now I don’t know for sure where the problem is, is it in the alsa settings