Page 1 of 1

Preventing output from vlc.py

Posted: 29 Nov 2016 09:47
by gu2Shaeg
I'm using the VLC Python bindings module vlc.py in a console application (for Linux) and I'm having trouble to mute / redirect the output of VLC:

Code: Select all

[00007f04c4000e98] http access: Raw-audio server found, mp3 demuxer selected
Already tried to redirect stderr and stdout but it didn't work.

How would I do that?

Re: Preventing output from vlc.py

Posted: 29 Nov 2016 15:03
by nevare
You can mute VLC output by passing the --verbose setting when initializing. Setting it to -1 will mute:

Code: Select all

vlc.Instance("--verbose=-1")