Is there a way to make captions like YouTube's auto-generated captions but local...

@hexaitos@social.jnpw.net

Is there a way to make captions like YouTube's auto-generated captions but locally on my own hardware from a video / audio source?