Skip to content

Instantly share code, notes, and snippets.

@seblavoie
Created August 23, 2016 02:49
Show Gist options
  • Save seblavoie/94375ce7308160b6fbd26126b772598e to your computer and use it in GitHub Desktop.
Save seblavoie/94375ce7308160b6fbd26126b772598e to your computer and use it in GitHub Desktop.
Cut a given sound file in small chunks. Very useful for audiobooks.
# 1. Install mp4box via homebrew (or howerver you want).
# 2. Make sure you have a m4a file. You can take any audio .mp4 and just change the extension.
# 3. Adjust the chunk length (300 seconds in this case) and run this:
mp4box -split 300 source-file.m4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment