How to set audio visualization with python-vlc ?

This forum is about all development around libVLC.
spfl97
New Cone
New Cone
Posts: 3
Joined: 30 May 2021 02:56

How to set audio visualization with python-vlc ?

Postby spfl97 » 30 May 2021 03:14

My main problem is I can't display external subtitle(.srt) of audio file when it's playing.
I know it can be fixed on GUI by setting an audio visualizer, but how can I do this in python-vlc ?

Image

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: How to set audio visualization with python-vlc ?

Postby mfkl » 31 May 2021 03:55

Code: Select all

--audio-visual={any,goom,projectm,visual,glspectrum,none} Audio visualizations This adds visualization modules (spectrum analyzer, etc.).
https://wiki.videolan.org/VLC_command-line_help
https://mfkl.github.io

spfl97
New Cone
New Cone
Posts: 3
Joined: 30 May 2021 02:56

Re: How to set audio visualization with python-vlc ?

Postby spfl97 » 31 May 2021 22:44

Code: Select all

--audio-visual={any,goom,projectm,visual,glspectrum,none} Audio visualizations This adds visualization modules (spectrum analyzer, etc.).
https://wiki.videolan.org/VLC_command-line_help
Thanks a lot, I was looking in wrong place https://www.olivieraubert.net/vlc/python-ctypes/doc/.

could you tell me that is there any command for getting showing subtitle in MediaPlayerTimeChanged or not, please ?

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: How to set audio visualization with python-vlc ?

Postby mfkl » 01 Jun 2021 03:44

could you tell me that is there any command for getting showing subtitle in MediaPlayerTimeChanged or not, please ?
Can you rephrase that please?
https://mfkl.github.io

spfl97
New Cone
New Cone
Posts: 3
Joined: 30 May 2021 02:56

Re: How to set audio visualization with python-vlc ?

Postby spfl97 » 01 Jun 2021 09:30

could you tell me that is there any command for getting showing subtitle in MediaPlayerTimeChanged or not, please ?
Can you rephrase that please?
I mean is there a way to get the currently displayed subtitle or subtitle of a specific time by command ?
I think I should do this manually but I'm not sure. sorry for my bad English.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to set audio visualization with python-vlc ?

Postby Rémi Denis-Courmont » 01 Jun 2021 13:42

You can do that with a SPU filter plugin, not with LibVLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 28 guests