From 3e03c47fbfe438dc587c448c8bdccede587a006a Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Tue, 1 Apr 2025 15:58:59 +0200 Subject: [PATCH] fix: strip extra metadata when transcoding (#17297) --- server/src/utils/media.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/utils/media.ts b/server/src/utils/media.ts index d26f8d0fb6..b00eb652ef 100644 --- a/server/src/utils/media.ts +++ b/server/src/utils/media.ts @@ -128,6 +128,8 @@ export class BaseConfig implements VideoCodecSWConfig { '-fps_mode passthrough', // explicitly selects the video stream instead of leaving it up to FFmpeg `-map 0:${videoStream.index}`, + // Strip metadata like capture date, camera, and GPS + '-map_metadata -1', ]; if (audioStream) {