change: temp_file path
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m1s
Build Worker Base and Application Images / deploy-stack (push) Successful in 20s

This commit is contained in:
ziesorx 2025-09-26 10:18:44 +07:00
parent a12e3efa12
commit f5c6da8014

View file

@ -92,11 +92,11 @@ class FFmpegRTSPReader:
def _start_ffmpeg_process(self):
"""Start FFmpeg subprocess with CUDA hardware acceleration writing to temp file."""
# Create temp file path for this camera
self.temp_file = f"/tmp/claude/camera_{self.camera_id.replace(' ', '_')}.raw"
os.makedirs("/tmp/claude", exist_ok=True)
self.temp_file = f"/tmp/frame/camera_{self.camera_id.replace(' ', '_')}.raw"
os.makedirs("/tmp/frame", exist_ok=True)
# Use PPM format with single file (will use file locking for concurrency)
self.temp_file = f"/tmp/claude/camera_{self.camera_id.replace(' ', '_')}.ppm"
self.temp_file = f"/tmp/frame/camera_{self.camera_id.replace(' ', '_')}.ppm"
cmd = [
'ffmpeg',