View Single Post
  #2  
Old 11-16-2010, 05:51 AM
Stream Recorder
 
Posts: n/a
Default

Re: How to cut 15 seconds of MP3 files from nested directories losslessly (linux/mp3s


-a allows to automatically adjusts the split points to occur during silences, which avoids splitting in the middle of a word. Note that the pieces will vary in their length then.

Code:
find ./ -name '*.mp3' -type f -exec mp3splt -a {} 00.15 EOF \;
-d subfolder_name - writes the split files to a sub-folder named subfolder_name. The folder will be created if it doesn't already exist.

Code:
find ./ -name '*.mp3' -type f -exec mp3splt -a -d split {} 00.15 EOF \;
-f - for MP3 files only, increases precision and is needed if the MP3 files are variable bit rate (VBR).


If all MP3 files reside in the same folder (without any nested subfolders) simply use
Code:
mp3splt -a -f -d split *.mp3 00.15 EOF
Reply With Quote