1
0
Fork 0

mp4concat: strip metadata after running

This commit is contained in:
Daniel Kempkens 2024-03-18 20:10:59 +01:00
parent d8c28e6202
commit 6ffcdd37c4
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -12,9 +12,12 @@ done
concat_files=$(printf "|%s" "${TMP_FILES[@]}")
concat_files=${concat_files:1}
out_file="mp4concat_${RANDOM}.mp4"
ffmpeg -i "concat:$concat_files" -c copy -bsf:a aac_adtstoasc "mp4concat_${RANDOM}.mp4"
ffmpeg -i "concat:$concat_files" -c copy -bsf:a aac_adtstoasc "$out_file"
for f in "${TMP_FILES[@]}"; do
rm "$f"
done
strip-metadata "$out_file"