fix: strip extra metadata when transcoding (#17297)

pull/17306/head
bo0tzz 2025-04-01 15:58:59 +07:00 committed by GitHub
parent 9aa3850769
commit 3e03c47fbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

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