Linux Lite Forums
VLC not terminating when closed - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: VLC not terminating when closed (/showthread.php?tid=7545)



VLC not terminating when closed - Dave Bruwer - 12-23-2020

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:
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?


Re: VLC not terminating when closed - Moltke - 12-24-2020

(12-23-2020, 10:08 PM)Dave Bruwer link Wrote: 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:
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.


Re: VLC not terminating when closed - Dave Bruwer - 12-24-2020

Thanks for the tip.
I will live with it then.  ;D


Re: VLC not terminating when closed - Moltke - 12-24-2020

(12-24-2020, 02:54 AM)Dave Bruwer link Wrote: 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.


Re: VLC not terminating when closed - arky217 - 12-24-2020

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