problem with vlc command line

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.
tomerra
New Cone
New Cone
Posts: 5
Joined: 18 Feb 2008 18:43

problem with vlc command line

Postby tomerra » 19 Feb 2008 07:37

I am trying to run this code:

Code: Select all

vlc --play-and-exit movie_test.3gp
vlc does not recognize the --play-and-exit command - any idea?

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: problem with vlc command line

Postby Jean-Baptiste Kempf » 19 Feb 2008 10:27

vlc porn.3gp vlc:quit
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.

tomerra
New Cone
New Cone
Posts: 5
Joined: 18 Feb 2008 18:43

Re: problem with vlc command line

Postby tomerra » 19 Feb 2008 11:11

Thx so much!

carl_2
New Cone
New Cone
Posts: 1
Joined: 12 Mar 2008 22:22

Re: problem with vlc command line

Postby carl_2 » 12 Mar 2008 22:40

vlc porn.3gp vlc:quit
Mmmh, I'm sorry
I added
"play-and-exit=1"
and set
"play-and-stop=1"
in my "vlcrc"
Then typed "vlc.exe -I rc good.mp3 vlc:quit" in the cmd window. Vlc plays the file
but, when finished playing the cmd-window is still on my desktop. And vlc is waiting for an input
after entering "quit" vlc ends and closes the window. I use version 0.8.6e Janus on a WIN XPprof SP2++ machine.
any suggestions?

Trollslayer
Blank Cone
Blank Cone
Posts: 26
Joined: 19 Jun 2007 02:50
Location: Bristol, UK

Re: problem with vlc command line

Postby Trollslayer » 05 Apr 2008 21:53

The option

Code: Select all

vlc:quit
only works if you let the file play through (i.e. reaches the end of file). Using the stop command does not works as the file has not reached the end.
I am using VLC within MythTV so am working out how to map the stop button of the remote control to the quit command of VLC, this will provide manual exit on stop.
:)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 63 guests