From c35d09b3253cdf3a5f3ef41235bd2372aefeb23f Mon Sep 17 00:00:00 2001 From: Russell Land Date: Thu, 4 Jul 2024 21:59:40 -0400 Subject: [PATCH 1/2] add ffmpeg requirement to readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5c06e7f..5902179 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ This application will ingest your computers webcam feed (using ffmpeg), apply an # Requirements +* FFmpeg * Docker and the compose plugin * At least 4GB of RAM * Camera, at least 720p recommended From 69a3fbb90b8beb3f025e28522a82b3a826dc1c69 Mon Sep 17 00:00:00 2001 From: Russell Land Date: Thu, 4 Jul 2024 22:06:11 -0400 Subject: [PATCH 2/2] add killing of another process from stream --- stop.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stop.sh b/stop.sh index 83e206a..bebd1d6 100755 --- a/stop.sh +++ b/stop.sh @@ -8,6 +8,7 @@ if [ "${OBJECT_DETECTION}" == "True" ]; then echo "Stopping holly-stream..." pid=$(cat .process.pid) kill "$pid" + pkill raspberrypi_ipa rm .process.pid .log.out echo "Complete" @@ -19,6 +20,7 @@ if [ "${OBJECT_DETECTION}" == "True" ]; then elif [ "${OBJECT_DETECTION}" == "False" ]; then echo "Stopping holly-stream..." pkill ffmpeg + pkill raspberrypi_ipa rm .log.out echo "Complete"