mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
fix: strip extra metadata when transcoding (#17297)
This commit is contained in:
parent
9aa3850769
commit
3e03c47fbf
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue