[FFmpeg-user] Screenrecording, audio is sped up when other process starts

Tarjei Bærland tarjeibaerland at gmail.com
Tue Mar 24 23:15:07 EET 2020

Hi again!

I "disabled" audio from Pygame by

import os
os.putenv('SDL_AUDIODRIVER', 'dummy')
os.putenv('SDL_AUDIODEV', '/dev/null')

which worked. Thanks for help!

How, however, could I ensure something like this not happening when I
launch another program who would like access to my default sound driver?


tir. 24. mar. 2020 kl. 21:49 skrev Tarjei Bærland <tarjeibaerland at gmail.com

> tir. 24. mar. 2020 kl. 21:40 skrev Ted Park <kumowoon1025 at gmail.com>:
>> Hi,
>> If you only need mic audio, grab hardware device exclusively or make sure
>> pygame doesn’t touch the same card/device.
>> Regards,
>> Ted Park
> With the risk of sounding ignorant ... how would I "grab hardware device
> exclusively"?
> I can't with my limiting googling capabilities find out how to not enable
> the sound mixer in pygame.
> However, the "glitch" persists even after completely closing the python
> process.
> Regards,
> Tarjei

More information about the ffmpeg-user mailing list