Skip to content

Instantly share code, notes, and snippets.

View atomicpapa's full-sized avatar

Glenn Morrison atomicpapa

  • San Antonio, TX
View GitHub Profile
@atomicpapa
atomicpapa / mp3 to m4b.md
Created August 14, 2021 22:06 — forked from butuzov/mp3 to m4b.md
Convert mp3's to m4b using `ffmpeg`

Let's imagine we have a lot of mp3 files ( forexample one of the pluralsite courses converted to mp3 ).

URL=https://www.pluralsight.com/courses/run-effective-meetings
PASS=pass
USER=user
OUTPUT="%(playlist_index)s. %(title)s-%(id)s.%(ext)s"
youtube-dl --username $USER --password $PASS -o $OUTPUT --extract-audio --audio-format mp3 $URL