How to exit VLC via CLI?

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.
grittree
New Cone
New Cone
Posts: 4
Joined: 23 Mar 2007 20:33

How to exit VLC via CLI?

Postby grittree » 23 Mar 2007 20:45

I have a batch file which starts VLC at a scheduled time and sout's a file.

I need a way to stop (and exit) VLC with another scheduled event. The closest I can find in the wiki is a command to play (a playlist) and exit.

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:

Postby Jean-Baptiste Kempf » 23 Mar 2007 23:47

--start-time
--stop-time

Add 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.

grittree
New Cone
New Cone
Posts: 4
Joined: 23 Mar 2007 20:33

Postby grittree » 25 Mar 2007 18:51

I'm unsure how to parse these commands.

My present command is:
vlc udp:@:5000 :access-filter=timeshift :udp-caching=300 --width 400 :vout-filter=deinterlace :deinterlace-mode=blend :sout=#duplicate{dst=std{access=file,mux=ts,url="G:\filename.ts"}}

++++++++++++++++++++
--start-time=<integer> Start time ....... The stream will start at this position (in seconds).

I put --start-time=60 after 'udp-caching=300 ' and nothing changed. Same with =99999999

++++++++++++++++++++
vlc:quit Special item to quit VLC

Where does this go? What determines when it is executed?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 25 Mar 2007 19:55

these only work for seekable inputs. udp isn't seekable so it wont work.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 25 Mar 2007 22:01

vlc:quit is placed at the end of the command line.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 23 guests