From e319aaa93cfe3f263d89a8984d5f4f8ca7daf640 Mon Sep 17 00:00:00 2001 From: wHyEt Date: Fri, 5 Jan 2024 12:04:54 +0100 Subject: [PATCH] Added some Readme to remember --- README.md | 33 +++++++++++++++++++++++++++++++++ assets/entrypoint.sh | 1 + 2 files changed, 34 insertions(+) diff --git a/README.md b/README.md index beca2f0..2b378ae 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,39 @@ # BambuP1SCam Docker Container for Providing the Stream of the Camera from a Bambu P1S 3D Printer + +./BambuP1SCam --help +by hisptoot 2023.12.19 +./BambuP1SCam usage: + ./BambuP1SCam start_stream [options] + Start a camera stream and write the raw stream to stdout + ./BambuP1SCam start_stream_local -s -a + Start a local camera stream for p1p and write the raw stream to stdout + ./BambuP1SCam start_stream_local_x1c -s -a -d + Start a local camera stream for x1c and write the raw stream to stdout + ./BambuP1SCam gen_cfg -u -p -r [-d ] [other_options] + Generate a simple BambuNetworkEngine.conf file + ./BambuP1SCam list_dev [options] + list machines info and access code + + options: + -u + -p + -t + -r + us cn + -i + -d + -s + -a + + +./BambuP1SCam list_dev -u -p + +Generate BambuNetworkEngine.conf + +bambusource2raw.exe gen_cfg -u -p -r -d + # Just starting to BUild this container is still work in progress # Please Support my Work, thank you :) diff --git a/assets/entrypoint.sh b/assets/entrypoint.sh index 422d2e7..5b9e0cb 100644 --- a/assets/entrypoint.sh +++ b/assets/entrypoint.sh @@ -27,4 +27,5 @@ gcc /bambu_src/bambusource2raw.cpp cJSON.c -lcurl -o /data/work/BambuP1SCam mkdir /app cp /data/work/BambuP1SCam /data/work/go2rtc_linux_amd64 /data/work/libBambuSource.so /app +/app/go2rtc_linux_amd64 tail -f /dev/null \ No newline at end of file