issues with "vlc.exe --version"

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
rpremuz
New Cone
New Cone
Posts: 6
Joined: 15 Apr 2009 18:02

issues with "vlc.exe --version"

Postby rpremuz » 11 Feb 2014 13:37

Hi!

VLC has many command line options.
On Windows I tried to run "vlc.exe --version" to get the version info but noticed that vlc.exe requires that the RETURN key is pressed to finish the command execution, which is rather unusual for that option.

Also, the output is not consistent: if you have write permissions in current working directory, vlc.exe saves the output in the vlc-help.txt file. Otherwise, it prints the output in the command window.

Moreover, I noticed that the output depends on the VLC language settings.
For English settings "vlc.exe --version" says:

Code: Select all

VLC version 2.1.3 Rincewind (2.1.3-0-ge6a71cc) Compiled by jb on villacia.jbkempf.com (Feb 5 2014 01:38:47) Compiler: gcc version 4.8.2 (GCC) This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by the VideoLAN team; see the AUTHORS file.
For German settings you get:

Code: Select all

VLC-Version 2.1.3 Rincewind (2.1.3-0-ge6a71cc) Kompiliert von jb auf villacia.jbkempf.com (Feb 5 2014 01:38:47) Kompiler: gcc version 4.8.2 (GCC) Dieses Programm kommt OHNE GEWÄHRLEISTUNG. Sie dürfen das Programm unter den Bedingungen der GNU General Public License weitergegeben; Schauen Sie für Details in die Datei COPYING. Geschrieben vom VideoLAN Team; Schauen Sie in die Datei AUTHORS.
But for Czech settings you get only the following:

Code: Select all

Verze pZkompilováno jb na villacia.jbkempf.com (Feb 5 2014 01:38:47) Kompilátor: gcc version 4.8.2 (GCC) Tento program je poskytován BEZ ZÁRUKY, v maximálním právn
You can see that the VLC version info is missing. The output is incorrect for a couple of other languages I tried.

I also tried to force the English UI with

Code: Select all

vlc.exe --language=en --version
but it still produces the language dependent output.

Any comment?
-- rpr.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: issues with "vlc.exe --version"

Postby Jean-Baptiste Kempf » 13 Feb 2014 21:54

I'm afraid all your observations are correct. Patches to fix are welcome.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests