mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix: strip extra metadata when transcoding (#17297)
This commit is contained in:
parent
9aa3850769
commit
3e03c47fbf
@ -128,6 +128,8 @@ export class BaseConfig implements VideoCodecSWConfig {
|
|||||||
'-fps_mode passthrough',
|
'-fps_mode passthrough',
|
||||||
// explicitly selects the video stream instead of leaving it up to FFmpeg
|
// explicitly selects the video stream instead of leaving it up to FFmpeg
|
||||||
`-map 0:${videoStream.index}`,
|
`-map 0:${videoStream.index}`,
|
||||||
|
// Strip metadata like capture date, camera, and GPS
|
||||||
|
'-map_metadata -1',
|
||||||
];
|
];
|
||||||
|
|
||||||
if (audioStream) {
|
if (audioStream) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user