python-vlc icon indicating copy to clipboard operation
python-vlc copied to clipboard

disable the option audio "time-stretching audio"

Open fredmo opened this issue 2 years ago • 1 comments

Hello All,

With the python-vlc, how could the option audio "time-stretching audio" be set to disable?

Thank you.

fredmo avatar Sep 28 '23 15:09 fredmo

I tried this GPT code, but it's still playing with time-stretching audio enabled :

// Créer une instance de vlc player = vlc.Instance("--no-audio-time-stretch")

// Charger le fichier mp3 media = player.media_new("file:///home/user/bob.mp3")

// Créer un objet lecteur média mp = player.media_player_new()

// Définir le média à lire mp.set_media(media)

// Lancer la lecture mp.play()

fredmo avatar Sep 28 '23 15:09 fredmo