When I try to use VLC in command line in Windows, it opens up the VLC GUI. So is there a way I can use it as command line command instead?
1 Answer
Below is how to run headless vlc...
"C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet "c:\test\test.mp3"
Just to clarify...
<path to vlc player> -I dummy --dummy-quiet <path to file>
Question had already existed, please see source below:
How do I use VLC Command Line In Windows Batch Line Without Showing GUI?
Thanks @retnikt
-
1you should flag it as a duplicate instead of copying the solution from there like thisphuclv– phuclv2018-10-19 00:53:59 +00:00Commented Oct 19, 2018 at 0:53
-
Apologies, I didn't realise that clicking flag has multiple options, I will use this in future. Thanks!CraftyB– CraftyB2018-10-19 00:57:05 +00:00Commented Oct 19, 2018 at 0:57
-
While this works in cmd, in PowerShell it fails with
Unexpected token '-I' in expression or statement.. But prepending it with&seems to fix the issueYakovL– YakovL2023-09-13 07:40:52 +00:00Commented Sep 13, 2023 at 7:40