You are not logged in.

#1 2009-11-16 07:02:19

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Terminate cvlc

I normally use cvlc to watch movies, but haven't been able to figure out how to cleanly terminate the program. the video can be terminated by Alt+F4, but I have to use Ctrl+C to kill cvlc, which is obviously not the best option.


Does anyone know how to cleanly terminate cvlc?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#2 2009-11-16 11:53:28

davidlondonuk
Member
Registered: 2009-06-24
Posts: 49

Re: Terminate cvlc

cvlc from a terminal would be say 'cvlc file.avi' run in the foreground (so no &) after you exit the player, cvlc should quit and you should be back to the command prompt?

Offline

#3 2009-11-16 12:07:27

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Terminate cvlc

cvlc --play-and-exit

You'll probably want to set that up as an alias...

Offline

#4 2009-11-17 05:13:42

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Terminate cvlc

chpln wrote:
cvlc --play-and-exit

You'll probably want to set that up as an alias...

This works when the file plays to the end. But if you use Alt+F4 to kill the video, I still dont get the prompt back in the terminal unless I do a Ctrl+C

Last edited by Inxsible (2009-11-17 05:27:02)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2009-11-17 06:13:39

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Terminate cvlc

Inxsible wrote:

This works when the file plays to the end. But if you use Alt+F4 to kill the video, I still dont get the prompt back in the terminal unless I do a Ctrl+C

VLC should exit cleanly via Ctrl+q.  Unfortunately I've never came across an option to have cvlc terminate after simply closing the window.

Offline

Board footer

Powered by FluxBB