Last active
June 22, 2018 12:23
-
-
Save k1000/240991374cb0f58ee052849184dbfe36 to your computer and use it in GitHub Desktop.
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
#FFmpeg | |
downsample many mp3 many files | |
for i in *.mp3; do ffmpeg -i "$i" -ac 1 -ab 64000 -ar 22050 "${i%.mp3}-64kbps.mp3"; done | |
#concat many files | |
ffmpeg -safe 0 -f concat -i <(find . -type f -name '*' -printf "file '$PWD/%p'\n" | sort) -c copy output.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment