From b62278694382e01cb157931a8ed316909ed528d8 Mon Sep 17 00:00:00 2001
From: mnerv <24420859+mnerv@users.noreply.github.com>
Date: Sun, 5 Apr 2026 17:19:06 +0200
Subject: [PATCH] Initial commit
---
.gitignore | 21 ++++++
.python-version | 1 +
README.md | 55 ++++++++++++++
hdzero.py | 186 ++++++++++++++++++++++++++++++++++++++++++++++++
pyproject.toml | 17 +++++
uv.lock | 57 +++++++++++++++
6 files changed, 337 insertions(+)
create mode 100644 .gitignore
create mode 100644 .python-version
create mode 100644 README.md
create mode 100644 hdzero.py
create mode 100644 pyproject.toml
create mode 100644 uv.lock
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b4fc99b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,21 @@
+# Python-generated files
+__pycache__/
+*.py[oc]
+build/
+dist/
+wheels/
+*.egg-info
+
+# Virtual environments
+.venv
+
+# OS
+.DS_Store
+Thumbs.db
+
+# Video output
+*.mp4
+*.mkv
+*.mov
+*.avi
+*.webm
diff --git a/.python-version b/.python-version
new file mode 100644
index 0000000..6324d40
--- /dev/null
+++ b/.python-version
@@ -0,0 +1 @@
+3.14
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0046245
--- /dev/null
+++ b/README.md
@@ -0,0 +1,55 @@
+# recscripts
+
+FFmpeg encode helpers for FPV recordings (HDZero, Analog, Walksnail).
+
+## Install
+
+Requires [ffmpeg](https://ffmpeg.org/) (includes `ffprobe`) on your PATH.
+
+```sh
+uv pip install -e .
+```
+
+## Commands
+
+### `hdzero`
+
+Encode HDZero recordings with denoise, scale, and sharpen.
+
+```sh
+hdzero