homebridge-plugins / homebridge-camera-ffmpeg

Homebridge Plugin Providing FFmpeg-based Camera Support
https://homebridge-plugins.github.io/homebridge-camera-ffmpeg/
Apache License 2.0
1.09k stars 227 forks source link

ffmpeg not overwriting files automatically #1406

Closed TeslaOwnerTips closed 1 year ago

TeslaOwnerTips commented 1 year ago

Describe The Problem:

8/11/2023, 11:00:06 PM] [Camera FFmpeg] [Intersection 110-00-110] File '299k' already exists. Overwrite? [y/N] [fatal] Not overwriting - exiting [8/11/2023, 11:00:06 PM] [Camera FFmpeg] [Intersection 110-00-110] FFmpeg exited with code: 1 and signal: null (Error) [8/11/2023, 11:00:06 PM] [Camera FFmpeg] [Intersection 110-00-110] Stopped video stream.

To Reproduce:

cameras": [ { "name": "Intersection 110-00-110", "manufacturer": "Dahua NVR", "model": "IPC-HDBW2831R-ZAS", "unbridge": true, "videoConfig": { "source": "-i rtsp://guest:85Elliott@192.168.1.29:554/cam/realmonitor?channel=1&subtype=0", "stillImageSource": "-i http://guest:85Elliott@192.168.1.29/cgi-bin/snapshot.cgi?channel=1", "maxWidth": 0, "maxHeight": 0, "maxFPS": 0, "forceMax": false, "vcodec": "h264_videotoolbox", "encoderOptions": "-realtime ", "debug": true } },

Logs:

Show the Homebridge logs here.
Remove any sensitive information.

Homebridge Config:

Show your homebridge config.json here.
Remove any sensitive information, such as your homebridge-gsh / google-smarthome token.

Screenshots:

Environment:

ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)

Sunoo commented 1 year ago

No files should be generated, so something has gone strangely wrong here. Please share your full log, not just a few lines.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.