Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

extracting audio from video files

 
kalle svensson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, salooners!

I am just wondering how to go about creating a tool that extracts audio data from videoclips like mp4's using java. I have browsed through
the Java sound api to get some inspiration, and Google's part, but has no redeeming name. Is there anyone who is or has been involved in a similar project?
Any tip, links or enlightening hints will be very much appreciated.

//kalle.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can use QuickTime for Java (which limits you to platforms supporting QuickTime: OS X and Windows), then it's pretty easy to save the audio as an AIFF or WAV file.

On OS X, you can add QuickTime support for other formats through Perian and Flip4Mac.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic