Sound crash after fews seconds with LibVLC
Hello,
I'm developer of an application (FreetuxTV) based on LibVLC. I get some sound problems with a specific type of stream. These streams are provided by a French ISP (Free). The stream details is in attachment.
My problem is image and sound start correctly, but after few seconds, the sound crash and never get back.
I can't reproduce the problem directly with VLC. I think, some options I pass to LibVLC might be responsible to this problem.
In FreetuxTV:
- I'm using "--ignore-config --no-video-title-show", and I get the problem, but the LibVLC report a problems:
../../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[0x1449540] pulse audio output error: Xlib not initialized for threads
- If I add "--no-xlib", in the program, the problem is still present.
I tried with a test program (in attachment):
- with "-vvv" only, i can't reproduce the problem
- with "-vvv --no-xlib", i can reproduce the problem
I think there is a problem between PulseAudio and disabling xlib.
For information, I'm using VLC 1.1.13 from Linux Mint Debian Edition (2011/09). One user report me the same problem with VLC 1.1.10 on Ubuntu 10.04 (http://code.google.com/p/freetuxtv/issues/detail?id=130)
I give you log, stream details, and the sample program that allows to repoduce the problem. Note that the used stream can only be used with french people using Free ISP.