oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
381 stars 108 forks source link

disable the option audio "time-stretching audio" #260

Open fredmo opened 11 months ago

fredmo commented 11 months ago

Hello All,

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

Thank you.

fredmo commented 11 months ago

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()