1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] how to play a wav file in mono mode with python-vlc?

Discussão em 'Python' iniciado por Stack, Setembro 14, 2024.

  1. Stack

    Stack Membro Participativo

    I know how to play a wav file with python_vlc, e.g (here to play an audio stream)

    import vlc

    instance=vlc.Instance('--input-repeat=-1','--fullscreen')
    player=instance.media_player_new()
    url="my url"
    media=instance.media_new(url)
    player.set_media(media)
    player.play()



    but I didn't find any command to play it in mono mode. Any help appreciated.

    I've asked the support of my hardware and searched among stackoverflow questions.

    Continue reading...

Compartilhe esta Página