-
-
Save uchagani/d202d914bb36fe655f005da7632cbccc to your computer and use it in GitHub Desktop.
batch convert files from (e.g.) m4b to mp3 with ffmpeg and avconv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Single: | |
avconv -acodec libmp3lame -i test.m4b test.mp3 | |
Batch: | |
for f in *m4b; do avconv -i "$f" -acodec libmp3lame ${f%.m4b}.mp3"; done | |
Single: | |
ffmpeg -i input.wav -codec:a libmp3lame -qscale:a 7 output.mp3 | |
Batch: | |
for f in *m4b; do ffmpeg -i "$f" -codec:a libmp3lame -qscale:a 7 "${f%.m4b}.mp3"; done | |
strip id3 tags: | |
apt install libid3-tools eyed3 | |
~# id3convert -s a.mp3 | |
~# eyeD3 --remove-v1 a.mp3 | |
~# eyeD3 --remove-lyrics a.mp3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment