I'm using the VLC Python bindings (vlc.py) under wxPython on Windows, and trying to read the output from VLC. I'm playing an RTSP stream (security camera) and especially interested in the messages shown when it restarts the stream:
[0623b578] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1443 ms)
I've tried hooking stdout and stderr, and neither are working.
I can suppress all output by initting VLC with:
self.Instance = vlc.Instance("--verbose=-1")
Does anyone have any idea how I might catch VLC's messages from my script? Modifying vlc.py is fine.
Or failing that, is there some way to obtain that "pts_delay" (the amount of buffering on an RTSP stream)?