Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

splitting mp3 file into pieces  RSS feed

 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,

i've never used sound/media related java solutions before.
i need to chop an mp3 file into several smaller mp3 files.
no gui is needed, i just need to create several small mp3 files of predefined time length or predefined size from a bigger source file.
each of the newly created files should stay a valid mp3 file, since they will be played separately, as stand alone files.

is there any ready api from sun or third party libs that do this job?

thanks!
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both JMF and Quicktime for Java can handle MP3 files. They're both linked in the http://faq.javaranch.com/java/OtherOpenSourceProjectsFaq
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ulf.
i've read somewhere that jmf doesn't support mp3 anymore due to some kind of licensing problems. i guess this was a wrong info.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!