15 Commits

Author SHA1 Message Date
Ingo Oppermann
17006edeb6
Add startdelay und stopdelay options 2025-07-21 15:34:38 +02:00
Ingo Oppermann
d6ce3a5891
Add option to include child processes in observation 2025-06-25 16:53:27 +02:00
Ingo Oppermann
d591a2383e
Fix GPU index numbering, promote the GPU ID 2024-10-31 14:59:22 +01:00
Ingo Oppermann
55015bcf6f
Read out GPU specs at util start 2024-10-30 17:12:29 +01:00
Ingo Oppermann
dd8906e56f
Add test for dynamic placeholder via restream 2024-10-29 17:04:07 +01:00
Ingo Oppermann
2393dbc4c0
Add replacer tests, fix command in state with dynamic placeholders 2024-10-29 16:43:47 +01:00
Ingo Oppermann
de9a30a108
Add internal mock modules 2024-10-29 14:55:55 +01:00
Ingo Oppermann
2dbe5b5685
Add GPU support 2024-10-24 15:08:26 +02:00
Ingo Oppermann
480dbb7f53
Refactor cluster node code 2024-07-09 12:26:02 +02:00
Ingo Oppermann
88605a1f1e
Put child processes in their own session
The core can be gracefully shutdown by sending a SIGINT to its process.
However, this signal is also propagated to all child processes, i.e. the
forked ffmpeg processes. They will also be stopped and might reconnect.
This is not wanted. The core has to stop these processes.

The child process will now get their own session ID with setsid() before
replacing themselves with ffmpeg. This way they will not receive a SIGINT
that was meant only for the parent.
2023-12-12 21:29:12 +01:00
Ingo Oppermann
ccecbe3c8e
Improve FFmpeg skills testing 2023-07-06 21:41:10 +02:00
Ingo Oppermann
1ab09adc69
Untrack test binary 2022-08-17 16:20:10 +03:00
Ingo Oppermann
50deaef4d3
Wait for process to exit when stopping
If a process has some cleanup with purge-on-delete defined, the purge
has to wait until the process actually exited. Otherwise it may happen
that the process got the signal, files are purged, but the process is
still writing some files in order to exit cleanly. This would lead to
some artefacts left on the filesystem.
2022-08-17 15:13:17 +03:00
Ingo Oppermann
a211de9850
Remove print in tests 2022-06-24 19:49:53 +02:00
Ingo Oppermann
814e205ab5
Fix tests such that ffmpeg binary is not required 2022-06-24 19:47:12 +02:00