Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed streams are not killed #12

Open
vasell86 opened this issue Aug 24, 2024 · 0 comments
Open

failed streams are not killed #12

vasell86 opened this issue Aug 24, 2024 · 0 comments

Comments

@vasell86
Copy link

When recording fails the old process is not killed

2024-08-24 06:38:59,981 [ERROR]: NVR: Recording for camera garaj_curte2 has stopped unexpectedly!
2024-08-24 06:38:59,997 [INFO]: NVR: Recording restarted for camera garaj_curte2.
2024-08-24 06:39:00,010 [INFO]: NVR: Connection established to garaj_curte2 at 192.168.11.131
2024-08-24 06:39:00,018 [INFO]: NVR: Camera garaj_curte2 initialized.

$ ps -ef | grep ffmpeg | grep curte2

root 2955376 2955329 2 aug23 ? 00:40:07 ffmpeg -hide_banner -y -loglevel error -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i rtsp://XXX@192.168.11.131/stream1 -c copy -f segment -reset_timestamps 1 -segment_time 600 -segment_format mkv -segment_atclocktime 1 -strftime 1 /storage/garaj_curte2/raw/%Y-%m-%dT%H-%M-%S.mkv

root 3327014 2955329 3 06:38 ? 00:05:40 ffmpeg -hide_banner -y -loglevel error -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i rtsp://XXX@192.168.11.131/stream1 -c copy -f segment -reset_timestamps 1 -segment_time 600 -segment_format mkv -segment_atclocktime 1 -strftime 1 /storage/garaj_curte2/raw/%Y-%m-%dT%H-%M-%S.mkv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant