Skip to content

Instantly share code, notes, and snippets.

View richtungspfeil's full-sized avatar

Alain Wohlfarth richtungspfeil

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