Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Media file management > Repairing, splitting and merging media files
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-21-2010, 06:46 AM
Stream Recorder
 
Posts: n/a
Default

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 \;
00.15 - 0 minutes and 15 seconds
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.
Reply With Quote
  #2  
Old 11-16-2010, 06: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
  #3  
Old 07-12-2011, 10:49 AM
Stream Recorder
 
Posts: n/a
Default

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


Negative 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 \;
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:22 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons