Skip to content

VLC 3.0.0 regression - RC socket is not created

Per Jean-Baptiste Kempf submitting ticket from forum topic: https://forum.videolan.org/viewtopic.php?f=2&t=142834

Pasting OP information:

VLC 3.0.0 bug - socket is not created
Postby Kuba Marcinkowski » 25 Feb 2018 14:36

Hi!
I had VLC 2.2.8 32 bit - rc interface through socket worked, in place installed VLC 3.0.0 bit - it is not working anymore.

Example command line:
vlc.exe --extraintf rc --rc-host localhost:8811

Socket is not created in VLC 3. In Process Explorer, vlc.exe properties, under TCP/IP no sockets. In VLC 2 socket is created with LISTENING status. Firewall is not a problem.

Beside installable versions, also checked:

http://download.videolan.org/pub/videolan/vlc/
vlc-2.2.8-win32.7z - Do work
vlc-3.0.0-win32.7z 09-Feb-2018 21:21 - Do not
vlc-3.0.0-win64.7z 09-Feb-2018 20:16 - Do not

https://nightlies.videolan.org/
vlc-3.0.1-20180225-0303-win32.7z - Do not
vlc-4.0.0-20180225-0302-dev-win32.7z - Do not

No change in this behaviour after using "VLC media player - reset preferences and cache files".
All versions of VLC 3 checked also with "portable" folder in them (vlc.exe double-clicked, "portable" folder populated by default settings).

Also checked with QT preferences window. Main interfaces > additional interfaces: oldrc; under RC, TCP parameter: "localhost:8811". After saving, again opened preferences has blank TCP parameter. Tried with and without restarting, in all versions (even 2.2.8), socket is not created and host/port not saved.

I am using this feature to control VLC with some out of QT interface interactions. My Python script can not work when VLC is not creating a socket.
OS: Windows 7 64 bit.

Please fix this or give me a new way of doing this.

My OS is Windows 10 home, 64bit. My proof testing is with PuTTY.

The working version (2.2.6 installed):

$ ./vlc --extraintf rc --rc-host localhost:4212
[04e96e8c] oldrc interface: VLC media player - 2.2.6 Umbrella
[04e96e8c] oldrc interface: Copyright ▒ 1996-2017 the VideoLAN team
[04e96e8c] oldrc interface:
Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"

[028e04ec] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.

and I can PuTTY in and control the player with text commands.

The non-working version (3.0.0; not installed; run from a local directory):

$ ./vlc --extraintf rc --rc-host localhost:4212
[0546e628] main interface error: Cannot resolve  port 0 : No such host is known.
[0546e628] main interface error: no suitable interface module
[027bcfb0] main libvlc error: interface "rc,none" initialization failed
[027bcfb0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[027be8e0] main playlist: playlist is empty

and when I try to PuTTY in I get "Network error: connection refused" from PuTTY.

Edited by Jean-Baptiste Kempf
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information