VariaReEncoder / CHANGELOG.md
Newer Older
56 lines | 2.597kb
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
Bogdan Timofte authored a month ago
15
- `--staging-dir DIR` to place intermediate transcoding temp files on a fast local path,
16
	with automatic fallback to destination temp files when staging is unavailable
Bogdan Timofte authored a month ago
17
	or lacks sufficient free space for the current file
18
- automatic RAM disk creation on macOS when `--staging-dir` points to a missing
19
	`/Volumes/<Name>` path, configurable with `--staging-ramdisk-mb N`
20
- `--debug-timing N` to stop after N video files and print timing statistics for quick profiling
Bogdan Timofte authored a month ago
21

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

            
26
### Behavior
27
- Import cleanup returns exit code `1` when duplicate groups are blocked and need manual review
28

            
Bogdan Timofte authored a month ago
29
## [1.0.0] — 2026-05-04
30

            
31
Initial release.
32

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