Improve location metadata

This commit is contained in:
hbrain 2026-05-25 01:08:57 +00:00
parent 298394d69d
commit bc935d2e0a
2 changed files with 4 additions and 2 deletions

View file

@ -544,6 +544,8 @@ def build_video(
"title": data.title,
"date": data.date,
"location": data.place,
"place": data.place,
"com.apple.quicktime.location.name": data.place,
"artist": "@bubulescu",
"comment": "Created with movmaker",
"creation_time": creation_date.isoformat(),
@ -560,7 +562,7 @@ def build_video(
else:
cmd += ["-an"]
cmd += ["-c:v", "libx264", "-preset", preset, "-crf", str(crf), "-r", str(fps), "-pix_fmt", "yuv420p", str(output)]
cmd += ["-c:v", "libx264", "-preset", preset, "-crf", str(crf), "-r", str(fps), "-pix_fmt", "yuv420p", "-movflags", "+faststart+use_metadata_tags", str(output)]
run(cmd)