Created
October 13, 2021 01:05
-
-
Save webdevsuperfast/d78c41359d2e49819b0f31fcd3860313 to your computer and use it in GitHub Desktop.
Rip Audio CDs with CDParanoia & FFMpeg
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
| #!/bin/sh | |
| cdparanoia -Q 2>&1 | | |
| grep "^ *[1-9]" | | |
| sed -e 's/^ *\|\..*//g' | | |
| while read t; do | |
| cdparanoia $t - | ffmpeg -i pipe: -c:a 128k -ar 44100 -ac 2 -y "rip $t.mp3"; | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment