mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-04 00:29:49 +00:00
[bugfix] when clearing media metadata, copy all streams not just first (#4375)
Updates our ffmpeg metadata clearing arguments to copy all streams when copying codecs, not just the first of each. closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4312 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4375 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
This commit is contained in:
parent
a6bb45e5e4
commit
3fad524089
1 changed files with 6 additions and 0 deletions
|
@ -55,6 +55,12 @@ func ffmpegClearMetadata(ctx context.Context, outpath, inpath string) error {
|
|||
// i.e. no transcode.
|
||||
"-codec", "copy",
|
||||
|
||||
// Ensure we include
|
||||
// ALL audio / video
|
||||
// / subtitle streams,
|
||||
// not just the first.
|
||||
"-map", "0",
|
||||
|
||||
// Overwrite.
|
||||
"-y",
|
||||
|
||||
|
|
Loading…
Reference in a new issue