VariaReEncoder / CHANGELOG.md
Newer Older
52 lines | 2.241kb
Bogdan Timofte authored a month ago
1
# Changelog
2

            
3
All notable changes to `garmin_varia_transcode.sh` are documented here.
4
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5

            
6
---
7

            
Bogdan Timofte authored a month ago
8
## [Unreleased]
9

            
10
### Changed
11
- `--move-source` renamed to `--delete-source` (old name kept as alias)
12
- `--continue-on-error` renamed to `--keep-going` (old name kept as alias)
13
### Added
14
- `--unattended` preset (`--delete-source` + `--keep-going`) for long unattended runs
15

            
16
- `cleanup_garmin_varia_media_folder.sh` helper for media-folder hygiene (import + transcoded output):
17
	removes AppleDouble artifacts (`._*`), removes zero-size MP4 files,
18
	and normalizes single-suffix duplicate timestamp names
19

            
20
### Behavior
21
- Import cleanup returns exit code `1` when duplicate groups are blocked and need manual review
22

            
Bogdan Timofte authored a month ago
23
## [1.0.0] — 2026-05-04
24

            
25
Initial release.
26

            
27
### Added
28
- Batch HEVC transcoding with `hevc_videotoolbox`, `libx265`, or `libx264`
29
- Encoding modes: `hardware`, `auto`, `quality`, `compat`
30
- Default mode: `hardware` (hevc_videotoolbox on macOS)
31
- Recursive directory traversal (default on)
32
- Directory structure preservation at destination
33
- Per-file audio detection via ffprobe; AAC 128k output when audio present
34
- HEVC outputs tagged `hvc1` for Apple Photos / QuickTime compatibility
35
- `-map_metadata 0` and `-movflags +faststart`
36
- Source file timestamp preservation via `touch -r`
37
- `--move-source`: delete source only after codec + duration validation
38
- `--no-overwrite`: skip existing output files
39
- `--no-recursive`: restrict to top-level directory
40
- `--dry-run`: print actions without writing files
41
- `--verbose`: full per-operation logs and ffmpeg/ffprobe output
42
- `--crf`: override CRF value for software modes
43
- `--extensions`: configurable video extension list
44
- Auto single-file mode when `--source` is a file path
45
- Quiet default output: one progress line per file with elapsed seconds
46
- Summary line with counts and timing after each run
47
- JSON sidecar copy (preserves relative paths)
48
- `telemetry_manifest.json` placeholder written to destination
49
- Destination-inside-source guard (hard error)
50
- At-least-one-of `--source`/`--destination` requirement
51
- Fail-fast: encoding chain stops on first ffmpeg error
52
- Bash 3.2 compatible (macOS system bash)