Raspberry pi 4 running multiple instances on separate Tvs

*nix specific usage questions
rijotech
New Cone
New Cone
Posts: 4
Joined: 23 Jul 2021 19:47

Raspberry pi 4 running multiple instances on separate Tvs

Postby rijotech » 23 Nov 2022 16:38

Hi, I'm working on a project using Raspberry pi 4 with two HDMI and VLC ruand I was wondering if there is a way to run VLC with an identifier so that I can kill a VLC process leaving the other running?
https://user-images.githubusercontent.c ... 014c8e.mp4

User avatar
InTheWings
Developer
Developer
Posts: 1273
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Raspberry pi 4 running multiple instances on separate Tvs

Postby InTheWings » 23 Nov 2022 18:00

do some basic linux process management
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

rijotech
New Cone
New Cone
Posts: 4
Joined: 23 Jul 2021 19:47

Re: Raspberry pi 4 running multiple instances on separate Tvs

Postby rijotech » 23 Nov 2022 18:25

do some basic linux process management
I know how to kill the process manually and individually using Pid, the problem is I launch and kill VLC on each tv via PHP and web interface and the Pid process changes id constantly unless there is a way to assign a static Pid id to a VLC process, now that would be great since I'll know which process to kill.
Let me do some digging around to see if I can assign a Pid id to a process.
and thanks for your response.

Alaric
Developer
Developer
Posts: 36
Joined: 27 Apr 2022 18:37

Re: Raspberry pi 4 running multiple instances on separate Tvs

Postby Alaric » 24 Nov 2022 09:42

How do you launch VLC using PHP exactly? You process spawning API should give you the pid of the spawned process so you can track and kill it.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 2 guests