Tried other video players (haruna, smplayer, mpv) and every single one of them works without issues, so the problem seems to be specific only to vlc.