Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mp3 [2017/02/27 02:34] – beandog | mp3 [2021/10/18 01:40] (current) – beandog | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== MP3 ====== | ====== MP3 ====== | ||
- | Strip an MP3 of all metadata, not just ID tags: | + | * [[https:// |
+ | * [[https:// | ||
+ | |||
+ | Strip an MP3 of all metadata: | ||
< | < | ||
- | avconv | + | ffmpeg |
</ | </ | ||
Line 10: | Line 13: | ||
< | < | ||
- | avconv | + | ffmpeg |
+ | </ | ||
+ | |||
+ | Set title, album, artist, track number: | ||
+ | |||
+ | < | ||
+ | ffmpeg -i source.mp3 -id3v2_version 3 -metadata title=" | ||
+ | </ | ||
+ | |||
+ | Add cover art as well: | ||
+ | |||
+ | < | ||
+ | ffmpeg -i source.mp3 -i cover_art.jpg -acodec copy cover_art.mp3 | ||
+ | </ | ||
+ | |||
+ | Note that ffmpeg will convert the cover art to a PNG. If it already is one, you can can copy it directly: | ||
+ | |||
+ | < | ||
+ | ffmpeg -i source.mp3 -i cover_art.png -acodec copy -vcodec copy cover_art.mp3 | ||
</ | </ |