Skip to content

Releases: comosense/nnnvr

1.1.1

Choose a tag to compare

@comosense comosense released this 25 Mar 00:52
97677bd

Release v1.1.1: Improved Stability and Atomic File Operations

Summary

This release focuses on improving the overall stability and fault tolerance of nnnvr, ensuring it can recover more gracefully from unexpected system shutdowns or power failures.

Key Changes

  • Atomic File Operations
    File writing processes have been upgraded to use atomic operations. This prevents critical configuration or lock files from becoming corrupted if the system crashes or loses power during a write operation.

  • Smarter Lock File Management
    The application lock file nnnvr.lock is now created in the system's temporary directory by default, rather than the working directory. This effectively resolves issues where stale lock files prevent the NVR from starting after a hard reboot.

  • Configuration Changes
    Updated README.md to include the new tempDir parameter in the Configuration section.
    You can now optionally specify a tempDir in your nnnvr.json:

{
    "tempDir": "/dev/shm/nnnvr",
    "streams": [ ... ]
}

(If omitted, nnnvr will automatically use your OS's default temporary directory.)

1.1.0

Choose a tag to compare

@comosense comosense released this 27 Feb 01:42
6510a1e

Release: v1.1.0

Summary

This release enhances the flexibility of nnnvr by allowing direct customization of FFmpeg options. It also improves overall recording reliability and storage safety by optimizing default configurations.

Key Changes

  • FFmpeg Option Customization
    • Added support for gOptions (Global), iOptions (Input), and oOptions (Output) in the configuration file (nnnvr.json).
    • This allows users to pass custom parameters to FFmpeg for hardware acceleration, network timeout adjustments, or specific stream tweaks.
  • Improved Recording Reliability
    • The default recording container has been changed to Matroska (mkv).
    • This ensures that video files remain recoverable even in the event of an unexpected power failure or stream disconnection.
  • Safer Storage Management Threshold
    • The default storage cleanup threshold (removeStart) has been lowered from 99% to 90%.
    • This provides a safer margin for the OS, preventing system instability due to a full disk.
    • Note: You can still customize this value via removeStart in your configuration file. If you prefer the previous behavior, simply set it back to 99.

Improvements & Fixes

  • Code Cleanup: Fixed minor typos in error logging messages.
  • Documentation: Updated README.md with enhanced license information and a professional disclaimer. Fixed a formatting issue in the systemd service example.

Migration Note

Existing users upgrading from v1.0.* can continue using their current nnnvr.json. To take advantage of the new FFmpeg customization features, please refer to the "Example 2: Comprehensive nnnvr.json" in the updated README.md.

1.0.13

Choose a tag to compare

@comosense comosense released this 14 Feb 00:37
d00c32c
Add files via upload

1.0.12

Choose a tag to compare

@comosense comosense released this 29 Oct 05:16
7de08e4
Update version example in README.md

1.0.11

Choose a tag to compare

@comosense comosense released this 26 Oct 01:49
aa15f1d
Add files via upload

1.0.10

Choose a tag to compare

@comosense comosense released this 19 Oct 06:18
60827e1
Add files via upload

1.0.9

Choose a tag to compare

@comosense comosense released this 16 Oct 01:36
3983b60
Add files via upload

1.0.8

Choose a tag to compare

@comosense comosense released this 13 Oct 13:03
7af0182
Add files via upload

1.0.7

Choose a tag to compare

@comosense comosense released this 13 Oct 02:23
b41b77e
Add files via upload

1.0.6

Choose a tag to compare

@comosense comosense released this 10 Oct 04:51
11ccad9
Update README.md