Trying to run VLC using X server
Posted: 10 Mar 2020 15:33
I am trying to run vlc on a headless server running Centos 7. I am connecting from a Windows laptop using ssh, the laptop runs X server.
I invoke vlc as follows:
$ vlc --x11-display :0 ~/Videos/Pexels_Videos_1093662.mp4
and see the following output:
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[00000000017929b8] core interface error: no suitable interface module
[00000000016bb168] core libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001779bf8] dbus interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message
[0000000001779bf8] core interface error: no suitable interface module
[00000000016bb168] core libvlc error: interface "dbus,none" initialization failed
[00000000016bb168] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000001783f98] qt4 interface error: Could not connect to X server
[0000000001783f98] skins2 interface error: cannot initialize OSFactory
[0000000001783f98] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.4 Weatherwax
Command Line Interface initialized. Type `help' for help.
> [00007f3900c08fb8] core decoder error: corrupt module: /usr/lib64/vlc/plugins/codec/libopus_plugin.so
[00007f3900c08fb8] core decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.
[00007f3900c08fb8] core decoder error: Codec not supported
[00007f3900c08fb8] core decoder error: VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))
[00007f3900c08fb8] core decoder error: corrupt module: /usr/lib64/vlc/plugins/codec/libopus_plugin.so
What am I doing wrong?
I invoke vlc as follows:
$ vlc --x11-display :0 ~/Videos/Pexels_Videos_1093662.mp4
and see the following output:
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[00000000017929b8] core interface error: no suitable interface module
[00000000016bb168] core libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001779bf8] dbus interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message
[0000000001779bf8] core interface error: no suitable interface module
[00000000016bb168] core libvlc error: interface "dbus,none" initialization failed
[00000000016bb168] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000001783f98] qt4 interface error: Could not connect to X server
[0000000001783f98] skins2 interface error: cannot initialize OSFactory
[0000000001783f98] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.4 Weatherwax
Command Line Interface initialized. Type `help' for help.
> [00007f3900c08fb8] core decoder error: corrupt module: /usr/lib64/vlc/plugins/codec/libopus_plugin.so
[00007f3900c08fb8] core decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.
[00007f3900c08fb8] core decoder error: Codec not supported
[00007f3900c08fb8] core decoder error: VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))
[00007f3900c08fb8] core decoder error: corrupt module: /usr/lib64/vlc/plugins/codec/libopus_plugin.so
What am I doing wrong?