Help - Search - Members - Calendar
Full Version: automatic mp3 file splitting
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
SebastianG
Hi !

I just created a small tool for fun which can split long mp3 files in case they were created via
copy /b song1.mp3+song2.mp3+song3.mp3 alltogether.mp3
I'm not aware of any tool which can do this automatically. So, I wanted to share it with you in case of interest.

How does it work:
It tries to guess which mp3-frame is the first frame of a new file according to some
bit-reservoir usage statistics.

What's it for ?
For example: If you listen to / record a Last FM-Stream as one big mp3 file this tool can seperate all songs automatically. This works because this radio station does no on-the-fly-encoding. It streams pre-encoded files directly in 128 kbps by concatenation.

So, tell me.... If you are interested (it's written in Java) I could make it a bit more user friendly and release it to the public.

bye,
SebastianG
metaller
Don't you think it is a good idea to check for Info/Xing tags too wink.gif
SebastianG
QUOTE(metaller @ Jul 26 2004, 01:32 PM)
Don't you think it is a good idea to check for Info/Xing tags too wink.gif
*



Sure. Sounds plausible. Thanks for the comment!
Currently there's a very slim chance of missing a track boundary.
I'll probably add the info/xing-tag-check to further minimize
this probability.

bye,
Sebi
boojum
Sounds good to me! It always sounds good to the non-coders, of course. tongue.gif I appreciate the effort you are making. I coded for years and am used to users saying, "Yeah, I'd like that." without knowing what it entails. cool.gif
SebastianG
QUOTE(boojum @ Jul 26 2004, 02:22 PM)
Sounds good to me!  It always sounds good to the non-coders, of course.   tongue.gif   I appreciate the effort you are making.  I coded for years and am used to users saying, "Yeah, I'd like that." without knowing what it entails.   cool.gif
*



:-)

i've included the info/xing-tag-scanning. it works pretty well now.
so, if some of you listen to and record radio station streams that just concatenate pre-encoded mp3 files instead of encoding them on-the-fly and you want to split these songs automatically - let me know ...

bye,
Sebi
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.