Linux Lite Forums

Software - Support => Other => Topic started by: Dave Bruwer on December 23, 2020, 05:08:03 PM

Title: VLC not terminating when closed
Post by: Dave Bruwer on December 23, 2020, 05:08:03 PM
VLC process continues to run in the background after closing.
This causes VLC to not respond when trying to open another video.
I have to use the following to terminate the process:
Code: [Select]
killall -s 9 vlc
I have tried to change the video output, and all the output formats that solve the issue have trouble playing videos properly.
I have also tried to turn off the hardware accaleration, but it didn't work.

Any suggestions?
Title: Re: VLC not terminating when closed
Post by: Moltke on December 23, 2020, 07:01:21 PM
VLC process continues to run in the background after closing.
This causes VLC to not respond when trying to open another video.
I have to use the following to terminate the process:
Code: [Select]
killall -s 9 vlc
I have tried to change the video output, and all the output formats that solve the issue have trouble playing videos properly.
I have also tried to turn off the hardware accaleration, but it didn't work.

Any suggestions?

This is an old known bug https://forum.videolan.org/viewtopic.php?t=149762 Make sure to stop whatever media's been played in VLC before closing it, that is, hit the stop button then close it. For some reason if you don't, then it'll keep running as a zombie process.
Title: Re: VLC not terminating when closed
Post by: Dave Bruwer on December 23, 2020, 09:54:48 PM
Thanks for the tip.
I will live with it then.  ;D
Title: Re: VLC not terminating when closed
Post by: Moltke on December 24, 2020, 09:26:43 AM
Thanks for the tip.
I will live with it then.  ;D

I've been living with it since I learned about that bug ;D which according to one VLC's dev is a bug in mesa's drivers, and they can't do anything about it. It isn't a big deal really, just stop the video or any other media(although I have just seen this in video files) by either hitting the Stop button or pressing S key on your keyboard, then close it by clicking the x icon, I can confirm this works.
Title: Re: VLC not terminating when closed
Post by: arky217 on December 24, 2020, 10:06:39 AM
Don't know if this will help you or not, but to get VLC to close
when I show a video, I make a launcher and use vlc://quit
at the end of the command line.

For example, when I want the video to start at a certain point
and stop at a certain point and then for VLC to close
when it stops playing the video,
I put the following in the command line:

Exec=vlc --start-time 151 --stop-time 3004 /home/jim/Videos/romans15.mp4 vlc://quit