@@ -11,7 +11,6 @@ set -euo pipefail |
||
| 11 | 11 |
# Do not derive output bitrate mechanically from fixed Garmin source sizes. |
| 12 | 12 |
# Prefer CRF (software) or constrained VBR (hardware), as used below. |
| 13 | 13 |
|
| 14 |
-SCRIPT_NAME="$(basename "$0")" |
|
| 15 | 14 |
TOOL_NAME="ffmpeg" |
| 16 | 15 |
|
| 17 | 16 |
DEFAULT_SOURCE="." |
@@ -37,7 +36,6 @@ DRY_RUN=false |
||
| 37 | 36 |
RECURSIVE=true |
| 38 | 37 |
SINGLE_FILE="" |
| 39 | 38 |
VERBOSE=false |
| 40 |
-QUIET_FFMPEG=false |
|
| 41 | 39 |
MOVE_SOURCE=false |
| 42 | 40 |
SOURCE_PROVIDED=false |
| 43 | 41 |
DEST_PROVIDED=false |
@@ -264,10 +262,6 @@ parse_args() {
|
||
| 264 | 262 |
VERBOSE=true |
| 265 | 263 |
shift |
| 266 | 264 |
;; |
| 267 |
- --quiet-ffmpeg) |
|
| 268 |
- QUIET_FFMPEG=true |
|
| 269 |
- shift |
|
| 270 |
- ;; |
|
| 271 | 265 |
--move-source) |
| 272 | 266 |
MOVE_SOURCE=true |
| 273 | 267 |
shift |
@@ -335,6 +329,8 @@ map_garmin_model_to_standard_tags() {
|
||
| 335 | 329 |
return 0 |
| 336 | 330 |
fi |
| 337 | 331 |
|
| 332 |
+ # garmin_model confirms this is a Garmin Varia source; fixed metadata values are |
|
| 333 |
+ # used below because Garmin does not embed a parseable model string we can map. |
|
| 338 | 334 |
vlog_msg "CHECKPOINT" "model_map_start: $output_file (GarminModel=$garmin_model)" |
| 339 | 335 |
|
| 340 | 336 |
if [[ "$VERBOSE" == true ]]; then |
@@ -0,0 +1,16 @@ |
||
| 1 |
+{
|
|
| 2 |
+ "schema_version": "0.1-draft", |
|
| 3 |
+ "purpose": "placeholder contract for future FIT-to-sidecar sync pipeline", |
|
| 4 |
+ "fields_target": [ |
|
| 5 |
+ "power_w", |
|
| 6 |
+ "speed_kmh", |
|
| 7 |
+ "heart_rate_bpm", |
|
| 8 |
+ "cadence_rpm", |
|
| 9 |
+ "gps" |
|
| 10 |
+ ], |
|
| 11 |
+ "sync_methods": [ |
|
| 12 |
+ "auto_timestamp_plus_offset", |
|
| 13 |
+ "manual_offset_ms" |
|
| 14 |
+ ], |
|
| 15 |
+ "notes": "Current release copies existing JSON sidecars only; FIT parsing is not implemented yet." |
|
| 16 |
+} |
|