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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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