From e2753d39f86101f9765c397907a554451488f7de Mon Sep 17 00:00:00 2001 From: dmotte <37443982+dmotte@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:48:47 +0100 Subject: [PATCH] Added command to remove all the metadata from an MP3 file --- snippets/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/snippets/README.md b/snippets/README.md index 268fb39..81b0fea 100644 --- a/snippets/README.md +++ b/snippets/README.md @@ -30,6 +30,7 @@ Some pieces of code I find useful for some reason. - `for i in *.mp3; do echo "$i"; ffmpeg -i "$i" -af volumedetect -vn -sn -dn -f null /dev/null 2>&1 | grep -E '^\[Parsed_volumedetect.+_volume: .+$'; done` - `ffmpeg -i input.mp3 -filter:a 'dynaudnorm=p=0.9:s=5' output.mp3` - `ffmpeg -loop 1 -i image.jpg -i audio.mp3 -c:v libx264 -c:a aac -b:a 192k -shortest output.mp4` +- `ffmpeg -i input.mp3 -map 0:a -c:a copy -map_metadata -1 output.mp3` - `watch -n.2 date` - `scp myfile.txt user@hostname:/home/user/myfile.txt` - `ipfs daemon &`, `jobs`, `fg 1`, `kill %1`