Unable to launch VLC UI interface via GTK
Posted: 14 Oct 2016 10:09
I want to launch the VLC UI interface from the GTK application using libvlc_add_intf API .
But some how VLC UI Interface does'nt launches from GTK application ,Console logs says Xlib not initialized for threads etc and
then VLC goes to command line mode .
Is their any other away to launch the VLC UI interface from the GTK Application ?
Console Log:
[0x1340598] main libvlc: Running vlc with the default interface. Use 'cvlc' to
use vlc without interface.
[0x1414888] main interface debug: looking for interface module matching "any":
19 candidates
../../../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.
[0x1414888] qt4 interface error: Xlib not initialized for threads
../../../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.
[0x1414888] skins2 interface error: Xlib not initialized for threads
[0x1414888] skins2 interface error: initializing xlib for multi-threading
failed
[0x1414888] skins2 interface error: cannot initialize OSFactory
[0x1414888] [cli] lua interface debug: Found lua interface script:
/usr/lib/vlc/lua/intf/cli.luac
[0x1414888] [cli] main interface debug: using interface module "lua"
[0x1414888] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.6 Rincewind
Command Line Interface initialized. Type `help' for help.
But some how VLC UI Interface does'nt launches from GTK application ,Console logs says Xlib not initialized for threads etc and
then VLC goes to command line mode .
Is their any other away to launch the VLC UI interface from the GTK Application ?
Console Log:
[0x1340598] main libvlc: Running vlc with the default interface. Use 'cvlc' to
use vlc without interface.
[0x1414888] main interface debug: looking for interface module matching "any":
19 candidates
../../../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.
[0x1414888] qt4 interface error: Xlib not initialized for threads
../../../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.
[0x1414888] skins2 interface error: Xlib not initialized for threads
[0x1414888] skins2 interface error: initializing xlib for multi-threading
failed
[0x1414888] skins2 interface error: cannot initialize OSFactory
[0x1414888] [cli] lua interface debug: Found lua interface script:
/usr/lib/vlc/lua/intf/cli.luac
[0x1414888] [cli] main interface debug: using interface module "lua"
[0x1414888] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.6 Rincewind
Command Line Interface initialized. Type `help' for help.