Skip to content

Instantly share code, notes, and snippets.

Avatar

Alain Wohlfarth richtungspfeil

View GitHub Profile
@richtungspfeil
richtungspfeil / batch-mp3.txt
Created Mar 28, 2021 — forked from theodric/batch-mp3.txt
batch convert files from (e.g.) m4b to mp3 with ffmpeg and avconv
View batch-mp3.txt
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:
View gist:54493ad37b83df132c15
Vielen Dank für dein Engagement und viel Kraft für die Zukunft!