wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes extracting audio from video files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "extracting audio from video files" Watch "extracting audio from video files" New topic

extracting audio from video files

kalle svensson

Joined: Oct 05, 2009
Posts: 13
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.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41150
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.

Ping & DNS - my free Android networking tools app
It is sorta covered in the JavaRanch Style Guide.
subject: extracting audio from video files
Similar Threads
audio resources for Applet, alternatives to Jar?
Using Java to access Sound Card
Does JMF implement acoustic fingerprinting?
JMF / Java Sound and Sound Cards