Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to cut 15 seconds of MP3 files from nested directories losslessly (linux/mp3splt)Go to the folder where your MP3 files resides using cd command.
Then type the following in the terminal Code:
find ./ -name '*.mp3' -type f -exec mp3splt {} 00.15 EOF \; EOF - end of file For every "filename.mp3" file in the directory and all nested subdirectories, the command will create a new file with the following name "filename_00m_15s__XXm_XXs.mp3" and save it into the same directory where "filename.mp3" is located. |
#2
|
|||
|
|||
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 \; Code:
find ./ -name '*.mp3' -type f -exec mp3splt -a -d split {} 00.15 EOF \; 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 |
#3
|
|||
|
|||
Re: How to cut 15 seconds of MP3 files from nested directories losslessly (linux/mp3sNegative splitpoints have been added in the latest development version as, so now you can cut the last XX second of the file. Just use EOF-min.sec[.0-99].
The following example shows how to split the last 15 seconds from all .mp3 files in the directory and its nested subdirectories: Code:
find ./ -name '*.mp3' -type f -exec mp3splt {} 00.00 EOF-00.15 \; |
Tags: linux, mp3, mp3splt, split, split mp3 |
Thread Tools | |
Display Modes | |
|
|