The restore_metadata_with_exiftool step copies all tags from the Garmin source (H.264/AVC) including brand atoms into Keys. This left incorrect values in the output HEVC file: Keys:CompatibleBrands = avc1, isom (wrong - implies H.264) Keys:MajorBrand = MP4 Base w/ AVC ext (wrong - implies AVC) Overwrite these in map_garmin_model_to_standard_tags to match the actual container format: Keys:CompatibleBrands = isom, iso2, mp41 Keys:MajorBrand = isom
@@ -341,6 +341,8 @@ map_garmin_model_to_standard_tags() {
|
||
| 341 | 341 |
if exiftool -overwrite_original -m \ |
| 342 | 342 |
-UserData:Make="Garmin" -UserData:Model="Varia RCT715" \ |
| 343 | 343 |
-Keys:Make="Garmin" -Keys:Model="Varia RCT715" \ |
| 344 |
+ -Keys:CompatibleBrands="isom, iso2, mp41" \ |
|
| 345 |
+ -Keys:MajorBrand="isom" \ |
|
| 344 | 346 |
-Make="Garmin" -Model="Varia RCT715" \ |
| 345 | 347 |
-VideoKeys:LensModel="Fixed Wide Angle ${GARMIN_DECLARED_FOV_DEG} deg" \
|
| 346 | 348 |
-VideoKeys:FocalLengthIn35mmFormat="$GARMIN_INFERRED_FOCAL_35MM_MM" \ |
@@ -355,6 +357,8 @@ map_garmin_model_to_standard_tags() {
|
||
| 355 | 357 |
if exiftool -overwrite_original -m -q -q \ |
| 356 | 358 |
-UserData:Make="Garmin" -UserData:Model="Varia RCT715" \ |
| 357 | 359 |
-Keys:Make="Garmin" -Keys:Model="Varia RCT715" \ |
| 360 |
+ -Keys:CompatibleBrands="isom, iso2, mp41" \ |
|
| 361 |
+ -Keys:MajorBrand="isom" \ |
|
| 358 | 362 |
-Make="Garmin" -Model="Varia RCT715" \ |
| 359 | 363 |
-VideoKeys:LensModel="Fixed Wide Angle ${GARMIN_DECLARED_FOV_DEG} deg" \
|
| 360 | 364 |
-VideoKeys:FocalLengthIn35mmFormat="$GARMIN_INFERRED_FOCAL_35MM_MM" \ |