1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-07 23:03:36 +02:00

fix: strip extra metadata when transcoding (#17297)

This commit is contained in:
bo0tzz
2025-04-01 15:58:59 +02:00
committed by GitHub
parent 9aa3850769
commit 3e03c47fbf

View File

@ -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) {