VLC Comman Line Options like no GUI --play-and-exit ?

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.
darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

VLC Comman Line Options like no GUI --play-and-exit ?

Postby darius » 15 Jul 2010 10:52

Hi,

still looking for examples of command line options CLI
to play audio files with VLC in no GUI mode ( I was told to use vlc -I dummy ).

The problem is vlc -I dummy playing audio file opens
another DOS window dumping messages into that window
and on play end, VLC process is not closed,
so running another DOS CLI command, opens another instance of VLC.

Any solution, any idea ?


VLC Comman Line Options like no GUI --play-and-exit ?


Tried the following options

vlc -f --play-and-exit --volume=%VOL% --start-time=%START% --stop-time=%STOP% %MOVIE%

but --play-and-exit is not valid option in CLI


So working CLI VLC examples are wanted ( no GUI, --play-and-exit )

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby VLC_help » 15 Jul 2010 14:55

--play-and-exit is valid option. You could also try to add vlc://quit to playlist.

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby darius » 15 Jul 2010 15:32

--play-and-exit is valid option. You could also try to add vlc://quit to playlist.
Thanks.
Excellent solution.

Today I can play
DOS CLI > vlc -I dummy t.mp3 vlc://quit

The only problem is ( -I dummy) option opens second DOS window dumped with error messages

How could I save error messages from second DOS Window for your review ?

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby darius » 16 Jul 2010 13:06

--play-and-exit is valid option. You could also try to add vlc://quit to playlist.
Tried --play-and-exit many times and always failed.

"The command line options couldn't be loaded, check that they are valid."

Could you refer me to a number of DOS CLI > working examples with working options ?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby VLC_help » 16 Jul 2010 17:12

"The command line options couldn't be loaded, check that they are valid."
You have either typo in command, or you are missing whitespace or you have whitespace at wrong places.

You can use --dummy-quiet if you don't want any message window.

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby darius » 16 Jul 2010 23:39

"The command line options couldn't be loaded, check that they are valid."
You have either typo in command, or you are missing whitespace or you have whitespace at wrong places.

You can use --dummy-quiet if you don't want any message window.
Thanks.
Could you refer me to a list of working DOS CLI examples
like --play-and-exit ?

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby darius » 17 Jul 2010 00:41

"The command line options couldn't be loaded, check that they are valid."
You have either typo in command, or you are missing whitespace or you have whitespace at wrong places.

You can use --dummy-quiet if you don't want any message window.

follow-up

just tested

DOS CLI > vlc -I dummy--quiet t.mp3 vlc://quit
opens GUI, plays audio files and closes vlc application

DOS CLI > vlc -I dummy t.mp3 vlc://quit
open another DOS window for vlc and dumps application messages into it,
plays audio files and closes DOS window.


Does it mean there is no GUI , no another DOS window parameters option posssible ?

I use System cmd in Windows/ DOS to run vlc , so I need neither GUI nor extra DOS window.

But I don't have access to manual describing full and all VLC CLI parameters and options.

If available, please refer me to a respective web address.

Darius

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby VLC_help » 17 Jul 2010 12:38

Code: Select all

vlc -I dummy --dummy-quiet t.mp3 vlc://quit

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: VLC Comman Line Options like no GUI --play-and-exit ?

Postby darius » 18 Jul 2010 00:05

Code: Select all

vlc -I dummy --dummy-quiet t.mp3 vlc://quit
Thanks for your excellent support.

Just installed Cygwin coming with VLC ported for Cygwin/ Vista
and will do some tests, calling VLC from CLI or within a bash shell file.

Thanks.

I would like to have VLC called by System in Asterisk ported for Cygwin.

Unfortunately what is ported is old version of Astrisk for Cygroot and asterisk is not ported (1.6) for Cygwin
so I can't use VLC to play with asterisk.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests